1if(CONFIG_HAS_MEC5_HAL)
2  zephyr_library()
3endif()
4
5string(TOUPPER ${CONFIG_SOC_SERIES} MEC5_SERIES)
6string(TOUPPER ${CONFIG_SOC} MEC5_DEVICE)
7
8message(STATUS "HAL mec5 SoC series: MEC5_SERIES = ${MEC5_SERIES}")
9message(STATUS "HAL mec5 SoC device: MEC5_DEVICE = ${MEC5_DEVICE}")
10
11add_subdirectory(drivers)
12add_subdirectory(devices)
13add_subdirectory(devices/${MEC5_SERIES})
14