forked from nkolban/esp32-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for esp idf commit 79f206be47c3f608615c1de8c491107e6c9194bb and…
… start of esp-idf integration
- Loading branch information
Showing
5 changed files
with
66 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
menu "nkolban's c++ wrappers" | ||
|
||
menuconfig NKOLBAN | ||
bool "nkolban's c++ wrappers" | ||
default y | ||
help | ||
Select this option to use nkolban's c++ wrappers. | ||
|
||
menuconfig NKOLBAN_BLE | ||
bool "bluetooth wrappers" | ||
depends on BT_ENABLED && NKOLBAN | ||
default y | ||
help | ||
Select this option to use nkolban's c++ bluetooth ble wrappers. | ||
|
||
menuconfig NKOLBAN_BLE2902 | ||
bool "BLE2902" | ||
depends on NKOLBAN_BLE | ||
default y | ||
help | ||
Select this option to use nkolban's c++ bluetooth BLE2902 wrappers. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
c := cpp_utils | ||
COMPONENT_EXTRA_INCLUDES := $(realpath $c) | ||
COMPONENT_ADD_INCLUDEDIRS := $c | ||
COMPONENT_SRCDIRS := $c | ||
|
||
$(call compile_only_if,$(CONFIG_NKOLBAN), \ | ||
$c/Task.o \ | ||
$c/FreeRTOS.o \ | ||
$c/GeneralUtils.o \ | ||
) | ||
|
||
$(call compile_only_if,$(CONFIG_NKOLBAN_BLE), \ | ||
$c/BLEAddress.o \ | ||
$c/BLEAdvertisedDevice.o \ | ||
$c/BLEAdvertising.o \ | ||
$c/BLECharacteristic.o \ | ||
$c/BLECharacteristicCallbacks.o \ | ||
$c/BLECharacteristicMap.o \ | ||
$c/BLEClient.o \ | ||
$c/BLEDescriptor.o \ | ||
$c/BLEDescriptorMap.o \ | ||
$c/BLEDevice.o \ | ||
$c/BLERemoteCharacteristic.o \ | ||
$c/BLERemoteDescriptor.o \ | ||
$c/BLERemoteService.o \ | ||
$c/BLEScan.o \ | ||
$c/BLEServer.o \ | ||
$c/BLEService.o \ | ||
$c/BLEServiceMap.o \ | ||
$c/BLEUUID.o \ | ||
$c/BLEUtils.o \ | ||
$c/BLEValue.o \ | ||
) | ||
|
||
$(call compile_only_if,$(CONFIG_NKOLBAN_BLE2902),$c/BLE2902.o) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters