2020-01-18 20:52:33 +01:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
2019-11-17 20:47:04 +01:00
|
|
|
|
|
|
|
project(pinetime-app C CXX ASM)
|
|
|
|
|
|
|
|
# define some variables just for this example to determine file locations
|
|
|
|
set(NRF_PROJECT_NAME pinetime-app)
|
|
|
|
set(NRF_BOARD pca10040)
|
|
|
|
#set(NRF_SOFTDEVICE s132)
|
|
|
|
|
|
|
|
nRF5x_toolchainSetup()
|
|
|
|
nRF5x_setup()
|
|
|
|
|
|
|
|
#nRF5x_addAppScheduler()
|
|
|
|
#nRF5x_addAppFIFO()
|
|
|
|
#nRF5x_addAppTimer()
|
|
|
|
#nRF5x_addAppUART()
|
|
|
|
nRF5x_addAppButton()
|
|
|
|
nRF5x_addBSP(FALSE FALSE FALSE)
|
|
|
|
nRF5x_addAppGpiote()
|
|
|
|
#nRF5x_addBLEGATT()
|
|
|
|
#
|
|
|
|
#nRF5x_addBLEService(ble_lbs)
|
|
|
|
|
|
|
|
add_definitions(-DCONFIG_GPIO_AS_PINRESET)
|
|
|
|
add_definitions(-DDEBUG)
|
2020-04-19 20:44:59 +02:00
|
|
|
add_definitions(-DNIMBLE_CFG_CONTROLLER)
|
|
|
|
add_definitions(-DOS_CPUTIME_FREQ)
|
2019-11-17 20:47:04 +01:00
|
|
|
|
|
|
|
include_directories(.)
|
2020-02-08 18:01:02 +01:00
|
|
|
include_directories(libs/)
|
|
|
|
|
2020-04-19 20:44:59 +02:00
|
|
|
set(TINYCRYPT_SRC
|
|
|
|
libs/mynewt-nimble/ext/tinycrypt/src/aes_encrypt.c
|
|
|
|
libs/mynewt-nimble/ext/tinycrypt/src/utils.c
|
|
|
|
)
|
|
|
|
|
|
|
|
set(NIMBLE_SRC
|
|
|
|
libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c
|
|
|
|
libs/mynewt-nimble/porting/npl/freertos/src/npl_os_freertos.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_hci_evt.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_l2cap_sig_cmd.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_l2cap_sig.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_l2cap.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_mbuf.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_sm.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_gap.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_gatts.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_gattc.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_conn.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_att_svr.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_store.c
|
2020-04-19 21:26:09 +02:00
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_store_util.c
|
2020-04-19 20:44:59 +02:00
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_pvcy.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_hci.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_log.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_hci_util.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_hci_cmd.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_cfg.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_uuid.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_id.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_misc.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_att.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_att_clt.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_att_svr.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_att_cmd.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_atomic.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_adv.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_flow.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_sm.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_sm_cmd.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_sm_lgcy.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_sm_alg.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_mqueue.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_stop.c
|
|
|
|
libs/mynewt-nimble/nimble/host/src/ble_hs_startup.c
|
|
|
|
libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/transport/ram/src/ble_hci_ram.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_rand.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_conn.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_ctrl.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_hci.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_conn_hci.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_utils.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_scan.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_whitelist.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_adv.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_sched.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_supp_cmd.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_hci_ev.c
|
|
|
|
libs/mynewt-nimble/nimble/controller/src/ble_ll_rfmgmt.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/os_cputime.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/os_cputime_pwr2.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/os_mbuf.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/os_mempool.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/hal_timer.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/mem.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/endian.c
|
|
|
|
libs/mynewt-nimble/porting/nimble/src/os_msys_init.c
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/drivers/nrf52/src/ble_hw.c
|
|
|
|
libs/mynewt-nimble/nimble/drivers/nrf52/src/ble_phy.c
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/host/services/gap/src/ble_svc_gap.c
|
|
|
|
libs/mynewt-nimble/nimble/host/services/gatt/src/ble_svc_gatt.c
|
|
|
|
|
|
|
|
libs/mynewt-nimble/nimble/host/util/src/addr.c
|
|
|
|
)
|
|
|
|
|
2020-02-08 18:01:02 +01:00
|
|
|
set(LVGL_SRC
|
|
|
|
libs/lv_conf.h
|
|
|
|
libs/lvgl/lvgl.h
|
|
|
|
libs/lvgl/src/lv_core/lv_obj.c
|
|
|
|
libs/lvgl/src/lv_core/lv_obj.h
|
|
|
|
libs/lvgl/src/lv_core/lv_group.c
|
|
|
|
libs/lvgl/src/lv_core/lv_group.h
|
|
|
|
libs/lvgl/src/lv_core/lv_disp.c
|
|
|
|
libs/lvgl/src/lv_core/lv_disp.h
|
|
|
|
libs/lvgl/src/lv_core/lv_debug.h
|
|
|
|
libs/lvgl/src/lv_core/lv_debug.c
|
|
|
|
libs/lvgl/src/lv_core/lv_indev.c
|
|
|
|
libs/lvgl/src/lv_core/lv_indev.h
|
|
|
|
libs/lvgl/src/lv_core/lv_refr.c
|
|
|
|
libs/lvgl/src/lv_core/lv_refr.h
|
|
|
|
libs/lvgl/src/lv_core/lv_style.c
|
|
|
|
libs/lvgl/src/lv_core/lv_style.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_misc/lv_anim.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_anim.h
|
2020-02-26 20:49:26 +01:00
|
|
|
libs/lvgl/src/lv_misc/lv_async.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_async.c
|
2020-02-08 18:01:02 +01:00
|
|
|
libs/lvgl/src/lv_misc/lv_fs.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_fs.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_task.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_task.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_area.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_area.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_bidi.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_bidi.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_circ.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_circ.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_color.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_color.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_fs.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_fs.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_gc.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_gc.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_ll.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_ll.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_log.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_log.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_math.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_math.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_mem.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_mem.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_printf.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_printf.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_task.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_task.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_templ.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_templ.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_txt.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_txt.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_types.h
|
|
|
|
libs/lvgl/src/lv_misc/lv_utils.c
|
|
|
|
libs/lvgl/src/lv_misc/lv_utils.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_arc.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_arc.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_basic.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_basic.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_img.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_img.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_label.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_label.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_line.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_line.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_rect.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_rect.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_triangle.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_draw_triangle.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_img_cache.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_img_cache.h
|
|
|
|
libs/lvgl/src/lv_draw/lv_img_decoder.c
|
|
|
|
libs/lvgl/src/lv_draw/lv_img_decoder.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal.h
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_disp.c
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_disp.h
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_indev.c
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_indev.h
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_tick.c
|
|
|
|
libs/lvgl/src/lv_hal/lv_hal_tick.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_font/lv_font.c
|
|
|
|
libs/lvgl/src/lv_font/lv_font.h
|
|
|
|
libs/lvgl/src/lv_font/lv_font_fmt_txt.c
|
|
|
|
libs/lvgl/src/lv_font/lv_font_fmt_txt.h
|
2020-03-01 21:15:39 +01:00
|
|
|
# libs/lvgl/src/lv_font/lv_font_roboto_16.c
|
2020-02-08 18:01:02 +01:00
|
|
|
libs/lvgl/src/lv_font/lv_symbol_def.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_themes/lv_theme.c
|
|
|
|
libs/lvgl/src/lv_themes/lv_theme.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_objx/lv_btn.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_btn.c
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_objx/lv_cont.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_cont.c
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_objx/lv_label.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_label.c
|
|
|
|
|
2020-02-10 21:05:33 +01:00
|
|
|
libs/lvgl/src/lv_themes/lv_theme.c
|
|
|
|
libs/lvgl/src/lv_themes/lv_theme.h
|
|
|
|
libs/lvgl/src/lv_themes/lv_theme_night.h
|
|
|
|
libs/lvgl/src/lv_themes/lv_theme_night.c
|
2020-02-08 18:01:02 +01:00
|
|
|
|
2020-02-16 18:32:36 +01:00
|
|
|
libs/lvgl/src/lv_objx/lv_list.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_list.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_tileview.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_tileview.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_tabview.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_tabview.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_btnm.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_btnm.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_page.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_page.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_img.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_img.h
|
2020-02-26 20:49:26 +01:00
|
|
|
libs/lvgl/src/lv_objx/lv_lmeter.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_lmeter.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_arc.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_arc.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_gauge.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_gauge.h
|
|
|
|
|
|
|
|
libs/lvgl/src/lv_objx/lv_mbox.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_mbox.h
|
2020-02-16 18:32:36 +01:00
|
|
|
|
2020-03-15 18:03:11 +01:00
|
|
|
libs/lvgl/src/lv_objx/lv_bar.c
|
|
|
|
libs/lvgl/src/lv_objx/lv_bar.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_slider.h
|
|
|
|
libs/lvgl/src/lv_objx/lv_slider.c
|
|
|
|
|
2020-02-08 18:01:02 +01:00
|
|
|
)
|
2019-11-17 20:47:04 +01:00
|
|
|
|
2020-03-14 16:33:47 +01:00
|
|
|
list(APPEND IMAGE_FILES
|
|
|
|
DisplayApp/Icons/battery/os_battery_error.c
|
|
|
|
|
|
|
|
DisplayApp/Icons/battery/os_battery_100.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_090.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_080.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_070.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_060.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_050.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_040.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_030.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_020.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_010.c
|
|
|
|
DisplayApp/Icons/battery/os_battery_005.c
|
|
|
|
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_100.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_090.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_080.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_070.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_060.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_050.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_040.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_030.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_020.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_010.c
|
|
|
|
DisplayApp/Icons/battery/os_batterycharging_005.c
|
|
|
|
|
|
|
|
DisplayApp/Icons/bluetooth/os_bt_connected.c
|
|
|
|
DisplayApp/Icons/bluetooth/os_bt_disconnected.c
|
|
|
|
)
|
|
|
|
|
2019-11-17 20:47:04 +01:00
|
|
|
list(APPEND SOURCE_FILES
|
|
|
|
Logging/NrfLogger.cpp
|
|
|
|
BlinkApp/BlinkApp.cpp
|
2019-12-05 21:19:47 +01:00
|
|
|
DisplayApp/DisplayApp.cpp
|
2020-01-18 18:17:52 +01:00
|
|
|
DisplayApp/Screens/Screen.cpp
|
|
|
|
DisplayApp/Screens/Clock.cpp
|
2020-02-23 16:14:03 +01:00
|
|
|
DisplayApp/Screens/Message.cpp
|
2020-02-16 18:32:36 +01:00
|
|
|
DisplayApp/Screens/Tile.cpp
|
2020-02-26 20:49:26 +01:00
|
|
|
DisplayApp/Screens/Meter.cpp
|
|
|
|
DisplayApp/Screens/Gauge.cpp
|
|
|
|
DisplayApp/Screens/Modal.cpp
|
2020-03-14 16:33:47 +01:00
|
|
|
DisplayApp/Screens/BatteryIcon.cpp
|
|
|
|
DisplayApp/Screens/BleIcon.cpp
|
2020-03-15 18:03:11 +01:00
|
|
|
DisplayApp/Screens/Brightness.cpp
|
2020-03-22 12:03:17 +01:00
|
|
|
DisplayApp/Screens/ScreenList.cpp
|
|
|
|
DisplayApp/Screens/Label.cpp
|
2020-05-02 14:16:57 +02:00
|
|
|
DisplayApp/Screens/FirmwareUpdate.cpp
|
2019-11-17 20:47:04 +01:00
|
|
|
main.cpp
|
2019-12-07 17:11:50 +01:00
|
|
|
drivers/St7789.cpp
|
|
|
|
drivers/SpiMaster.cpp
|
2020-02-23 21:09:11 +01:00
|
|
|
drivers/Watchdog.cpp
|
2020-03-01 21:00:59 +01:00
|
|
|
drivers/DebugPins.cpp
|
2019-12-27 16:05:35 +01:00
|
|
|
Components/Battery/BatteryController.cpp
|
2019-12-27 17:05:49 +01:00
|
|
|
Components/Ble/BleController.cpp
|
2020-03-28 19:05:28 +01:00
|
|
|
Components/Ble/NotificationManager.cpp
|
2019-12-28 14:34:50 +01:00
|
|
|
Components/DateTime/DateTimeController.cpp
|
2020-03-15 18:03:11 +01:00
|
|
|
Components/Brightness/BrightnessController.cpp
|
2020-04-19 21:26:09 +02:00
|
|
|
Components/Ble/NimbleController.cpp
|
2020-04-23 20:34:38 +02:00
|
|
|
Components/Ble/DeviceInformationService.cpp
|
2020-04-23 20:57:53 +02:00
|
|
|
Components/Ble/CurrentTimeClient.cpp
|
2020-04-25 13:09:47 +02:00
|
|
|
Components/Ble/AlertNotificationClient.cpp
|
2020-04-27 20:16:03 +02:00
|
|
|
Components/Ble/DfuService.cpp
|
2020-01-03 16:32:31 +01:00
|
|
|
drivers/Cst816s.cpp
|
2020-01-05 11:09:07 +01:00
|
|
|
FreeRTOS/port.c
|
|
|
|
FreeRTOS/port_cmsis_systick.c
|
|
|
|
FreeRTOS/port_cmsis.c
|
2020-04-19 20:44:59 +02:00
|
|
|
${TINYCRYPT_SRC}
|
|
|
|
${NIMBLE_SRC}
|
2020-02-08 18:01:02 +01:00
|
|
|
${LVGL_SRC}
|
2020-03-14 16:33:47 +01:00
|
|
|
${IMAGE_FILES}
|
2020-02-08 18:01:02 +01:00
|
|
|
|
2020-02-10 21:05:33 +01:00
|
|
|
DisplayApp/LittleVgl.cpp
|
|
|
|
DisplayApp/Fonts/jetbrains_mono_extrabold_compressed.c
|
|
|
|
DisplayApp/Fonts/jetbrains_mono_bold_20.c
|
2020-02-23 13:44:39 +01:00
|
|
|
|
|
|
|
SystemTask/SystemTask.cpp
|
2019-11-17 20:47:04 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(INCLUDE_FILES
|
|
|
|
Logging/Logger.h
|
|
|
|
Logging/NrfLogger.h
|
|
|
|
BlinkApp/BlinkApp.h
|
2019-12-05 21:19:47 +01:00
|
|
|
DisplayApp/DisplayApp.h
|
2020-03-15 21:01:24 +01:00
|
|
|
DisplayApp/TouchEvents.h
|
2020-01-18 18:17:52 +01:00
|
|
|
DisplayApp/Screens/Screen.h
|
|
|
|
DisplayApp/Screens/Clock.h
|
2020-02-23 16:14:03 +01:00
|
|
|
DisplayApp/Screens/Message.h
|
2020-02-16 18:32:36 +01:00
|
|
|
DisplayApp/Screens/Tile.h
|
2020-02-26 20:49:26 +01:00
|
|
|
DisplayApp/Screens/Meter.h
|
|
|
|
DisplayApp/Screens/Gauge.h
|
|
|
|
DisplayApp/Screens/Modal.h
|
2020-03-14 16:33:47 +01:00
|
|
|
DisplayApp/Screens/BatteryIcon.h
|
|
|
|
DisplayApp/Screens/BleIcon.cpp
|
2020-03-15 18:03:11 +01:00
|
|
|
DisplayApp/Screens/Brightness.h
|
2020-03-22 12:03:17 +01:00
|
|
|
DisplayApp/Screens/ScreenList.h
|
|
|
|
DisplayApp/Screens/Label.h
|
2020-05-02 14:16:57 +02:00
|
|
|
DisplayApp/Screens/FirmwareUpdate.h
|
2019-12-07 17:11:50 +01:00
|
|
|
drivers/St7789.h
|
|
|
|
drivers/SpiMaster.h
|
2020-02-23 21:09:11 +01:00
|
|
|
drivers/Watchdog.h
|
2020-03-01 21:00:59 +01:00
|
|
|
drivers/DebugPins.h
|
2019-12-27 16:05:35 +01:00
|
|
|
Components/Battery/BatteryController.h
|
2019-12-27 17:05:49 +01:00
|
|
|
Components/Ble/BleController.h
|
2020-03-28 19:05:28 +01:00
|
|
|
Components/Ble/NotificationManager.h
|
2019-12-28 14:34:50 +01:00
|
|
|
Components/DateTime/DateTimeController.h
|
2020-03-15 18:03:11 +01:00
|
|
|
Components/Brightness/BrightnessController.h
|
2020-04-19 21:26:09 +02:00
|
|
|
Components/Ble/NimbleController.h
|
2020-04-23 20:34:38 +02:00
|
|
|
Components/Ble/DeviceInformationService.h
|
2020-04-23 20:57:53 +02:00
|
|
|
Components/Ble/CurrentTimeClient.h
|
2020-04-25 13:09:47 +02:00
|
|
|
Components/Ble/AlertNotificationClient.h
|
2020-04-27 20:16:03 +02:00
|
|
|
Components/Ble/DfuService.h
|
2020-01-03 16:32:31 +01:00
|
|
|
drivers/Cst816s.h
|
2020-01-05 11:09:07 +01:00
|
|
|
FreeRTOS/portmacro.h
|
|
|
|
FreeRTOS/portmacro_cmsis.h
|
2020-01-11 17:14:12 +01:00
|
|
|
libs/date/includes/date/tz.h
|
|
|
|
libs/date/includes/date/chrono_io.h
|
|
|
|
libs/date/includes/date/date.h
|
|
|
|
libs/date/includes/date/islamic.h
|
|
|
|
libs/date/includes/date/iso_week.h
|
|
|
|
libs/date/includes/date/julian.h
|
|
|
|
libs/date/includes/date/ptz.h
|
|
|
|
libs/date/includes/date/tz_private.h
|
2020-02-08 18:01:02 +01:00
|
|
|
|
2020-02-10 21:05:33 +01:00
|
|
|
DisplayApp/LittleVgl.h
|
2020-02-23 13:44:39 +01:00
|
|
|
|
|
|
|
SystemTask/SystemTask.h
|
2020-01-05 11:09:07 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
FreeRTOS/
|
2020-01-11 17:14:12 +01:00
|
|
|
libs/date/includes
|
2020-04-19 20:44:59 +02:00
|
|
|
libs/mynewt-nimble/porting/npl/freertos/include
|
|
|
|
libs/mynewt-nimble/nimble/include
|
|
|
|
libs/mynewt-nimble/porting/nimble/include
|
|
|
|
libs/mynewt-nimble/nimble/host/include
|
|
|
|
libs/mynewt-nimble/nimble/controller/include
|
|
|
|
libs/mynewt-nimble/nimble/transport/ram/include
|
|
|
|
libs/mynewt-nimble/nimble/drivers/nrf52/include
|
|
|
|
libs/mynewt-nimble/ext/tinycrypt/include
|
|
|
|
libs/mynewt-nimble/nimble/host/services/gap/include
|
|
|
|
libs/mynewt-nimble/nimble/host/services/gatt/include
|
|
|
|
libs/mynewt-nimble/nimble/host/util/include
|
|
|
|
libs/mynewt-nimble/nimble/host/store/ram/include
|
2019-11-17 20:47:04 +01:00
|
|
|
)
|
|
|
|
|
2020-01-12 16:26:20 +01:00
|
|
|
link_directories(
|
|
|
|
../
|
|
|
|
)
|
|
|
|
|
2020-03-15 21:01:24 +01:00
|
|
|
nRF5x_addExecutable(pinetime-app "${SOURCE_FILES}" ${INCLUDE_FILES})
|