diff options
Diffstat (limited to 'cmake/cortex_a9.cmake')
| -rw-r--r-- | cmake/cortex_a9.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake/cortex_a9.cmake b/cmake/cortex_a9.cmake new file mode 100644 index 00000000..b84963a4 --- /dev/null +++ b/cmake/cortex_a9.cmake @@ -0,0 +1,13 @@ +# Name of the target +set(CMAKE_SYSTEM_NAME Generic) +set(CMAKE_SYSTEM_PROCESSOR cortex-a9) + +set(THREADX_ARCH "cortex_a9") +set(THREADX_TOOLCHAIN "gnu") + +set(MCPU_FLAGS "-marm -mcpu=cortex-a9") +set(VFP_FLAGS "") +set(SPEC_FLAGS "--specs=nosys.specs") +# set(LD_FLAGS "-nostartfiles") + +include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake) |
