Skip to content

Commit da5a463

Browse files
committed
Add RA4E2-EK RA Smart generate code and init uart0
1 parent bac64ca commit da5a463

File tree

139 files changed

+104070
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+104070
-0
lines changed

bsp/renesas/ra4e2-ek/.api_xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<ddscApi/>

bsp/renesas/ra4e2-ek/.secure_azone

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<azone>
3+
<rzone name="R7FA4E2B93CFM.rzone"/>
4+
<partition>
5+
<peripheral name="PORT0.CM33" group="PORT">
6+
<slot name="P000.CM33" secure="true"/>
7+
<slot name="P001.CM33" secure="true"/>
8+
<slot name="P002.CM33" secure="true"/>
9+
<slot name="P003.CM33" secure="true"/>
10+
<slot name="P004.CM33" secure="true"/>
11+
<slot name="P005.CM33" secure="true"/>
12+
<slot name="P006.CM33" secure="true"/>
13+
<slot name="P008.CM33" secure="true"/>
14+
<slot name="P013.CM33" secure="true"/>
15+
<slot name="P014.CM33" secure="true"/>
16+
<slot name="P015.CM33" secure="true"/>
17+
</peripheral>
18+
<peripheral name="PORT1.CM33" group="PORT">
19+
<slot name="P100.CM33" secure="true"/>
20+
<slot name="P101.CM33" secure="true"/>
21+
<slot name="P102.CM33" secure="true"/>
22+
<slot name="P103.CM33" secure="true"/>
23+
<slot name="P104.CM33" secure="true"/>
24+
<slot name="P105.CM33" secure="true"/>
25+
<slot name="P106.CM33" secure="true"/>
26+
<slot name="P107.CM33" secure="true"/>
27+
<slot name="P108.CM33" secure="true"/>
28+
<slot name="P109.CM33" secure="true"/>
29+
<slot name="P110.CM33" secure="true"/>
30+
<slot name="P111.CM33" secure="true"/>
31+
<slot name="P112.CM33" secure="true"/>
32+
<slot name="P113.CM33" secure="true"/>
33+
</peripheral>
34+
<peripheral name="PORT2.CM33" group="PORT">
35+
<slot name="P207.CM33" secure="true"/>
36+
</peripheral>
37+
<peripheral name="PORT3.CM33" group="PORT">
38+
<slot name="P300.CM33" secure="true"/>
39+
<slot name="P301.CM33" secure="true"/>
40+
<slot name="P302.CM33" secure="true"/>
41+
<slot name="P304.CM33" secure="true"/>
42+
</peripheral>
43+
<peripheral name="PORT4.CM33" group="PORT">
44+
<slot name="P400.CM33" secure="true"/>
45+
<slot name="P401.CM33" secure="true"/>
46+
<slot name="P402.CM33" secure="true"/>
47+
<slot name="P403.CM33" secure="true"/>
48+
<slot name="P407.CM33" secure="true"/>
49+
<slot name="P408.CM33" secure="true"/>
50+
<slot name="P409.CM33" secure="true"/>
51+
<slot name="P410.CM33" secure="true"/>
52+
<slot name="P411.CM33" secure="true"/>
53+
</peripheral>
54+
<peripheral name="PORT5.CM33" group="PORT">
55+
<slot name="P500.CM33" secure="true"/>
56+
</peripheral>
57+
<peripheral name="SCI0.CM33" group="SCI" security="s"/>
58+
<peripheral name="ICU.CM33">
59+
<slot name="IRQ0.CM33" secure="true"/>
60+
<slot name="IRQ1.CM33" secure="true"/>
61+
<slot name="IRQ2.CM33" secure="true"/>
62+
<slot name="IRQ3.CM33" secure="true"/>
63+
</peripheral>
64+
</partition>
65+
</azone>

bsp/renesas/ra4e2-ek/.secure_rzone

Lines changed: 315 additions & 0 deletions
Large diffs are not rendered by default.

bsp/renesas/ra4e2-ek/.secure_xml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<raConfiguration version="11">
3+
<generalSettings>
4+
<option key="#Board#" value="board.ra4e2ek"/>
5+
<option key="CPU" value="RA4E2"/>
6+
<option key="Core" value="CM33"/>
7+
<option key="#TargetName#" value="R7FA4E2B93CFM"/>
8+
<option key="#TargetARCHITECTURE#" value="cortex-m33"/>
9+
<option key="#DeviceCommand#" value="R7FA4E2B9"/>
10+
<option key="#RTOS#" value="_none"/>
11+
<option key="#pinconfiguration#" value="R7FA4E2B93CFM.pincfg"/>
12+
<option key="#FSPVersion#" value="6.0.0"/>
13+
<option key="#ConfigurationFragments#" value="Renesas##BSP##Board##ra4e2_ek##"/>
14+
<option key="#SELECTED_TOOLCHAIN#" value="com.arm.toolchain"/>
15+
</generalSettings>
16+
<raBspConfiguration/>
17+
<raClockConfiguration>
18+
<node id="board.clock.xtal.freq" mul="20000000" option="_edit"/>
19+
<node id="board.clock.hoco.freq" option="board.clock.hoco.freq.20m"/>
20+
<node id="board.clock.loco.freq" option="board.clock.loco.freq.32768"/>
21+
<node id="board.clock.moco.freq" option="board.clock.moco.freq.8m"/>
22+
<node id="board.clock.subclk.freq" option="board.clock.subclk.freq.32768"/>
23+
<node id="board.clock.pll.source" option="board.clock.pll.source.xtal"/>
24+
<node id="board.clock.pll.div" option="board.clock.pll.div.1"/>
25+
<node id="board.clock.pll.mul" option="board.clock.pll.mul.100"/>
26+
<node id="board.clock.pll.display" option="board.clock.pll.display.value"/>
27+
<node id="board.clock.clock.source" option="board.clock.clock.source.pll"/>
28+
<node id="board.clock.clkout.source" option="board.clock.clkout.source.disabled"/>
29+
<node id="board.clock.uclk.source" option="board.clock.uclk.source.disabled"/>
30+
<node id="board.clock.canfdclk.source" option="board.clock.canfdclk.source.disabled"/>
31+
<node id="board.clock.cecclk.source" option="board.clock.cecclk.source.disabled"/>
32+
<node id="board.clock.i3cclk.source" option="board.clock.i3cclk.source.disabled"/>
33+
<node id="board.clock.iclk.div" option="board.clock.iclk.div.2"/>
34+
<node id="board.clock.pclka.div" option="board.clock.pclka.div.2"/>
35+
<node id="board.clock.pclkb.div" option="board.clock.pclkb.div.4"/>
36+
<node id="board.clock.pclkc.div" option="board.clock.pclkc.div.4"/>
37+
<node id="board.clock.pclkd.div" option="board.clock.pclkd.div.2"/>
38+
<node id="board.clock.fclk.div" option="board.clock.fclk.div.4"/>
39+
<node id="board.clock.clkout.div" option="board.clock.clkout.div.1"/>
40+
<node id="board.clock.uclk.div" option="board.clock.uclk.div.5"/>
41+
<node id="board.clock.canfdclk.div" option="board.clock.canfdclk.div.6"/>
42+
<node id="board.clock.cecclk.div" option="board.clock.cecclk.div.1"/>
43+
<node id="board.clock.i3cclk.div" option="board.clock.i3cclk.div.1"/>
44+
<node id="board.clock.iclk.display" option="board.clock.iclk.display.value"/>
45+
<node id="board.clock.pclka.display" option="board.clock.pclka.display.value"/>
46+
<node id="board.clock.pclkb.display" option="board.clock.pclkb.display.value"/>
47+
<node id="board.clock.pclkc.display" option="board.clock.pclkc.display.value"/>
48+
<node id="board.clock.pclkd.display" option="board.clock.pclkd.display.value"/>
49+
<node id="board.clock.fclk.display" option="board.clock.fclk.display.value"/>
50+
<node id="board.clock.clkout.display" option="board.clock.clkout.display.value"/>
51+
<node id="board.clock.uclk.display" option="board.clock.uclk.display.value"/>
52+
<node id="board.clock.canfdclk.display" option="board.clock.canfdclk.display.value"/>
53+
<node id="board.clock.cecclk.display" option="board.clock.cecclk.display.value"/>
54+
<node id="board.clock.i3cclk.display" option="board.clock.i3cclk.display.value"/>
55+
</raClockConfiguration>
56+
<raPinConfiguration>
57+
<pincfg active="true" name="" symbol="">
58+
<configSetting altId="adc0.an000.p000" configurationId="adc0.an000" peripheral="ADC0"/>
59+
<configSetting altId="adc0.an001.p001" configurationId="adc0.an001" peripheral="ADC0"/>
60+
<configSetting altId="adc0.an002.p002" configurationId="adc0.an002" peripheral="ADC0"/>
61+
<configSetting altId="adc0.an004.p004" configurationId="adc0.an004" peripheral="ADC0"/>
62+
<configSetting altId="adc0.an011.p013" configurationId="adc0.an011" peripheral="ADC0"/>
63+
<configSetting altId="canfd0.crx0.p402" configurationId="canfd0.crx0" peripheral="CANFD0"/>
64+
<configSetting altId="canfd0.ctx0.p401" configurationId="canfd0.ctx0" peripheral="CANFD0"/>
65+
<configSetting altId="i3c_fslash_iic.i3c_scl.p100" configurationId="i3c_fslash_iic.i3c_scl" peripheral="I3C/IIC"/>
66+
<configSetting altId="i3c_fslash_iic.i3c_sda.p101" configurationId="i3c_fslash_iic.i3c_sda" peripheral="I3C/IIC"/>
67+
<configSetting altId="jtag_fslash_swd.swclk.p300" configurationId="jtag_fslash_swd.swclk" peripheral="JTAG/SWD"/>
68+
<configSetting altId="jtag_fslash_swd.swdio.p108" configurationId="jtag_fslash_swd.swdio" peripheral="JTAG/SWD"/>
69+
<configSetting altId="p003.input" configurationId="p003"/>
70+
<configSetting altId="p005.input" configurationId="p005"/>
71+
<configSetting altId="p006.input" configurationId="p006"/>
72+
<configSetting altId="p008.input" configurationId="p008"/>
73+
<configSetting altId="p014.input" configurationId="p014"/>
74+
<configSetting altId="p015.input" configurationId="p015"/>
75+
<configSetting altId="p102.input" configurationId="p102"/>
76+
<configSetting altId="p103.input" configurationId="p103"/>
77+
<configSetting altId="p104.output.low" configurationId="p104"/>
78+
<configSetting altId="p105.input" configurationId="p105"/>
79+
<configSetting altId="p106.input" configurationId="p106"/>
80+
<configSetting altId="p107.input" configurationId="p107"/>
81+
<configSetting altId="p112.output.low" configurationId="p112"/>
82+
<configSetting altId="p113.input" configurationId="p113"/>
83+
<configSetting altId="p207.output.low" configurationId="p207"/>
84+
<configSetting altId="p301.input" configurationId="p301"/>
85+
<configSetting altId="p302.input" configurationId="p302"/>
86+
<configSetting altId="p304.input" configurationId="p304"/>
87+
<configSetting altId="p400.output.high" configurationId="p400"/>
88+
<configSetting altId="p403.input" configurationId="p403"/>
89+
<configSetting altId="p408.input" configurationId="p408"/>
90+
<configSetting altId="p409.input" configurationId="p409"/>
91+
<configSetting altId="p500.input" configurationId="p500"/>
92+
<configSetting altId="sci0.rxd0.p410" configurationId="sci0.rxd0" isUsedByDriver="true" peripheral="SCI0"/>
93+
<configSetting altId="sci0.txd0.p411" configurationId="sci0.txd0" isUsedByDriver="true" peripheral="SCI0"/>
94+
<configSetting altId="sci9.rxd9.p110" configurationId="sci9.rxd9" peripheral="SCI9"/>
95+
<configSetting altId="sci9.sck9.p111" configurationId="sci9.sck9" peripheral="SCI9"/>
96+
<configSetting altId="sci9.txd9.p109" configurationId="sci9.txd9" peripheral="SCI9"/>
97+
<configSetting altId="usbfs.usb_vbus.p407" configurationId="usbfs.usb_vbus" peripheral="USB FS"/>
98+
</pincfg>
99+
</raPinConfiguration>
100+
</raConfiguration>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#Sun Aug 24 00:05:22 CST 2025
2+
com.renesas.cdt.ddsc.content/com.renesas.cdt.ddsc.content.defaultlinkerscript=script/fsp.scat
3+
com.renesas.cdt.ddsc.contentgen.options/options/suppresswarningspaths=ra/arm
4+
com.renesas.cdt.ddsc.packs.componentfiles/Arm\#\#CMSIS\#\#Main\#\#CoreM\#\#\#\#6.1.0+fsp.6.0.0/all=1441545198,ra/arm/CMSIS_6/LICENSE|409404162,ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_armclang.h|3070162158,ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_clang.h|2642675438,ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_compiler.h|432601292,ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_gcc.h|1219721305,ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_version.h|1716662092,ra/arm/CMSIS_6/CMSIS/Core/Include/core_ca.h|3033126542,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm0.h|3716711724,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm0plus.h|1573341164,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm1.h|1528066797,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm23.h|956077447,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm3.h|3181146757,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm33.h|3422691989,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm35p.h|3011809468,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm4.h|862174236,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm52.h|3557548549,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm55.h|2145813412,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm7.h|215226313,ra/arm/CMSIS_6/CMSIS/Core/Include/core_cm85.h|3759822293,ra/arm/CMSIS_6/CMSIS/Core/Include/core_sc000.h|3285488134,ra/arm/CMSIS_6/CMSIS/Core/Include/core_sc300.h|3342995321,ra/arm/CMSIS_6/CMSIS/Core/Include/core_starmc1.h|440777068,ra/arm/CMSIS_6/CMSIS/Core/Include/tz_context.h|987654843,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/cmsis_armclang_a.h|1790528804,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/cmsis_clang_a.h|117658130,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/cmsis_cp15.h|3644000269,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/cmsis_gcc_a.h|947683335,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/cmsis_iccarm_a.h|3200474466,ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile/irq_ctrl.h|2703360002,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv7m_cachel1.h|271089146,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv7m_mpu.h|3180041419,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv81m_pac.h|1572899130,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv8m_mpu.h|1964429271,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv8m_pmu.h|2095512231,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/cmsis_armclang_m.h|2951442685,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/cmsis_clang_m.h|1179088122,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/cmsis_gcc_m.h|1753083115,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h|163659099,ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/cmsis_tiarmclang_m.h|718227869,ra/arm/CMSIS_6/CMSIS/Core/Include/r-profile/cmsis_armclang_r.h|681720804,ra/arm/CMSIS_6/CMSIS/Core/Include/r-profile/cmsis_clang_r.h|154254372,ra/arm/CMSIS_6/CMSIS/Core/Include/r-profile/cmsis_gcc_r.h
5+
com.renesas.cdt.ddsc.packs.componentfiles/Arm\#\#CMSIS\#\#Main\#\#CoreM\#\#\#\#6.1.0+fsp.6.0.0/libraries=
6+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#Board\#\#ra4e2_ek\#\#\#\#6.0.0/all=1146129324,ra/board/ra4e2_ek/board.h|2930081608,ra/board/ra4e2_ek/board_init.c|141220042,ra/board/ra4e2_ek/board_init.h|4050150481,ra/board/ra4e2_ek/board_leds.c|4227161383,ra/board/ra4e2_ek/board_leds.h
7+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#Board\#\#ra4e2_ek\#\#\#\#6.0.0/libraries=
8+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#device\#\#\#\#6.0.0/all=1312083070,ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA4E2B9.h
9+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#device\#\#\#\#6.0.0/libraries=
10+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#device\#\#R7FA4E2B93CFM\#\#6.0.0/all=
11+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#device\#\#R7FA4E2B93CFM\#\#6.0.0/libraries=
12+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#events\#\#\#\#6.0.0/all=
13+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#events\#\#\#\#6.0.0/libraries=
14+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#fsp\#\#\#\#6.0.0/all=2026942077,ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c|4088081372,ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/system.c|3173683717,ra/fsp/src/bsp/mcu/ra4e2/bsp_elc.h|79929755,ra/fsp/src/bsp/mcu/ra4e2/bsp_feature.h|219580119,ra/fsp/src/bsp/mcu/ra4e2/bsp_linker.c|1977341195,ra/fsp/src/bsp/mcu/ra4e2/bsp_mcu_info.h|1772088223,ra/fsp/src/bsp/mcu/ra4e2/bsp_peripheral.h|2134721004,ra/fsp/src/bsp/mcu/all/bsp_clocks.c|3593160558,ra/fsp/src/bsp/mcu/all/bsp_clocks.h|864672585,ra/fsp/src/bsp/mcu/all/bsp_common.c|1766417223,ra/fsp/src/bsp/mcu/all/bsp_common.h|2476010042,ra/fsp/src/bsp/mcu/all/bsp_compiler_support.h|1391797498,ra/fsp/src/bsp/mcu/all/bsp_delay.c|1823692586,ra/fsp/src/bsp/mcu/all/bsp_delay.h|1002834645,ra/fsp/src/bsp/mcu/all/bsp_exceptions.h|3294907421,ra/fsp/src/bsp/mcu/all/bsp_group_irq.c|2982971571,ra/fsp/src/bsp/mcu/all/bsp_group_irq.h|3480596119,ra/fsp/src/bsp/mcu/all/bsp_guard.c|379456290,ra/fsp/src/bsp/mcu/all/bsp_guard.h|554349144,ra/fsp/src/bsp/mcu/all/bsp_io.c|1270173761,ra/fsp/src/bsp/mcu/all/bsp_io.h|4226258005,ra/fsp/src/bsp/mcu/all/bsp_ipc.c|2907652827,ra/fsp/src/bsp/mcu/all/bsp_ipc.h|3952374344,ra/fsp/src/bsp/mcu/all/bsp_irq.c|2972687487,ra/fsp/src/bsp/mcu/all/bsp_irq.h|1355081035,ra/fsp/src/bsp/mcu/all/bsp_mcu_api.h|1712869516,ra/fsp/src/bsp/mcu/all/bsp_mmf.h|1272853908,ra/fsp/src/bsp/mcu/all/bsp_module_stop.h|3336678806,ra/fsp/src/bsp/mcu/all/bsp_register_protection.c|277796574,ra/fsp/src/bsp/mcu/all/bsp_register_protection.h|2455669964,ra/fsp/src/bsp/mcu/all/bsp_sbrk.c|659341578,ra/fsp/src/bsp/mcu/all/bsp_sdram.c|2275550317,ra/fsp/src/bsp/mcu/all/bsp_sdram.h|963966360,ra/fsp/src/bsp/mcu/all/bsp_security.c|1515045059,ra/fsp/src/bsp/mcu/all/bsp_security.h|686902729,ra/fsp/src/bsp/mcu/all/bsp_macl.c|3660402312,ra/fsp/src/bsp/mcu/all/bsp_macl.h|3202460155,ra/fsp/src/bsp/mcu/all/bsp_tfu.h|2646736735,ra/fsp/inc/fsp_features.h|678846915,ra/fsp/inc/instances/r_ioport.h|2968025458,script/fsp.scat
15+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#fsp\#\#\#\#6.0.0/libraries=
16+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#linker\#\#\#\#6.0.0/all=
17+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#BSP\#\#ra4e2\#\#linker\#\#\#\#6.0.0/libraries=
18+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#Common\#\#all\#\#fsp_common\#\#\#\#6.0.0/all=2029657729,ra/fsp/inc/fsp_version.h|1808519175,ra/fsp/inc/api/fsp_common_api.h|1692739955,ra/fsp/inc/api/r_ioport_api.h|2238316510,ra/fsp/inc/api/bsp_api.h|3894236990,ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/renesas.h|2057644446,ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/system.h
19+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#Common\#\#all\#\#fsp_common\#\#\#\#6.0.0/libraries=
20+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#HAL\ Drivers\#\#all\#\#r_ioport\#\#\#\#6.0.0/all=1692739955,ra/fsp/inc/api/r_ioport_api.h|678846915,ra/fsp/inc/instances/r_ioport.h|3160786249,ra/fsp/src/r_ioport/r_ioport.c
21+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#HAL\ Drivers\#\#all\#\#r_ioport\#\#\#\#6.0.0/libraries=
22+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#HAL\ Drivers\#\#all\#\#r_sci_uart\#\#\#\#6.0.0/all=429738396,ra/fsp/inc/api/r_transfer_api.h|2894177435,ra/fsp/inc/api/r_uart_api.h|3371921742,ra/fsp/inc/instances/r_sci_uart.h|4212520575,ra/fsp/src/r_sci_uart/r_sci_uart.c
23+
com.renesas.cdt.ddsc.packs.componentfiles/Renesas\#\#HAL\ Drivers\#\#all\#\#r_sci_uart\#\#\#\#6.0.0/libraries=
24+
com.renesas.cdt.ddsc.project.standalone.projectgenerationoptions/isCpp=false
25+
com.renesas.cdt.ddsc.settingseditor/com.renesas.cdt.ddsc.settingseditor.active_page=SWPConfigurator
26+
com.renesas.cdt.ddsc.threads.configurator/collapse/module.driver.uart_on_sci_uart.1020785638=false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/***********************************************************************
2+
* This file was automatically generated by RASC
3+
*
4+
* J-Link script file to change the device being used for a debug
5+
* session. This is required when the RA MCU being debugged is in
6+
* NSECSD device life-cycle state, when the normal flash driver mechanism
7+
* cannot be used as the use of RAM on the target MCU is not permitted.
8+
* This means an alternate, but slower, flash driver mechanism is
9+
* required, which makes no use of target RAM. This alternate mechanism
10+
* is enabled through the use of device names post-pended with "_RAMLess".
11+
*
12+
* To use normal flash driver:
13+
* => Set _USE_RAMLESS_FLASH_DRIVER to 0.
14+
*
15+
* To use slower, alternate flash driver:
16+
* => Set _USE_RAMLESS_FLASH_DRIVER to 1.
17+
*
18+
* Note that the "_RAMLess" device name specified in the call to
19+
* JLINK_SetDevice() must match the actual target device.
20+
***********************************************************************/
21+
22+
__constant U32 _USE_RAMLESS_FLASH_DRIVER = 0;
23+
24+
int ConfigTargetSettings(void) {
25+
if (_USE_RAMLESS_FLASH_DRIVER != 0) {
26+
27+
JLINK_SYS_Report("J-Link script: ConfigTargetSettings()");
28+
JLINK_SYS_Report("Setting Device for flash driver that requires no RAM");
29+
30+
// Ensure below device matches your target MCU (but with _RAMLess added)
31+
JLINK_SetDevice("R7FA4E2B9_RAMLess");
32+
}
33+
return 0;
34+
}

0 commit comments

Comments
 (0)