14 lines
332 B
CMake
14 lines
332 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
zephyr_compile_options(-mcpu=${GCC_M_CPU} -mno-sdata -mmpy-option=6)
|
|
|
|
if(CONFIG_SOC_EMSK_EM9D)
|
|
zephyr_compile_options_ifdef(CONFIG_FLOAT -mfpu=fpus_all)
|
|
elseif(CONFIG_SOC_EMSK_EM11D)
|
|
zephyr_compile_options_ifdef(CONFIG_FLOAT -mfpu=fpuda_all)
|
|
endif()
|
|
|
|
zephyr_sources(
|
|
soc.c
|
|
soc_config.c
|
|
)
|