Added comment/todo item

This commit is contained in:
jakeg00dwin 2024-12-06 22:28:14 -08:00
parent e6f0a5aa38
commit 21bf0729e0
1 changed files with 2 additions and 2 deletions

View File

@ -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)