edited for cortex-m0+
Commented out options for other architectures besides the m0+ one.
This commit is contained in:
parent
071f61c026
commit
7978584637
|
@ -21,16 +21,18 @@ set(CMAKE_SYSTEM_VERSION 1)
|
||||||
#-------------------
|
#-------------------
|
||||||
|
|
||||||
# Specify the exact Chip
|
# Specify the exact Chip
|
||||||
set(MCU STM32F103xx)
|
#set(MCU STM32F103xx)
|
||||||
# set(MCU STM32F441xx)
|
# set(MCU STM32F441xx)
|
||||||
# set(MCU STM32F446xx)
|
# set(MCU STM32F446xx)
|
||||||
# set(MCU STM32G0B1xx)
|
# set(MCU STM32G0B1xx)
|
||||||
set(MCU_DIR include/STM32F1xx/)
|
|
||||||
set(MCU_DIR include/STM32F4xx/)
|
#set(MCU_DIR include/STM32F1xx/)
|
||||||
|
#set(MCU_DIR include/STM32F4xx/)
|
||||||
set(MCU_DIR include/STM32G0xx/)
|
set(MCU_DIR include/STM32G0xx/)
|
||||||
set(MCU_SPEC cortex-m3)
|
|
||||||
set(MCU_SPEC cortex-m4)
|
#set(MCU_SPEC cortex-m3)
|
||||||
set(MCU_SPEC cortex-m0+) # Might need to change?
|
#set(MCU_SPEC cortex-m4)
|
||||||
|
set(MCU_SPEC cortex-m0plus) # Might need to change?
|
||||||
# set(FLOAT_SPEC "-mfloat-abi=hard -mfpu=fpv4-sp-d16")
|
# set(FLOAT_SPEC "-mfloat-abi=hard -mfpu=fpv4-sp-d16")
|
||||||
|
|
||||||
# The Startup(ASM) files
|
# The Startup(ASM) files
|
||||||
|
|
Loading…
Reference in New Issue