1# This CMakeLists.txt is being kept deliberately simple for now, since 2# the HAL is currently only needed to support one SoC. 3 4zephyr_include_directories(RISCV) 5zephyr_include_directories(devices/RV32M1) 6 7# The HAL uses a CPU name to expose core-specific features. 8# See fsl_device_registers.h and $CPU_RV32M1_{ri5cy,zero_riscy}_features.h 9# for details. 10if(CONFIG_SOC_OPENISA_RV32M1_RI5CY) 11 zephyr_compile_definitions(CPU_RV32M1_ri5cy) 12else() 13 zephyr_compile_definitions(CPU_RV32M1_zero_riscy) 14endif() 15 16add_subdirectory(devices/RV32M1/drivers) 17add_subdirectory(middleware) 18 19zephyr_compile_definitions(XCVR_GENFSK_ENABLED) 20