Skip to content

Commit 3bcee59

Browse files
committed
Add NUCLEO_F401RE in uvision exporter, change flash prog to stlink for F103RB
1 parent 9272cde commit 3bcee59

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

workspace_tools/export/uvision4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
class Uvision4(Exporter):
2222
NAME = 'uVision4'
2323

24-
TARGETS = ['LPC1768', 'LPC11U24', 'KL05Z', 'KL25Z', 'KL46Z', 'K20D5M', 'LPC1347', 'LPC1114', 'LPC11C24', 'LPC4088', 'LPC812', 'NUCLEO_F103RB', 'NUCLEO_L152RE', 'NUCLEO_F030R8', 'C027']
24+
TARGETS = ['LPC1768', 'LPC11U24', 'KL05Z', 'KL25Z', 'KL46Z', 'K20D5M', 'LPC1347', 'LPC1114', 'LPC11C24', 'LPC4088', 'LPC812', 'NUCLEO_F103RB', 'NUCLEO_L152RE', 'NUCLEO_F030R8', 'NUCLEO_F401RE', 'C027']
2525

26-
USING_MICROLIB = ['LPC11U24', 'LPC1114', 'LPC11C24', 'LPC812', 'NUCLEO_F103RB', 'NUCLEO_L152RE', 'NUCLEO_F030R8']
26+
USING_MICROLIB = ['LPC11U24', 'LPC1114', 'LPC11C24', 'LPC812', 'NUCLEO_F103RB', 'NUCLEO_L152RE', 'NUCLEO_F030R8', 'NUCLEO_F401RE']
2727

2828
FILE_TYPES = {
2929
'c_sources':'1',

workspace_tools/export/uvision4_nucleo_f103rb.uvproj.tmpl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<SLE66AMisc></SLE66AMisc>
3131
<SLE66LinkerMisc></SLE66LinkerMisc>
3232
<SFDFile>SFD\ST\STM32F1xx\STM32F103xx.sfr</SFDFile>
33+
<bCustSvd>0</bCustSvd>
3334
<UseEnv>0</UseEnv>
3435
<BinPath></BinPath>
3536
<IncludePath></IncludePath>
@@ -97,6 +98,7 @@
9798
<StopOnExitCode>3</StopOnExitCode>
9899
<CustomArgument></CustomArgument>
99100
<IncludeLibraryModules></IncludeLibraryModules>
101+
<ComprImg>1</ComprImg>
100102
</CommonProperty>
101103
<DllOption>
102104
<SimDllName>SARMCM3.DLL</SimDllName>
@@ -163,12 +165,16 @@
163165
<RunIndependent>0</RunIndependent>
164166
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
165167
<Capability>1</Capability>
166-
<DriverSelection>4104</DriverSelection>
168+
<DriverSelection>4103</DriverSelection>
167169
</Flash1>
168170
<bUseTDR>1</bUseTDR>
169-
<Flash2>BIN\CMSIS_AGDI.dll</Flash2>
171+
<Flash2>STLink\ST-LINKIII-KEIL_SWO.dll</Flash2>
170172
<Flash3>"" ()</Flash3>
171173
<Flash4></Flash4>
174+
<pFcarmOut></pFcarmOut>
175+
<pFcarmGrp></pFcarmGrp>
176+
<pFcArmRoot></pFcArmRoot>
177+
<FcArmLst>0</FcArmLst>
172178
</Utilities>
173179
<TargetArmAds>
174180
<ArmAdsMisc>

0 commit comments

Comments
 (0)