Updated regedit to use the compile options needed for ch32v003

This commit is contained in:
Jake Goodwin 2026-02-22 19:12:37 -08:00
parent ca4916ce7b
commit bc5f93d7ae

View file

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