-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakeLists.txt
37 lines (36 loc) · 1.63 KB
/
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
37
#todo 918
zephyr_library()
zephyr_include_directories(src/BSP)
zephyr_include_directories(src/FWlib)
zephyr_include_directories(src/Tools)
zephyr_include_directories(src/hal_zephyr)
zephyr_include_directories(src/StartUP/ing916)
zephyr_include_directories(bundles/noos_mini/inc)
zephyr_library_sources(src/hal_zephyr/hal_zephyr.c)
zephyr_library_sources(src/hal_zephyr/gen_os_impl.c)
zephyr_library_sources(src/FWlib/peripheral_adc.c)
zephyr_library_sources(src/FWlib/peripheral_gpio.c)
zephyr_library_sources(src/FWlib/peripheral_i2c.c)
zephyr_library_sources(src/FWlib/peripheral_pinctrl.c)
zephyr_library_sources(src/FWlib/peripheral_pwm.c)
zephyr_library_sources(src/FWlib/peripheral_rtc.c)
zephyr_library_sources(src/FWlib/peripheral_ssp.c)
zephyr_library_sources(src/FWlib/peripheral_sysctrl.c)
zephyr_library_sources(src/FWlib/peripheral_timer.c)
zephyr_library_sources(src/FWlib/peripheral_uart.c)
zephyr_library_sources(src/FWlib/peripheral_comparator.c)
zephyr_library_sources(src/FWlib/peripheral_dma.c)
zephyr_library_sources(src/FWlib/peripheral_efuse.c)
zephyr_library_sources(src/FWlib/peripheral_i2s.c)
zephyr_library_sources(src/FWlib/peripheral_ir.c)
zephyr_library_sources(src/FWlib/peripheral_keyscan.c)
zephyr_library_sources(src/FWlib/peripheral_pdm.c)
zephyr_library_sources(src/FWlib/peripheral_pte.c)
zephyr_library_sources(src/FWlib/peripheral_qdec.c)
zephyr_library_sources(src/FWlib/peripheral_usb.c)
zephyr_library_sources(src/Tools/trace.c)
zephyr_library_sources(src/BSP/eflash.c)
add_definitions(-DUSE_STDPERIPH_DRIVER)
add_definitions(-DPOWER_SAVING)
add_definitions(-DLISTEN_TO_POWER_SAVING)
add_definitions(-DINGCHIPS_FAMILY_916=1)