Fix compilation
This commit is contained in:
parent
bb0d3f5335
commit
6a614dc6ee
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
build/
|
||||||
|
sdkconfig.old
|
||||||
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.16.0)
|
cmake_minimum_required(VERSION 3.16.0)
|
||||||
|
set(EXTRA_COMPONENT_DIRS src)
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
idf_build_set_property(MINIMAL_BUILD ON)
|
|
||||||
project(BLE_Button_Matrix)
|
project(BLE_Button_Matrix)
|
||||||
|
|||||||
@ -1,12 +1,7 @@
|
|||||||
# Guide BLE with NimBLE on esp32 with esp-idf in C
|
# BLE button matrix for ESP32
|
||||||
|
|
||||||
## BLE principles
|
|
||||||
|
|
||||||
### General
|
|
||||||
### GAP
|
|
||||||
### GATT
|
|
||||||
|
|
||||||
## References documents
|
## References documents
|
||||||
|
|
||||||
### ESP-IDF
|
### ESP-IDF
|
||||||
[Official documentation]()
|
[Official documentation]()
|
||||||
[Github]()
|
[Github]()
|
||||||
|
|||||||
@ -1,6 +1,10 @@
|
|||||||
# This file was automatically generated for projects
|
set(SRCS
|
||||||
# without default 'CMakeLists.txt' file.
|
"main.c"
|
||||||
|
"utils.c"
|
||||||
|
"gatt_server.c"
|
||||||
|
"keyboard.c"
|
||||||
|
"hid_keyboard_callbacks.c")
|
||||||
|
|
||||||
FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)
|
idf_component_register(SRCS ${SRCS}
|
||||||
|
INCLUDE_DIRS ${PROJECT_DIR}/include
|
||||||
idf_component_register(SRCS ${app_sources})
|
REQUIRES bt nvs_flash)
|
||||||
Loading…
Reference in New Issue
Block a user