这个貌似暂时不能编译
创建cmake
cmake_minimum_required(VERSION 3.19)
project(1_SYD8811_BLE_UART_notifyen_open_power C)
set(CMAKE_C_STANDARD 11)
include_directories(.)
include_directories(profile)
include_directories(../../Include)
include_directories(../../BLE)
include_directories(../../Lib)
include_directories(../../RTT)
include_directories(/Keil_v5/ARM/ARMCC/include)
include_directories(/Keil_v5/ARM/Pack/ARM/CMSIS/4.3.0/CMSIS/Include)
add_executable(1_SYD8811_BLE_UART_notifyen_open_power
profile/SYD_ble_service_Profile.h
profile/SYD_ble_service_service.h
config.h
main.c
rtc_handler.c
timer_handler.c
uart.c
uart_protocol.c
uart_protocol.h)