Merge pull request #122 from cr1901/synopsys

Synopsys Refactor
This commit is contained in:
hathach
2019-09-11 10:37:49 +07:00
committed by GitHub
6 changed files with 55 additions and 705 deletions
+3 -3
View File
@@ -30,10 +30,10 @@ INC += \
$(TOP)/$(ST_CMSIS)/Include \
$(TOP)/$(ST_HAL_DRIVER)/Inc \
$(TOP)/hw/bsp/$(BOARD)
# For TinyUSB port source
VENDOR = st
CHIP_FAMILY = stm32f4
CHIP_FAMILY = synopsys
# For freeRTOS port source
FREERTOS_PORT = ARM_CM4F
@@ -42,7 +42,7 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f407vg
JLINK_IF = swd
# Path to STM32 Cube Programmer CLI, should be added into system path
# Path to STM32 Cube Programmer CLI, should be added into system path
STM32Prog = STM32_Programmer_CLI
# flash target using on-board stlink
+3 -3
View File
@@ -20,7 +20,7 @@ SRC_C += \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_cortex.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_rcc.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_gpio.c
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_gpio.c
SRC_S += \
$(ST_CMSIS)/Source/Templates/gcc/startup_stm32f411xe.s
@@ -33,7 +33,7 @@ INC += \
# For TinyUSB port source
VENDOR = st
CHIP_FAMILY = stm32f4
CHIP_FAMILY = synopsys
# For freeRTOS port source
FREERTOS_PORT = ARM_CM4F
@@ -42,7 +42,7 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f41ve
JLINK_IF = swd
# Path to STM32 Cube Programmer CLI, should be added into system path
# Path to STM32 Cube Programmer CLI, should be added into system path
STM32Prog = STM32_Programmer_CLI
# flash target using on-board stlink
+3 -3
View File
@@ -21,7 +21,7 @@ SRC_C += \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_cortex.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_rcc.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_rcc_ex.c \
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_gpio.c
$(ST_HAL_DRIVER)/Src/stm32f4xx_hal_gpio.c
SRC_S += \
$(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s
@@ -34,7 +34,7 @@ INC += \
# For TinyUSB port source
VENDOR = st
CHIP_FAMILY = stm32f4
CHIP_FAMILY = synopsys
# For freeRTOS port source
FREERTOS_PORT = ARM_CM4F
@@ -43,7 +43,7 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = stm32f41zx
JLINK_IF = swd
# Path to STM32 Cube Programmer CLI, should be added into system path
# Path to STM32 Cube Programmer CLI, should be added into system path
STM32Prog = STM32_Programmer_CLI
# flash target using on-board stlink
+2 -2
View File
@@ -14,7 +14,7 @@ CFLAGS += -Wno-error=sign-compare
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32H7xx_HAL_Driver
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32H7xx
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32h743nucleo/STM32H743ZITx_FLASH.ld
@@ -38,4 +38,4 @@ INC += \
# For TinyUSB port source
VENDOR = st
CHIP_FAMILY = stm32h7
CHIP_FAMILY = synopsys