mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
esp32: warn about unsuitable sdkconfig
This commit is contained in:
parent
7bf3d6d6d3
commit
e9a15bc556
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- Port for Renesas RA6M4 with DA14531
|
||||
- example: gatt_streamer_server and le_streamer_client report DLE and PHY changes
|
||||
- gatt_client: queue requests with gatt_client_request_to_send_gatt_query and gatt_client_request_to_write_without_response
|
||||
- esp32: warn about unsuitable sdkconfig
|
||||
|
||||
## Fixed
|
||||
- hci: fix set extended scan response
|
||||
|
@ -45,6 +45,18 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
// warn about unsuitable sdkconfig
|
||||
#include "sdkconfig.h"
|
||||
#if !CONFIG_BT_ENABLED
|
||||
#error "Bluetooth disabled - please set CONFIG_BT_ENABLED via menuconfig -> Component Config -> Bluetooth -> [x] Bluetooth"
|
||||
#endif
|
||||
#if !CONFIG_BT_CONTROLLER_ONLY
|
||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ONLY via menuconfig -> Component Config -> Bluetooth -> Host -> Disabled"
|
||||
#endif
|
||||
#if !CONFIG_BT_CONTROLLER_ENABLED
|
||||
#error "Different Bluetooth Host stack selected - please set CONFIG_BT_CONTROLLER_ENABLED via menuconfig -> Component Config -> Bluetooth -> Controller -> Enabled"
|
||||
#endif
|
||||
|
||||
extern int btstack_main(int argc, const char * argv[]);
|
||||
|
||||
int app_main(void){
|
||||
|
Loading…
x
Reference in New Issue
Block a user