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)
|
||||
set(EXTRA_COMPONENT_DIRS src)
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
idf_build_set_property(MINIMAL_BUILD ON)
|
||||
project(BLE_Button_Matrix)
|
||||
|
||||
@ -1,12 +1,7 @@
|
||||
# Guide BLE with NimBLE on esp32 with esp-idf in C
|
||||
|
||||
## BLE principles
|
||||
|
||||
### General
|
||||
### GAP
|
||||
### GATT
|
||||
# BLE button matrix for ESP32
|
||||
|
||||
## References documents
|
||||
|
||||
### ESP-IDF
|
||||
[Official documentation]()
|
||||
[Github]()
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
# This file was automatically generated for projects
|
||||
# without default 'CMakeLists.txt' file.
|
||||
set(SRCS
|
||||
"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 ${app_sources})
|
||||
idf_component_register(SRCS ${SRCS}
|
||||
INCLUDE_DIRS ${PROJECT_DIR}/include
|
||||
REQUIRES bt nvs_flash)
|
||||
Loading…
Reference in New Issue
Block a user