summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-19 20:37:38 +0700
committerhathach <[email protected]>2019-07-19 20:37:38 +0700
commite9092708439e32b8eb68ca8302bb409628364ace (patch)
treebba09b40ea16eaf165d417531cef80bed2a438f9 /hw/bsp
parented6fa460e9a885bb84a6f1588763ea5fb3f4df49 (diff)
rename bsp of stm32 board
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/stm32f303disco/STM32F303VCTx_FLASH.ld (renamed from hw/bsp/stm32f303disc/STM32F303VCTx_FLASH.ld)0
-rw-r--r--hw/bsp/stm32f303disco/board.mk (renamed from hw/bsp/stm32f303disc/board.mk)4
-rw-r--r--hw/bsp/stm32f303disco/board_stm32f303disco.c (renamed from hw/bsp/stm32f303disc/board_stm32f303disc.c)0
-rw-r--r--hw/bsp/stm32f303disco/stm32f3xx_hal_conf.h (renamed from hw/bsp/stm32f303disc/stm32f3xx_hal_conf.h)0
-rw-r--r--hw/bsp/stm32f407disco/STM32F407VGTx_FLASH.ld (renamed from hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld)0
-rw-r--r--hw/bsp/stm32f407disco/board.mk (renamed from hw/bsp/stm32f407g_disc1/board.mk)2
-rw-r--r--hw/bsp/stm32f407disco/board_stm32f407disco.c (renamed from hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c)0
7 files changed, 3 insertions, 3 deletions
diff --git a/hw/bsp/stm32f303disc/STM32F303VCTx_FLASH.ld b/hw/bsp/stm32f303disco/STM32F303VCTx_FLASH.ld
index ca9046d29..ca9046d29 100644
--- a/hw/bsp/stm32f303disc/STM32F303VCTx_FLASH.ld
+++ b/hw/bsp/stm32f303disco/STM32F303VCTx_FLASH.ld
diff --git a/hw/bsp/stm32f303disc/board.mk b/hw/bsp/stm32f303disco/board.mk
index 76922a46a..7a493c244 100644
--- a/hw/bsp/stm32f303disc/board.mk
+++ b/hw/bsp/stm32f303disco/board.mk
@@ -10,7 +10,7 @@ CFLAGS += \
-nostdlib -nostartfiles
# 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 += \
hw/mcu/st/system-init/system_stm32f3xx.c \
@@ -23,7 +23,7 @@ SRC_S += \
hw/mcu/st/startup/stm32f3/startup_stm32f303xc.s
INC += \
- $(TOP)/hw/bsp/stm32f303disc \
+ $(TOP)/hw/bsp/stm32f303disco \
$(TOP)/hw/mcu/st/cmsis \
$(TOP)/hw/mcu/st/stm32lib/CMSIS/STM32F3xx/Include \
$(TOP)/hw/mcu/st/stm32lib/STM32F3xx_HAL_Driver/Inc
diff --git a/hw/bsp/stm32f303disc/board_stm32f303disc.c b/hw/bsp/stm32f303disco/board_stm32f303disco.c
index 9a103ac60..9a103ac60 100644
--- a/hw/bsp/stm32f303disc/board_stm32f303disc.c
+++ b/hw/bsp/stm32f303disco/board_stm32f303disco.c
diff --git a/hw/bsp/stm32f303disc/stm32f3xx_hal_conf.h b/hw/bsp/stm32f303disco/stm32f3xx_hal_conf.h
index 38e7a4327..38e7a4327 100644
--- a/hw/bsp/stm32f303disc/stm32f3xx_hal_conf.h
+++ b/hw/bsp/stm32f303disco/stm32f3xx_hal_conf.h
diff --git a/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld b/hw/bsp/stm32f407disco/STM32F407VGTx_FLASH.ld
index c41602720..c41602720 100644
--- a/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld
+++ b/hw/bsp/stm32f407disco/STM32F407VGTx_FLASH.ld
diff --git a/hw/bsp/stm32f407g_disc1/board.mk b/hw/bsp/stm32f407disco/board.mk
index ab3043a40..18223399c 100644
--- a/hw/bsp/stm32f407g_disc1/board.mk
+++ b/hw/bsp/stm32f407disco/board.mk
@@ -10,7 +10,7 @@ CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
# 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 += \
hw/mcu/st/system-init/system_stm32f4xx.c
diff --git a/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c b/hw/bsp/stm32f407disco/board_stm32f407disco.c
index c5695733c..c5695733c 100644
--- a/hw/bsp/stm32f407g_disc1/board_stm32f407g_disc1.c
+++ b/hw/bsp/stm32f407disco/board_stm32f407disco.c