We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa1e7eb commit fe0bc17Copy full SHA for fe0bc17
CMakeLists.txt
@@ -62,6 +62,12 @@ target_compile_options(flash_loader PUBLIC "-fomit-frame-pointer")
62
target_compile_options(flash_loader PUBLIC "-Wall")
63
target_compile_options(flash_loader PUBLIC "-Werror")
64
65
+# change all floating point constants to single precision
66
+add_compile_options("-fsingle-precision-constant")
67
+
68
+# enable stack usage
69
+add_compile_options(-fstack-usage)
70
71
# set the c++ only options
72
target_compile_options(flash_loader PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-fno-threadsafe-statics>)
73
target_compile_options(flash_loader PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>)
0 commit comments