Add default config for BT init and offsets for partition table
This commit is contained in:
parent
57028ad65e
commit
aad4b336d6
@ -23,8 +23,7 @@ bool btStarted(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool btStart(){
|
bool btStart(){
|
||||||
esp_bt_controller_config_t cfg;
|
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
|
||||||
memset(&cfg, 0, sizeof(esp_bt_controller_config_t));
|
|
||||||
if(esp_bt_controller_get_status() == ESP_BT_CONTROLLER_STATUS_ENABLED){
|
if(esp_bt_controller_get_status() == ESP_BT_CONTROLLER_STATUS_ENABLED){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
nvs, data, nvs, 0x9000, 0x5000
|
nvs, data, nvs, 0x9000, 0x5000
|
||||||
otadata, data, ota, 0xe000, 0x2000
|
otadata, data, ota, 0xe000, 0x2000
|
||||||
app0, app, ota_0, 0x10000, 1M,
|
app0, app, ota_0, 0x10000, 1M,
|
||||||
app1, app, ota_1, , 1M,
|
app1, app, ota_1, 0x110000,1M,
|
||||||
spiffs, data, spiffs, , 0x1F0000,
|
spiffs, data, spiffs, 0x210000,0x1F0000,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user