diff options
Diffstat (limited to 'nrf51.cmake')
-rw-r--r-- | nrf51.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nrf51.cmake b/nrf51.cmake index 4145f91..6746527 100644 --- a/nrf51.cmake +++ b/nrf51.cmake @@ -23,3 +23,5 @@ find_program(ARM_SIZE_TOOL arm-none-eabi-size ${TOOLCHAIN_DIR}/bin) set(CMAKE_C_COMPILER ${ARM_CC}) set(CMAKE_CXX_COMPILER ${ARM_CXX}) set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) + +add_compile_options("-mcpu=cortex-m0" "-mthumb" "-mabi=aapcs" "--std=gnu99" "-Wall" "-mfloat-abi=soft") |