Skip to content

Commit

Permalink
Merge pull request #44 from nam-ng/6.2.1-rx-1.1.0-final
Browse files Browse the repository at this point in the history
Update for v6.2.1_rel-rx-1.1.0 final
  • Loading branch information
TatsuyaOgawanx authored Jul 27, 2023
2 parents c830f47 + cbd28f0 commit 8ee2d64
Show file tree
Hide file tree
Showing 22 changed files with 522 additions and 65 deletions.
19 changes: 17 additions & 2 deletions configuration/azure-rtos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -649,18 +649,33 @@
</incdir>
<!-- scfg template -->
<scfgtemplate>
<toolchain>RXC</toolchain>
<toolchain>ICCRX</toolchain>
<board>TargetBoardRX130</board>
<path>configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal_scfg.ftl</path>
</scfgtemplate>
<scfgtemplate>
<toolchain>GNURX</toolchain>
<board>TargetBoardRX130</board>
<path>configuration/samples/minimal/targetboard-rx130/TB-RX130-minimal-GCC_scfg.ftl</path>
</scfgtemplate>
<scfgtemplate>
<board>RSKRX140</board>
<path>configuration/samples/minimal/rsk-rx140/RSK-RX140-minimal_scfg.ftl</path>
</scfgtemplate>
<scfgtemplate>
<toolchain>RXC</toolchain>
<toolchain>ICCRX</toolchain>
<board>MCB-RX26T Type A</board>
<board>MCB-RX26T Type B</board>
<path>configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal_scfg.ftl</path>
</scfgtemplate>
<scfgtemplate>
<toolchain>GNURX</toolchain>
<board>MCB-RX26T Type A</board>
<board>MCB-RX26T Type B</board>
<path>configuration/samples/minimal/mcb-rx26t/MCB-RX26T-minimal-GCC_scfg.ftl</path>
</scfgtemplate>
<scfgtemplate>
<board>RSKRX65N-2MB</board>
<board>RSKRX65N-2MB(TSIP)</board>
Expand Down Expand Up @@ -5096,12 +5111,12 @@
<file>threadx/LICENSE.txt</file>
<file>threadx/LICENSED-HARDWARE.txt</file>
<file>threadx/SECURITY.md</file>
<file>configuration/samples/r01an6455ej0102-rx-azure-rtos.pdf</file>
<file>configuration/samples/r01an6455ej0103-rx-azure-rtos.pdf</file>
<path>.</path>
</impdir>
<openfile>
<path>README.md</path>
<path>r01an6455ej0102-rx-azure-rtos.pdf</path>
<path>r01an6455ej0103-rx-azure-rtos.pdf</path>
</openfile>
<!-- Update ewp file for IAR project setting -->
<sourceedit>
Expand Down
25 changes: 24 additions & 1 deletion configuration/samples/bare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
24 changes: 22 additions & 2 deletions configuration/samples/boot_loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 (<projectname>.scfg)
- go to Pins tab
- at Pin Function, select SCI channel being used on the left panel (channel with opened blue box)
Expand Down
27 changes: 22 additions & 5 deletions configuration/samples/guix_8bpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
31 changes: 22 additions & 9 deletions configuration/samples/iot_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,18 +16,31 @@ 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 (<projectname>.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

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
24 changes: 22 additions & 2 deletions configuration/samples/iot_sdk/rsk-rx671/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 (<projectname>.scfg)
- go to Components tab
Expand Down
27 changes: 23 additions & 4 deletions configuration/samples/iot_sdk/rx72n-envision-kit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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 (<projectname>.scfg)
- go to Pins tab
- at Pin Function, select SCI channel being used on the left panel (channel with opened blue box)
Expand Down
31 changes: 22 additions & 9 deletions configuration/samples/iot_sdk_pnp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,18 +16,31 @@ 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 (<projectname>.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

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
25 changes: 22 additions & 3 deletions configuration/samples/iot_sdk_pnp/rsk-rx671/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 (<projectname>.scfg)
- go to Components tab
Expand Down
Loading

0 comments on commit 8ee2d64

Please sign in to comment.