Skip to content

Commit cd7bbba

Browse files
authored
Merge pull request #3524 from hathach/fix-3516
Fix HSE value for STM32F411 Black Pill
2 parents ce8a073 + faa89ef commit cd7bbba

File tree

13 files changed

+3
-4920
lines changed

13 files changed

+3
-4920
lines changed

hw/bsp/stm32f4/boards/feather_stm32f405/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 491 deletions
This file was deleted.

hw/bsp/stm32f4/boards/pyboardv11/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 491 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f401blackpill/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f407blackvet/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f407disco/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f411blackpill/board.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F411CEUx_FLASH.ld)
66
function(update_board TARGET)
77
target_compile_definitions(${TARGET} PUBLIC
88
STM32F411xE
9+
HSE_VALUE=25000000
910
)
1011
endfunction()

hw/bsp/stm32f4/boards/stm32f411blackpill/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CFLAGS += -DSTM32F411xE
1+
CFLAGS += -DSTM32F411xE -DHSE_VALUE=25000000
22

33
# GCC
44
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f411xe.s

hw/bsp/stm32f4/boards/stm32f411blackpill/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f411disco/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

hw/bsp/stm32f4/boards/stm32f412disco/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 493 deletions
This file was deleted.

0 commit comments

Comments
 (0)