Fix compilation

This commit is contained in:
Olivier 2025-12-08 20:08:32 +01:00
parent bb0d3f5335
commit 6a614dc6ee
6 changed files with 2563 additions and 13 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
build/
sdkconfig.old

View File

@ -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)

View File

@ -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]()

2549
sdkconfig Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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)