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
173173FWTARGETS += stm32l476xc stm32l476xe stm32l476xg
174174FWTARGETS += stm32f103x4 stm32f103x6 stm32f103x8 stm32f103xb stm32f103xc
175175FWTARGETS += stm32f303xb stm32f303xc stm32f303xd stm32f303xe
176- FWTARGETS += stm32f429xe stm32f429xg stm32f429xi stm32f429xi_hs
176+ FWTARGETS += stm32f401xe stm32f411xe stm32f429xe stm32f429xg stm32f429xi stm32f429xi_hs
177177FWTARGETS += stm32f105xb stm32f107xb
178178FWTARGETS += stm32l433xb stm32l433xc
179179FWTARGETS += stm32f070x6 stm32f070xb stm32f072x8
@@ -448,6 +448,18 @@ stm32f373xc :
448448 FWDEFS=' STM32F3 STM32F373xC USBD_ASM_DRIVER' \
449449 LDPARAMS=' ROMLEN=256K RAMLEN=32K'
450450
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+
451463stm32f429xe :
452464 $(MAKE ) bootloader FWCPU=' -mcpu=cortex-m4' \
453465 FWSTARTUP=' mcu/stm32f4xx.S' \
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ Reset_Handler:
134134 str r0 , [ r1 , SCB_VTOR ] //set VTOR
135135 ldr r1 , [ r0 , 0x00 ] //load new MSP
136136 msr MSP , r1 //set MSP
137- ldr r3 , [ r0 , 0x04 ] //load reet vector
137+ ldr r3 , [ r0 , 0x04 ] //load reset vector
138138 bx r3 //jump to user_app
139139
140140.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) {
148148 if (dfu_data .bStatus == USB_DFU_STATUS_OK ) {
149149 dfu_data .dptr += blksize ;
150150 dfu_data .remained -= blksize ;
151- #if (DFU_DNLOAD_NOSYNC == _ENABLED )
151+ #if (DFU_DNLOAD_NOSYNC == _ENABLE )
152152 dfu_data .bState = USB_DFU_STATE_DFU_DNLOADIDLE ;
153153#else
154154 dfu_data .bState = USB_DFU_STATE_DFU_DNLOADSYNC ;
You can’t perform that action at this time.
0 commit comments