diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-06-28 00:16:12 +0200 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-06-28 00:16:12 +0200 |
| commit | 17fedd17fc0d9b1bf00dacdbe6834523db9abdb4 (patch) | |
| tree | 82c233ae5a86e6320403c84be53853403968a091 /toolchain/cortex-m3.cmake | |
| parent | 2d734d7ea8c9501e296bcd13cbecbf22396e5d5e (diff) | |
Set CMAKE_SYSTEM_NAME to Generic
Diffstat (limited to 'toolchain/cortex-m3.cmake')
| -rw-r--r-- | toolchain/cortex-m3.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/cortex-m3.cmake b/toolchain/cortex-m3.cmake index 0b60153..1376b5c 100644 --- a/toolchain/cortex-m3.cmake +++ b/toolchain/cortex-m3.cmake @@ -1,9 +1,9 @@ # Name of the target
-set(CMAKE_SYSTEM_NAME arm-none-eabi)
+set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR cortex-m3)
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m3")
set(VFP_FLAGS "")
set(LD_FLAGS "-nostartfiles")
-include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
\ No newline at end of file +include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
|
