add cmake for broadcom 64-bit, like 32-bit it compiles but text is only 8 bytes (incorrect)

This commit is contained in:
hathach
2024-05-02 16:57:50 +07:00
parent ea3f1d39e8
commit 980f5992c8
10 changed files with 187 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
if (TOOLCHAIN STREQUAL "gcc")
set(TOOLCHAIN_COMMON_FLAGS
-mcpu=cortex-a72
)
# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")
elseif (TOOLCHAIN STREQUAL "clang")
set(TOOLCHAIN_COMMON_FLAGS
--target=arm-none-eabi
-mcpu=cortex-a72
)
#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")
elseif (TOOLCHAIN STREQUAL "iar")
message(FATAL_ERROR "IAR not supported")
endif ()