Added comment/todo item
This commit is contained in:
parent
e6f0a5aa38
commit
21bf0729e0
|
@ -53,6 +53,7 @@ set(CMAKE_SIZE ${TRIPPLE}-size)
|
|||
#riscv-none-embed-size --format=berkeley "CH32V203K8T6.elf"
|
||||
|
||||
# Define compile options
|
||||
# Should check to see if parts are all compiled using same options
|
||||
set(CMAKE_C_FLAGS "-march=${MARCH} -mabi=${MABI} -msmall-data-limit=8\
|
||||
-msave-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections\
|
||||
-fdata-section -fno-common -Wunused -Wuninitialized -g\
|
||||
|
@ -60,8 +61,7 @@ set(CMAKE_C_FLAGS "-march=${MARCH} -mabi=${MABI} -msmall-data-limit=8\
|
|||
--specs=nano.sepcs --specs=nosys.specs
|
||||
")
|
||||
set(CMAKE_CXX_FLAGS "-march=${MARCH}")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-mmcu=${AVR_MCU}")
|
||||
|
||||
#set(CMAKE_EXE_LINKER_FLAGS_INIT "-mmcu=${AVR_MCU}")
|
||||
|
||||
# Define the archiver and other tools
|
||||
set(CMAKE_AR ${TRIPPLE}-gcc-ar)
|
||||
|
|
Loading…
Reference in New Issue