diff --git a/configuration/azure-rtos.xml b/configuration/azure-rtos.xml index 61a8a4f..dc1948b 100644 --- a/configuration/azure-rtos.xml +++ b/configuration/azure-rtos.xml @@ -4138,7 +4138,7 @@ src/smc_gen - configuration/samples/usbx_hmsc/README.md + configuration/samples/usbx_hcdc/README.md . @@ -6258,12 +6258,12 @@ threadx/LICENSE.txt threadx/LICENSED-HARDWARE.txt threadx/SECURITY.md - configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf + configuration/samples/r01an6455ej0200-rx-azure-rtos.pdf . README.md - r01an6455ej0103-rx-azure-rtos.pdf + r01an6455ej0200-rx-azure-rtos.pdf diff --git a/configuration/samples/bare/README.md b/configuration/samples/bare/README.md index c5b4fa5..afc442c 100644 --- a/configuration/samples/bare/README.md +++ b/configuration/samples/bare/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.1 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.1 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/boot_loader/README.md b/configuration/samples/boot_loader/README.md index 663c945..907312a 100644 --- a/configuration/samples/boot_loader/README.md +++ b/configuration/samples/boot_loader/README.md @@ -15,7 +15,7 @@ After device is changed, compiler setting is reset, please Copy and replace conent of linker_script_sample.ld for current linker_script.ld under src folder of current project 1.2. For more information about how to use this sample project, -please refer to section 2.12 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.13 of r01an6455ej0200-rx-azure-rtos.pdf 1.3. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/guix_8bpp/README.md b/configuration/samples/guix_8bpp/README.md index 7398d09..04376d0 100644 --- a/configuration/samples/guix_8bpp/README.md +++ b/configuration/samples/guix_8bpp/README.md @@ -15,7 +15,7 @@ https://docs.microsoft.com/azure/rtos/guix/about-guix 1.2. For more information about how to use this sample project, -please refer to section 2.8 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.8 of r01an6455ej0200-rx-azure-rtos.pdf 1.3. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk/README.md b/configuration/samples/iot_sdk/README.md index 8cec3b7..7a5952d 100644 --- a/configuration/samples/iot_sdk/README.md +++ b/configuration/samples/iot_sdk/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.6 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk/rsk-rx671/README.md b/configuration/samples/iot_sdk/rsk-rx671/README.md index d551aac..7600e4e 100644 --- a/configuration/samples/iot_sdk/rsk-rx671/README.md +++ b/configuration/samples/iot_sdk/rsk-rx671/README.md @@ -12,7 +12,7 @@ To use PMOD2, following modifications are required - P52: J19 jumper header pin mounting (J19 Pin1-2 short), R225 removal 1.2. For more information about how to use this sample project, -please refer to section 2.6 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0200-rx-azure-rtos.pdf 1.3. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk/rx72n-envision-kit/README.md b/configuration/samples/iot_sdk/rx72n-envision-kit/README.md index 228b858..0deed88 100644 --- a/configuration/samples/iot_sdk/rx72n-envision-kit/README.md +++ b/configuration/samples/iot_sdk/rx72n-envision-kit/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.6 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk_pnp/README.md b/configuration/samples/iot_sdk_pnp/README.md index db0ac0a..508659f 100644 --- a/configuration/samples/iot_sdk_pnp/README.md +++ b/configuration/samples/iot_sdk_pnp/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.7 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md b/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md index 270da20..608285c 100644 --- a/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md +++ b/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md @@ -12,7 +12,7 @@ To use PMOD2, following modifications are required - P52: J19 jumper header pin mounting (J19 Pin1-2 short), R225 removal 1.2. For more information about how to use this sample project, -please refer to section 2.7 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0200-rx-azure-rtos.pdf 1.3. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iot_sdk_pnp/rx72n-envision-kit/README.md b/configuration/samples/iot_sdk_pnp/rx72n-envision-kit/README.md index d5a6318..e72150c 100644 --- a/configuration/samples/iot_sdk_pnp/rx72n-envision-kit/README.md +++ b/configuration/samples/iot_sdk_pnp/rx72n-envision-kit/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.7 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/iperf/README.md b/configuration/samples/iperf/README.md index f7a5cab..d71f1ed 100644 --- a/configuration/samples/iperf/README.md +++ b/configuration/samples/iperf/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.5 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.5 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/low_power/README.md b/configuration/samples/low_power/README.md index 2646382..e23b3f6 100644 --- a/configuration/samples/low_power/README.md +++ b/configuration/samples/low_power/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.11 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.12 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/minimal/README.md b/configuration/samples/minimal/README.md index eee749e..1365ebe 100644 --- a/configuration/samples/minimal/README.md +++ b/configuration/samples/minimal/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.2 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.2 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/ping/README.md b/configuration/samples/ping/README.md index 971337c..94edf2a 100644 --- a/configuration/samples/ping/README.md +++ b/configuration/samples/ping/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.4 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.4 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/ping/rsk-rx671/README.md b/configuration/samples/ping/rsk-rx671/README.md index 138d3d1..6037572 100644 --- a/configuration/samples/ping/rsk-rx671/README.md +++ b/configuration/samples/ping/rsk-rx671/README.md @@ -12,7 +12,7 @@ To use PMOD2, following modifications are required - P52: J19 jumper header pin mounting (J19 Pin1-2 short), R225 removal 1.2. For more information about how to use this sample project, -please refer to section 2.4 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.4 of r01an6455ej0200-rx-azure-rtos.pdf 1.3. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf b/configuration/samples/r01an6455ej0200-rx-azure-rtos.pdf similarity index 82% rename from configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf rename to configuration/samples/r01an6455ej0200-rx-azure-rtos.pdf index a5d84f2..7709c33 100644 Binary files a/configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf and b/configuration/samples/r01an6455ej0200-rx-azure-rtos.pdf differ diff --git a/configuration/samples/ramdisk/README.md b/configuration/samples/ramdisk/README.md index 2e46df0..fcb866e 100644 --- a/configuration/samples/ramdisk/README.md +++ b/configuration/samples/ramdisk/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.3 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.3 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/usbx_device_cdc_acm/README.md b/configuration/samples/usbx_device_cdc_acm/README.md index 5526a10..f89b99b 100644 --- a/configuration/samples/usbx_device_cdc_acm/README.md +++ b/configuration/samples/usbx_device_cdc_acm/README.md @@ -5,7 +5,7 @@ Usage Notes This demonstration illustrates the setup and use of USBX device CDC-ACM Class to communicate with the host as a serial device. For more information about how to use this sample project, -please refer to section 2.9 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.9 of r01an6455ej0200-rx-azure-rtos.pdf To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project diff --git a/configuration/samples/usbx_hcdc/README.md b/configuration/samples/usbx_hcdc/README.md new file mode 100644 index 0000000..af0934d --- /dev/null +++ b/configuration/samples/usbx_hcdc/README.md @@ -0,0 +1,60 @@ +--------------- +1. Usage Notes +--------------- +1.1. This sample project requires r_usb_basic v1.42 and r_usb_hcdc v1.42 as minimum version. +After project generation, please confirm it as following steps: + In Smart Configurator editor, go to Components tab + - If you see r_usb_basic and r_usb_hcdc configuration are blue and can see its settings, + it is okay, you don't need to do anything. + - If you see r_usb_basic and r_usb_hcdc configuration are grey off, + you can select grey component and click on the link to download missing module. + After downloading completed, click Generate Code button to generate code for it. + +1.2. For more information about how to use this sample project, +please refer to section 2.11 of r01an6455ej0200-rx-azure-rtos.pdf + +1.3. To keep 8 bytes size for double type + "-dbl_size=8" compiler build option is set as default for CC-RX project + Size of type 'double' is set to "64 bits" as default for IAR project + "-m64bit-doubles" build option is set as default for GCC project + +1.4. Please also take note that the sample project is verified with C project. +If you create new project with C++ option, please confirm its behavior by yourself. +For example, if you create project with C++ option and CC-RX compiler, you will need to add abort() function manually. + +------------------------ +2. Caution / Known Issue +------------------------ +2.1. When using GCC compiler, in case you set Optimization level as Optimize size(-Os), please set the linker option not to remove unused sections as following +- in Project Explorer view, right-click on the project and select Properties +- on Properties dialog select C/C++ Build -> Settings -> Tool Settings tab -> Linker -> Other +- add "-Wl,--no-gc-sections" on User defined options +- click Apply and Close" button + +2.2. When using GCC compiler, the "_end" section in src/linker_script.ld should be at the end. However, the default linker script may not meet this order, so please check linker_script.ld and move the section below to the end if needed, and build project again +.bss : +{ + _bss = .; + *(.bss) + *(.bss.**) + *(COMMON) + *(B) + *(B_1) + *(B_2) + _ebss = .; + _end = .; +} > RAM + +2.3. If you are using RSK board (RSK RX65N, RSK RX671), please do the pin assignment check for USB0_VBUSEN. +In Smart Configurator editor (.scfg) +- go to Pins tab +- at Pin Function, select USB0 on the left panel +- on the right panel, check and change USB0_VBUSEN pin number if it is incorrect (there is a warning icon) + +This issue will be fixed at that next update of RSK board description file. + +2.4 When using RX microcontrollers with DPFPU +Target projects (RX72N, RX671): +- Projects with the double precision floating point instruction generation option (CC-RX: -dpfpu, GCC: --mdfpu=64, IAR: --fpu=64) enabled on RXv3 core devices +Workaround: +- Call tx_thread_fpu_enable() at the beginning of every task. \ No newline at end of file diff --git a/configuration/samples/usbx_hmsc/README.md b/configuration/samples/usbx_hmsc/README.md index dd60711..3e76580 100644 --- a/configuration/samples/usbx_hmsc/README.md +++ b/configuration/samples/usbx_hmsc/README.md @@ -2,7 +2,7 @@ 1. Usage Notes --------------- 1.1. For more information about how to use this sample project, -please refer to section 2.10 of r01an6455ej0103-rx-azure-rtos.pdf +please refer to section 2.10 of r01an6455ej0200-rx-azure-rtos.pdf 1.2. To keep 8 bytes size for double type "-dbl_size=8" compiler build option is set as default for CC-RX project