summaryrefslogtreecommitdiff
path: root/examples/build_system/cmake/cpu/cortex-a53.cmake
blob: dde8c0a0c4e3c226155338d0b0e57d1388c87d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if (TOOLCHAIN STREQUAL "gcc")
	set(TOOLCHAIN_COMMON_FLAGS
		-mcpu=cortex-a53
		)
	# set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")

elseif (TOOLCHAIN STREQUAL "clang")
	set(TOOLCHAIN_COMMON_FLAGS
		--target=arm-none-eabi
		-mcpu=cortex-a53
		)
	#set(FREERTOS_PORT GCC_ARM_CM0 CACHE INTERNAL "")

elseif (TOOLCHAIN STREQUAL "iar")
	message(FATAL_ERROR "IAR not supported")

endif ()