diff --git a/cmake/nuttx_toolchain.cmake b/cmake/nuttx_toolchain.cmake index 89face3119..01e7b89c40 100644 --- a/cmake/nuttx_toolchain.cmake +++ b/cmake/nuttx_toolchain.cmake @@ -23,6 +23,12 @@ # search. If the manual of the newly supported toolchain is different, you can # override these methods in the toolchain +# Support CMake to define additional configuration options + +if(EXTRA_FLAGS) + add_compile_options(${EXTRA_FLAGS}) +endif() + # ~~~ # nuttx_generate_preproces_target #