rename bsp of stm32 board

This commit is contained in:
hathach 2019-07-19 20:37:38 +07:00
parent ed6fa460e9
commit e909270843
9 changed files with 8 additions and 8 deletions

View File

@ -61,8 +61,8 @@
recurse="No" /> recurse="No" />
<folder Name="hw"> <folder Name="hw">
<folder Name="bsp"> <folder Name="bsp">
<folder Name="stm32f407g_disc1"> <folder Name="stm32f407disco">
<file file_name="../../../../../hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c" /> <file file_name="../../../../../hw/bsp/stm32f407disco/board_stm32f407disco.c" />
</folder> </folder>
<file file_name="../../../../../hw/bsp/board.h" /> <file file_name="../../../../../hw/bsp/board.h" />
</folder> </folder>
@ -76,11 +76,11 @@
</folder> </folder>
</folder> </folder>
<configuration <configuration
Name="stm32f407g_disc1" Name="stm32f407disco"
c_preprocessor_definitions="BOARD_STM32F407G_DISC1" /> c_preprocessor_definitions="BOARD_STM32F407G_DISC1" />
</project> </project>
<configuration <configuration
Name="stm32f407g_disc1" Name="stm32f407disco"
c_preprocessor_definitions="DEBUG" c_preprocessor_definitions="DEBUG"
gcc_debugging_level="Level 3" gcc_debugging_level="Level 3"
gcc_optimization_level="None" /> gcc_optimization_level="None" />

View File

@ -10,7 +10,7 @@ CFLAGS += \
-nostdlib -nostartfiles -nostdlib -nostartfiles
# All source paths should be relative to the top level. # All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32f303disc/STM32F303VCTx_FLASH.ld LD_FILE = hw/bsp/stm32f303disco/STM32F303VCTx_FLASH.ld
SRC_C += \ SRC_C += \
hw/mcu/st/system-init/system_stm32f3xx.c \ hw/mcu/st/system-init/system_stm32f3xx.c \
@ -23,7 +23,7 @@ SRC_S += \
hw/mcu/st/startup/stm32f3/startup_stm32f303xc.s hw/mcu/st/startup/stm32f3/startup_stm32f303xc.s
INC += \ INC += \
$(TOP)/hw/bsp/stm32f303disc \ $(TOP)/hw/bsp/stm32f303disco \
$(TOP)/hw/mcu/st/cmsis \ $(TOP)/hw/mcu/st/cmsis \
$(TOP)/hw/mcu/st/stm32lib/CMSIS/STM32F3xx/Include \ $(TOP)/hw/mcu/st/stm32lib/CMSIS/STM32F3xx/Include \
$(TOP)/hw/mcu/st/stm32lib/STM32F3xx_HAL_Driver/Inc $(TOP)/hw/mcu/st/stm32lib/STM32F3xx_HAL_Driver/Inc

View File

@ -10,7 +10,7 @@ CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_STM32F4 -DCFG_TUSB_MCU=OPT_MCU_STM32F4
# All source paths should be relative to the top level. # All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld LD_FILE = hw/bsp/stm32f407disco/STM32F407VGTx_FLASH.ld
SRC_C += \ SRC_C += \
hw/mcu/st/system-init/system_stm32f4xx.c hw/mcu/st/system-init/system_stm32f4xx.c

View File

@ -47,6 +47,6 @@ these files in one place.
* ARM-provided headers are stored in the [cmsis](cmsis) directory. * ARM-provided headers are stored in the [cmsis](cmsis) directory.
* The linker script for the STM32F4-DISCOVERY board demo is supplied as * The linker script for the STM32F4-DISCOVERY board demo is supplied as
part of TinyUSB's part of TinyUSB's
[Board Support Packages](../../bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld). [Board Support Packages](../../bsp/stm32f407disco/STM32F407VGTx_FLASH.ld).
The above files were extracted from a dummy stm32cube project in February The above files were extracted from a dummy stm32cube project in February
2019. 2019.