diff --git a/configuration/azure-rtos.xml b/configuration/azure-rtos.xml index 004e75e..0a816ba 100644 --- a/configuration/azure-rtos.xml +++ b/configuration/azure-rtos.xml @@ -649,18 +649,33 @@ + RXC + ICCRX TargetBoardRX130 configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal_scfg.ftl + + GNURX + TargetBoardRX130 + configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal-GCC_scfg.ftl + RSKRX140 configuration/samples/minimal/rsk-rx140/RSK-RX140-minimal_scfg.ftl + RXC + ICCRX MCB-RX26T Type A MCB-RX26T Type B configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal_scfg.ftl + + GNURX + MCB-RX26T Type A + MCB-RX26T Type B + configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal-GCC_scfg.ftl + RSKRX65N-2MB RSKRX65N-2MB(TSIP) @@ -5096,12 +5111,12 @@ threadx/LICENSE.txt threadx/LICENSED-HARDWARE.txt threadx/SECURITY.md - configuration/samples/r01an6455ej0102-rx-azure-rtos.pdf + configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf . README.md - r01an6455ej0102-rx-azure-rtos.pdf + r01an6455ej0103-rx-azure-rtos.pdf diff --git a/configuration/samples/bare/README.md b/configuration/samples/bare/README.md index 927f09f..b9f6b4f 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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.1 of r01an6455ej0103-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 @@ -12,3 +12,26 @@ please refer to section 2.1 of r01an6455ej0102-rx-azure-rtos.pdf 1.3. 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 diff --git a/configuration/samples/boot_loader/README.md b/configuration/samples/boot_loader/README.md index 2c692a2..4f29eb4 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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.12 of r01an6455ej0103-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 @@ -30,7 +30,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -After the project generation is completed, please do the pin assignment check for SCI. +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. After the project generation is completed, please do the pin assignment check for SCI. In Smart Configurator editor (.scfg) - go to Pins tab - at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) diff --git a/configuration/samples/guix_8bpp/README.md b/configuration/samples/guix_8bpp/README.md index 67ee4b7..a65f664 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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.8 of r01an6455ej0103-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 @@ -30,15 +30,32 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -For GUIX 16bpp sample project only +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.1. If you are using e2 studio 2022-04 or earlier verion with GCC RX compiler, please take note on following issue. +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 -For this GUIX 16bpp sample project, RAM2 should be used for sections in src/linker_script.ld +2.3. If you are using e2 studio 2022-04 or earlier verion with GCC RX compiler, please take note on following issue. +For GUIX 16bpp sample project, RAM2 should be used for sections in src/linker_script.ld However, the section setting is changed to RAM in linker_script.ld when first build and after code generated. You can simply copy src/linker_script_sample.ld to src/linker_script.ld, and build project again -2.2. If you are using RX72N Envision Kit, the device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). +2.4. If you are using RX72N Envision Kit, the device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). However, when creating new project with old board version (v1.11 and older), the project is created with R5F572ND device (Flash memory 2MB). You can go to [Board] tab of Smart Configurator editor to check the correctness of the device. diff --git a/configuration/samples/iot_sdk/README.md b/configuration/samples/iot_sdk/README.md index b14d33b..77b1939 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.5 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0103-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 @@ -16,7 +16,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -2.1. After the project generation is completed, please do the pin assignment check for SCI. +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. After the project generation is completed, please do the pin assignment check for SCI. In Smart Configurator editor (.scfg) - go to Pins tab - at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) @@ -24,10 +44,3 @@ In Smart Configurator editor (.scfg) RXDx and TXDx should be used but the default setting could be SMISOx and SMOSIx This issue is fixed from e2 studio 2023-04 and Smart Configurator for RX 2.17. - -2.2. If you use sample project with EWF library (Preliminary version) and disable the debug log, -the sample program can not communicate with RYZ014A module. -For the details of issue and workaround, please refer to this link -https://github.com/Azure/embedded-wireless-framework/issues/16 - -The issue is fixed from software package v6.2.1_rel-rx-1.0.1 diff --git a/configuration/samples/iot_sdk/rsk-rx671/README.md b/configuration/samples/iot_sdk/rsk-rx671/README.md index 9af32ef..ccf3168 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.5 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0103-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 @@ -27,7 +27,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -If you are using e2 studio 2022-04/Smart Configurator 2.13.0 or earlier, +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 e2 studio 2022-04/Smart Configurator 2.13.0 or earlier, please do the following change on pin setting for SCI0 and SCI2. In Smart Configurator editor (.scfg) - go to Components tab diff --git a/configuration/samples/iot_sdk/rx72n-envision-kit/README.md b/configuration/samples/iot_sdk/rx72n-envision-kit/README.md index 48bf01a..c7e6354 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.5 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.6 of r01an6455ej0103-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 @@ -13,11 +13,30 @@ please refer to section 2.5 of r01an6455ej0102-rx-azure-rtos.pdf 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 The device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). +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. The device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). However, when creating new project with old board version (v1.11 and older), the project is created with R5F572ND device (Flash memory 2MB). You can go to [Board] tab of Smart Configurator editor to check the correctness of the device. @@ -26,7 +45,7 @@ to quickly go to Change Device dialog and change target device to R5F572NN. This issue is fixed from board version v1.12. -2.2. After the project generation is completed, please do the pin assignment check for SCI. +2.4. After the project generation is completed, please do the pin assignment check for SCI. In Smart Configurator editor (.scfg) - go to Pins tab - at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) diff --git a/configuration/samples/iot_sdk_pnp/README.md b/configuration/samples/iot_sdk_pnp/README.md index 803e48a..f01e3f6 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.6 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0103-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 @@ -16,7 +16,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -2.1. After the project generation is completed, please do the pin assignment check for SCI. +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. After the project generation is completed, please do the pin assignment check for SCI. In Smart Configurator editor (.scfg) - go to Pins tab - at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) @@ -24,10 +44,3 @@ In Smart Configurator editor (.scfg) RXDx and TXDx should be used but the default setting could be SMISOx and SMOSIx This issue is fixed from e2 studio 2023-04 and Smart Configurator for RX 2.17. - -2.2. If you use sample project with EWF library (Preliminary version) and disable the debug log, -the sample program can not communicate with RYZ014A module. -For the details of issue and workaround, please refer to this link -https://github.com/Azure/embedded-wireless-framework/issues/16 - -The issue is fixed from software package v6.2.1_rel-rx-1.0.1 diff --git a/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md b/configuration/samples/iot_sdk_pnp/rsk-rx671/README.md index 2b15a82..99264d6 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.6 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0103-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 @@ -23,11 +23,30 @@ please refer to section 2.6 of r01an6455ej0102-rx-azure-rtos.pdf 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 ------------------------ -If you are using e2 studio 2022-04/Smart Configurator 2.13.0 or earlier, +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 e2 studio 2022-04/Smart Configurator 2.13.0 or earlier, please do the following change on pin setting for SCI0 and SCI2. In Smart Configurator editor (.scfg) - go to Components tab 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 0d98ee8..daabb58 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.6 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.7 of r01an6455ej0103-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 @@ -13,15 +13,41 @@ please refer to section 2.6 of r01an6455ej0102-rx-azure-rtos.pdf 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 ------------------------ -The device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). +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. The device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). However, when creating new project with old board version (v1.11 and older), the project is created with R5F572ND device (Flash memory 2MB). You can go to [Board] tab of Smart Configurator editor to check the correctness of the device. In case the device is R5F572ND, at Board tab, you can click [...] button behind the Board combo-box to quickly go to Change Device dialog and change target device to R5F572NN. -This issue is fixed from board version v1.12. \ No newline at end of file +This issue is fixed from board version v1.12. + +2.4. After the project generation is completed, please do the pin assignment check for SCI. +In Smart Configurator editor (.scfg) +- go to Pins tab +- at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) +- on the right panel, check and change the pin function if it is incorrect: + RXDx and TXDx should be used but the default setting could be SMISOx and SMOSIx diff --git a/configuration/samples/iperf/README.md b/configuration/samples/iperf/README.md index a78e79e..e20c31f 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.4 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.5 of r01an6455ej0103-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 @@ -13,9 +13,28 @@ please refer to section 2.4 of r01an6455ej0102-rx-azure-rtos.pdf 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 ------------------------ -Current Iperf sample project does not work well with JPerf. -We will improve the sample at next version. \ No newline at end of file +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. Current Iperf sample project does not work well with JPerf. +We will improve the sample at next version. diff --git a/configuration/samples/low_power/README.md b/configuration/samples/low_power/README.md index deac329..cec368c 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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.11 of r01an6455ej0103-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 @@ -12,3 +12,26 @@ please refer to section 2.11 of r01an6455ej0102-rx-azure-rtos.pdf 1.3. 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 diff --git a/configuration/samples/minimal/README.md b/configuration/samples/minimal/README.md index 9f5e664..c6be134 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.x of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.2 of r01an6455ej0103-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 @@ -12,3 +12,33 @@ please refer to section 2.x of r01an6455ej0102-rx-azure-rtos.pdf 1.3. 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 RX72N Envision Kit, after the project generation is completed, please do the pin assignment check for SCI. +In Smart Configurator editor (.scfg) +- go to Pins tab +- at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) +- on the right panel, check and change the pin function if it is incorrect: + RXDx and TXDx should be used but the default setting could be SMISOx and SMOSIx \ No newline at end of file diff --git a/configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal-GCC_scfg.ftl b/configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal-GCC_scfg.ftl new file mode 100644 index 0000000..412b83e --- /dev/null +++ b/configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal-GCC_scfg.ftl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal-GCC_scfg.ftl b/configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal-GCC_scfg.ftl new file mode 100644 index 0000000..412b83e --- /dev/null +++ b/configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal-GCC_scfg.ftl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configuration/samples/ping/README.md b/configuration/samples/ping/README.md index ce5b879..c6b50b2 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.3 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.4 of r01an6455ej0103-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 @@ -16,7 +16,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -2.1. After the project generation is completed, please do the pin assignment check for SCI. +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. After the project generation is completed, please do the pin assignment check for SCI. In Smart Configurator editor (.scfg) - go to Pins tab - at Pin Function, select SCI channel being used on the left panel (channel with opened blue box) @@ -25,7 +45,7 @@ In Smart Configurator editor (.scfg) This issue is fixed from e2 studio 2023-04 and Smart Configurator for RX 2.17. -2.2. When you use RX65N Cloud Kit or RSK RX671 with IAR EW, +2.4. When you use RX65N Cloud Kit or RSK RX671 with IAR EW, if you see build error related to duplicate symbol "_nxde_dns_host_by_name_get", please open libs\netxduo_addons\addons\dns\nxd_dns.c and comment out _nxde_dns_host_by_name_get function. diff --git a/configuration/samples/ping/rsk-rx671/README.md b/configuration/samples/ping/rsk-rx671/README.md index 7f46095..e75adf9 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.3 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.4 of r01an6455ej0103-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 @@ -22,3 +22,26 @@ please refer to section 2.3 of r01an6455ej0102-rx-azure-rtos.pdf 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 diff --git a/configuration/samples/r01an6455ej0102-rx-azure-rtos.pdf b/configuration/samples/r01an6455ej0102-rx-azure-rtos.pdf deleted file mode 100644 index f9577e4..0000000 Binary files a/configuration/samples/r01an6455ej0102-rx-azure-rtos.pdf and /dev/null differ diff --git a/configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf b/configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf new file mode 100644 index 0000000..a5d84f2 Binary files /dev/null and b/configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf differ diff --git a/configuration/samples/ramdisk/README.md b/configuration/samples/ramdisk/README.md index 185cad8..9feda79 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.2 of r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.3 of r01an6455ej0103-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 @@ -13,19 +13,16 @@ please refer to section 2.2 of r01an6455ej0102-rx-azure-rtos.pdf 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 ------------------------ -For RX130 Target Board, RSK RX140, and RX72N Envision Kit - -2.1. If you are using e2 studio 2022-04 or earlier version with GCC RX compiler, -please take note on the following 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 -The "_end" section in src/linker_script.ld should be at the end. -However, the section order in linker_script.ld is changed when first build and after code generated. -You can simply copy src/linker_script_sample.ld to current src/linker_script.ld, and build project again. -Or you can open linker_script.ld and move the below section to the end, and build project again +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 = .; @@ -39,7 +36,7 @@ Or you can open linker_script.ld and move the below section to the end, and buil _end = .; } > RAM -2.2. If you are using RX72N Envision Kit, the device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). +2.3. If you are using RX72N Envision Kit, the device on RX72N Envision Kit is R5F572NN (Flash memory 4MB). However, when creating new project with old board version (v1.11 and older), the project is created with R5F572ND device (Flash memory 2MB). You can go to [Board] tab of Smart Configurator editor to check the correctness of the device. diff --git a/configuration/samples/usbx_device_cdc_acm/README.md b/configuration/samples/usbx_device_cdc_acm/README.md index 9f950be..e8124ab 100644 --- a/configuration/samples/usbx_device_cdc_acm/README.md +++ b/configuration/samples/usbx_device_cdc_acm/README.md @@ -1,9 +1,11 @@ USBX device CDC-ACM Class sample project ======================================== +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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.9 of r01an6455ej0103-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 @@ -14,6 +16,28 @@ 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. +Caution / Known Issue +--------------------- +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 + +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 + Changes of sample project ========================= diff --git a/configuration/samples/usbx_hmsc/README.md b/configuration/samples/usbx_hmsc/README.md index 1089826..05fd724 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 r01an6455ej0102-rx-azure-rtos.pdf +please refer to section 2.10 of r01an6455ej0103-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 @@ -16,7 +16,27 @@ For example, if you create project with C++ option and CC-RX compiler, you will ------------------------ 2. Caution / Known Issue ------------------------ -If you are using RSK board (RSK RX65N, RSK RX671), please do the pin assignment check for USB0_VBUSEN. +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