Updated regedit to use the compile options needed for ch32v003
This commit is contained in:
parent
ca4916ce7b
commit
bc5f93d7ae
1 changed files with 13 additions and 3 deletions
|
|
@ -12,9 +12,19 @@ if(NOT UNIT_TESTING)
|
|||
${CMAKE_CURRENT_LIST_DIR}
|
||||
${CMAKE_SOURCE_DIR}/inc/
|
||||
)
|
||||
#target_link_libraries(RegEdit
|
||||
#
|
||||
#)
|
||||
|
||||
target_compile_options(RegEdit PUBLIC
|
||||
-g
|
||||
-Os
|
||||
-flto
|
||||
-ffunction-sections
|
||||
-fdata-sections
|
||||
-fmessage-length=0
|
||||
-msmall-data-limit=8
|
||||
-march=rv32ec
|
||||
-mabi=ilp32e
|
||||
)
|
||||
|
||||
else()
|
||||
target_include_directories(RegEdit PUBLIC
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue