-
Notifications
You must be signed in to change notification settings - Fork 38
/
CMakeLists.txt
36 lines (33 loc) · 991 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## ./targets/pic_16bit/mikroe/dspic/CMakeLists.txt
# ALL MODULES
add_subdirectory(src/hal_ll)
# SEPARATE MODULES
set(module_list "")
set(module_list_supported "")
set_module_support(module_list module_list_supported ${MCU_NAME} "hal_ll_layer")
if (msdk_adc IN_LIST module_list_supported)
add_subdirectory(src/adc)
endif()
if (msdk_gpio_in IN_LIST module_list_supported)
add_subdirectory(src/gpio)
endif()
if (msdk_i2c_master IN_LIST module_list_supported)
add_subdirectory(src/i2c)
endif()
if (msdk_pwm IN_LIST module_list_supported)
add_subdirectory(src/tim)
endif()
if (msdk_spi_master IN_LIST module_list_supported)
add_subdirectory(src/spi_master)
endif()
if (msdk_uart IN_LIST module_list_supported)
add_subdirectory(src/uart)
endif()
if (msdk_onewire IN_LIST module_list_supported)
add_subdirectory(src/one_wire)
endif()
if (msdk_can IN_LIST module_list_supported)
add_subdirectory(src/can)
endif()
# PERIPHERAL PIN SELECT
add_subdirectory(src/pps)