File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ FWTARGETS += stm32l073v8 stm32l073xb stm32l073xc
173
173
FWTARGETS += stm32l476xc stm32l476xe stm32l476xg
174
174
FWTARGETS += stm32f103x4 stm32f103x6 stm32f103x8 stm32f103xb stm32f103xc
175
175
FWTARGETS += stm32f303xb stm32f303xc stm32f303xd stm32f303xe
176
- FWTARGETS += stm32f429xe stm32f429xg stm32f429xi stm32f429xi_hs
176
+ FWTARGETS += stm32f401xe stm32f411xe stm32f429xe stm32f429xg stm32f429xi stm32f429xi_hs
177
177
FWTARGETS += stm32f105xb stm32f107xb
178
178
FWTARGETS += stm32l433xb stm32l433xc
179
179
FWTARGETS += stm32f070x6 stm32f070xb stm32f072x8
@@ -448,6 +448,18 @@ stm32f373xc :
448
448
FWDEFS=' STM32F3 STM32F373xC USBD_ASM_DRIVER' \
449
449
LDPARAMS=' ROMLEN=256K RAMLEN=32K'
450
450
451
+ stm32f401xe :
452
+ $(MAKE ) bootloader FWCPU=' -mcpu=cortex-m4' \
453
+ FWSTARTUP=' mcu/stm32f4xx.S' \
454
+ FWDEFS=' STM32F4 STM32F401xE' \
455
+ LDPARAMS=' ROMLEN=512K RAMLEN=96K APPALIGN=0x4000'
456
+
457
+ stm32f411xe :
458
+ $(MAKE ) bootloader FWCPU=' -mcpu=cortex-m4' \
459
+ FWSTARTUP=' mcu/stm32f4xx.S' \
460
+ FWDEFS=' STM32F4 STM32F411xE' \
461
+ LDPARAMS=' ROMLEN=512K RAMLEN=128K APPALIGN=0x4000'
462
+
451
463
stm32f429xe :
452
464
$(MAKE ) bootloader FWCPU=' -mcpu=cortex-m4' \
453
465
FWSTARTUP=' mcu/stm32f4xx.S' \
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ Reset_Handler:
134
134
str r0 , [ r1 , SCB_VTOR ] //set VTOR
135
135
ldr r1 , [ r0 , 0x00 ] //load new MSP
136
136
msr MSP , r1 //set MSP
137
- ldr r3 , [ r0 , 0x04 ] //load reet vector
137
+ ldr r3 , [ r0 , 0x04 ] //load reset vector
138
138
bx r3 //jump to user_app
139
139
140
140
.L_check_boot:
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ static usbd_respond dfu_dnload(void *buf, size_t blksize) {
148
148
if (dfu_data .bStatus == USB_DFU_STATUS_OK ) {
149
149
dfu_data .dptr += blksize ;
150
150
dfu_data .remained -= blksize ;
151
- #if (DFU_DNLOAD_NOSYNC == _ENABLED )
151
+ #if (DFU_DNLOAD_NOSYNC == _ENABLE )
152
152
dfu_data .bState = USB_DFU_STATE_DFU_DNLOADIDLE ;
153
153
#else
154
154
dfu_data .bState = USB_DFU_STATE_DFU_DNLOADSYNC ;
You can’t perform that action at this time.
0 commit comments