Skip to content

Commit

Permalink
Example Projects on RA/FSP
Browse files Browse the repository at this point in the history
  • Loading branch information
ra-fsp-systems committed Oct 14, 2024
1 parent 2482a95 commit 5e0b349
Show file tree
Hide file tree
Showing 826 changed files with 176,373 additions and 115,537 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ EK-RA4M2, EK-RA4M3.


### Software ###
* Renesas Flexible Software Package (FSP)
* Renesas Flexible Software Package (FSP): Version 5.5.0
* e2 studio: Version 2024-07
* SEGGER J-Link RTT Viewer: Version 7.98b
* GCC ARM Embedded Toolchain: Version 13.2.1.arm-13-7
* Terminal Console Application: Tera Term or a similar application (for boards that support J-Link OB VCOM)
* Terminal Console Application: Tera Term or a similar application

Refer to the software required section in [Example Project Usage Guide](https://github.com/renesas/ra-fsp-examples/blob/master/example_projects/Example%20Project%20Usage%20Guide.pdf)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
- To utilize the SEGGER J-Link RTT Viewer instead of the Serial Terminal, please follow the instructions
in FileX_block_media_sram_notes.md file.

2. Software:
Renesas Flexible Software Package (FSP)
2. Software Requirements:
Renesas Flexible Software Package (FSP): Version 5.5.0
e2 studio: Version 2024-07
SEGGER J-Link RTT Viewer: Version 7.98b
GCC ARM Embedded Toolchain: Version 13.2.1.arm-13-7
Terminal Console Application: Tera Term or a similar application (for boards that support J-Link OB VCOM)

Terminal Console Application: Tera Term or a similar application
3. Hardware Requirements:
Supported RA boards: EK-RA8M1, MCK-RA8T1, EK-RA8D1, EK-RA6M3G, EK-RA6M3, CK-RA6M5, EK-RA6M5, EK-RA6M2, EK-RA6M4, EK-RA6M1,
FPB-RA6E1, FPB-RA4E1, EK-RA4M2, EK-RA4M3.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To build and run the SCI I2C example project, the following resources are needed
Refer to [readme.txt](./readme.txt) for information on how to connect the hardware.

### Software ###
* Renesas Flexible Software Package (FSP)
* Renesas Flexible Software Package (FSP): Version 5.5.0
* e2 studio: Version 2024-07
* SEGGER J-Link RTT Viewer: Version 7.98b
* GCC ARM Embedded Toolchain: Version 13.2.1.arm-13-7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#
#Sun Aug 25 00:47:44 UTC 2024
#Sun Sep 08 06:59:51 ICT 2024
activeConfiguration=com.renesas.cdt.managedbuild.gnuarm.config.elf.debug.1689669267
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="423886094016136236" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1572783779535556394" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand All @@ -16,7 +16,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="423886094016136236" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1572783779535556394" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
:10024000CDBF00BF000000007C000020642A000039
:100250002DE9F041D0E902850446A8EB0507406886
:1002600097422844154408D80E463A46A5EB08059F
:1002700001F0D2FD2A466068F11901F0CDFDBFF30F
:1002700001F068FE2A466068F11901F063FEBFF3E1
:100280005F8FE560BDE8F0812DE9F8434FF000098C
:10029000064688461746D0E902243369151B9C425E
:1002A00003F1FF3125BF03F1FF339B180B1B1B1B11
:1002B000BD4228BF3D469D4228BF1D46706841464D
:1002C0002A46204401F0A8FDB2682C44A24208BF8F
:1002C0002A46204401F03EFEB2682C44A24208BFF8
:1002D0000024A944A8447F1BBFF35F8FF460002F64
:1002E000DBD14846BDE8F883F8B5164CA8220021BA
:1002F000204601F0B1FD4FF4806600230321102059
:1002F000204601F019FE4FF48066002303211020F0
:10030000114A124F124D21616161A261E7612662BB
:10031000A3626362E36222666566A0662367E366A2
:100320006367BFF35F8F0B4B9C46A3F11000ACEBF0
Expand Down Expand Up @@ -181,7 +181,7 @@
:100B400008B9204610BD064B064A07490020FFF7AA
:100B5000C9FE204610BD00BF842500005C050020B2
:100B6000A8230000642500001823000070B5054686
:100B700001F05FF902460026144C29461448D2B20F
:100B700001F0F5F902460026144C29461448D2B279
:100B8000267000F049F90546A8B9124B04E0013B74
:100B900019D02278782A04D02278022AF7D1284660
:100BA00070BD4FF496750C4B0C4A0D490020FFF7B1
Expand All @@ -190,10 +190,10 @@
:100BD0005C050020FCFF0300F82300005025000006
:100BE00018230000D02300002DE9F041012682B037
:100BF0002C4D2D4C8DF803602B78002BFCD000235E
:100C000020462B70019301F014F978B1264A204454
:100C000020462B70019301F0AAF978B1264A2044BE
:100C100003E082428DF8036008D012F8013B303BBC
:100C2000092BF6D9002323608DF80330204601F00C
:100C300008F90190019B642B01D8019B53B94FF037
:100C3000F3F80190019B642B01D8019B53B94FF04D
:100C400000081A48C4F800808DF80380FFF78EFF73
:100C50000746B0B99DF80330002BCDD00121019893
:100C6000FFF734FF0746B0B9114827608DF80370CD
Expand Down Expand Up @@ -304,7 +304,7 @@
:1012F00052F82340A27802F00303022B236A0CBFAA
:10130000198A5979A3690CBFC1F30801C9B20191C7
:1013100043B9636AB3B10422204602B0BDE810406D
:10132000FFF79EBD02F0030201A9606900F074FDA1
:10132000FFF79EBD02F0030201A9606900F00AFE0A
:10133000D4E90521A37803F003031A44C91AC4E9C8
:10134000052109B102B010BD636A002BFAD0012259
:10135000E2E700BF00600040F005002010B5EFF3A9
Expand Down Expand Up @@ -468,8 +468,8 @@
:101D300007F8FEE74FF4700270B52B4B2B4CC3F83D
:101D4000882000209C60FEF781FEFFF787FE0120BF
:101D5000FEF77CFE2368A3F5806383F30A8824489A
:101D6000244A0021121A00F077F82348234A244914
:101D7000121A00F051F8234D234B5B1B002B07DD9B
:101D6000244A0021121A00F0DFF82348234A2449AC
:101D7000121A00F0E7F8234D234B5B1B002B07DD05
:101D800000249E1055F8043B01349847A642F9DC24
:101D9000FFF750FEFFF7E0FE0320FFF799FF002357
:101DA0004FF6FF70194903F1080201330C2B21F89B
Expand All @@ -479,28 +479,28 @@
:101DE000704000F017B800BF00ED00E000000000F8
:101DF00078000020B4080020000000205C000020D3
:101E0000902A00005400002058000020000D0840D7
:101E100000000E40704700BF0A44431E914200D1AB
:101E2000704710B511F8014B914203F8014FF9D1F9
:101E300010BD034613F8012B002AFBD1181A0138F4
:101E400070470A22002100F089B8FFFF014B186893
:101E5000704700BF0400002002440346934200D1B3
:101E6000704703F8011BF9E7242B2DE9F04786465C
:101E7000904601D8012B06D1FFF7E8FF1623036037
:101E80000020BDE8F0870D4633482A4615F8014B7F
:101E9000065D16F00806F8D12D2C10D12C780126FD
:101EA000951C33F0100215D1302C0DD12A7802F098
:101EB000DF02582A08D16C78023510230AE02B2C57
:101EC00004BF2C78951CECE7002BF6D1302C14BF06
:101ED0000A23082306F1004C00220CF1FF3C1046B7
:101EE000BCFBF3F903FB19CAA4F13007092F0FD883
:101EF0003C46A3421BDD571C07D0814514D301D1BA
:101F0000A24511DB00FB0340012215F8014BEBE772
:101F1000A4F14107192F01D8373CEAE7A4F1610782
:101F2000192F04D8573CE4E74FF0FF32EDE7531C7C
:101F300008D122236046CEF80030B8F1000FA0D0BF
:101F4000691E06E006B14042B8F1000F99D0002AA0
:101F5000F6D1C8F8001094E76129000013460A463C
:101F6000014602480068FFF77FBF00BF0400002061
:101E100000000E40704700BF0A22002100F07AB88F
:101E2000242B2DE9F0478646904601D8012B06D198
:101E300000F082F8162303600020BDE8F0870D460D
:101E400033482A4615F8014B065D16F00806F8D10E
:101E50002D2C10D12C780126951C33F0100215D1B1
:101E6000302C0DD12A7802F0DF02582A08D16C7884
:101E7000023510230AE02B2C04BF2C78951CECE7CC
:101E8000002BF6D1302C14BF0A23082306F1004C96
:101E900000220CF1FF3C1046BCFBF3F903FB19CA0E
:101EA000A4F13007092F0FD83C46A3421BDD571C75
:101EB00007D0814514D301D1A24511DB00FB0340BB
:101EC000012215F8014BEBE7A4F14107192F01D8C6
:101ED000373CEAE7A4F16107192F04D8573CE4E73F
:101EE0004FF0FF32EDE7531C08D122236046CEF8B5
:101EF0000030B8F1000FA0D0691E06E006B14042E4
:101F0000B8F1000F99D0002AF6D1C8F8001094E774
:101F10006129000013460A46014602480068FFF79F
:101F20007FBF00BF0400002002440346934200D15B
:101F3000704703F8011BF9E7014B1868704700BFB1
:101F4000040000200A44431E914200D1704710B59E
:101F500011F8014B914203F8014FF9D110BD03462E
:101F600013F8012B002AFBD1181A01387047FFFF24
:101F70004275696C7420776974682052656E657368
:101F8000617320416476616E63656420466C657898
:101F900069626C6520536F66747761726520506169
Expand Down Expand Up @@ -678,7 +678,7 @@
:102A50000000000000000000000000000000000076
:102A600000FFFFFF1000000000000000017A52008C
:102A7000027C0E011B0C0D0010000000180000006D
:102A8000B2F3FFFF10000000000000000000000093
:102A8000DEF4FFFF10000000000000000000000066
:102A9000440026B808000020000000007C07002049
:102AA000E40700204C0800200000000000000000A7
:102AB0000000000000000000000000000000000016
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
/* SEGGER RTT and error related headers */
#include "SEGGER_RTT/SEGGER_RTT.h"

/* SEGGER RTT disabling macro */
#define DISABLE_APP_PRINT (0)
#define DISABLE_APP_ERR_PRINT (0)
#define DISABLE_APP_ERR_TRAP (0)
#define DISABLE_APP_READ (0)
#define DISABLE_APP_CHECK_DATA (0)


#define BIT_SHIFT_8 (8u)
#define SIZE_64 (64u)
Expand Down Expand Up @@ -52,5 +59,30 @@

#define APP_CHECK_DATA SEGGER_RTT_HasKey()

/* Conditional disabling logic */
#if defined(APP_PRINT) && (DISABLE_APP_PRINT == 1)
#undef APP_PRINT
#define APP_PRINT(fn_, ...)
#endif

#if defined(APP_ERR_PRINT) && (DISABLE_APP_ERR_PRINT == 1)
#undef APP_ERR_PRINT
#define APP_ERR_PRINT(fn_, ...)
#endif

#if defined(APP_ERR_TRAP) && (DISABLE_APP_ERR_TRAP == 1)
#undef APP_ERR_TRAP
#define APP_ERR_TRAP(err)
#endif

#if defined(APP_READ) && (DISABLE_APP_READ == 1)
#undef APP_READ
#define APP_READ(read_data)
#endif

#if defined(APP_CHECK_DATA) && (DISABLE_APP_CHECK_DATA == 1)
#undef APP_CHECK_DATA
#define APP_CHECK_DATA (0)
#endif

#endif /* COMMON_UTILS_H_ */
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,15 @@
2)TXD MOSI P411 --------> RXD Pin of USB-UART
3)Common GND


Note:
Users can disable SEGGER RTT features by changing the values of the following macros to 1:
DISABLE_APP_PRINT
DISABLE_APP_ERR_PRINT
DISABLE_APP_ERR_TRAP
DISABLE_APP_READ
DISABLE_APP_CHECK_DATA
These macros are defined in common_utils.h, Please note that disabling part of the application may break its functionality

1) Segger RTT block address may needed to download and observe EP operation using a hex file with RTT-Viewer.
RTT Block address for hex file committed in repository are as follows:
a. e2studio: 0x200004a4
Expand Down
2 changes: 1 addition & 1 deletion example_projects/ek_ra2a1/lpm/lpm_ek_ra2a1_ep/lpm_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To build and run the LPM example project, the following resources are needed.
Refer to [readme.txt](./readme.txt) for information on how to connect the hardware.

### Software ###
* Renesas Flexible Software Package (FSP)
* Renesas Flexible Software Package (FSP): Version 5.5.0
* e2 studio: Version 2024-07
* GCC ARM Embedded Toolchain: Version 13.2.1.arm-13-7
* Terminal Console Application: Tera Term or a similar application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#
#Sun Aug 25 01:24:40 UTC 2024
#Sun Sep 08 07:00:58 ICT 2024
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="346273545054675151" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1531762689154500379" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand All @@ -16,7 +16,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="346273545054675151" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1531762689154500379" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand Down
Loading

0 comments on commit 5e0b349

Please sign in to comment.