mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
sdkconfig instead
This commit is contained in:
@@ -14,12 +14,6 @@
|
|||||||
|
|
||||||
#ifdef USE_ARDUINO
|
#ifdef USE_ARDUINO
|
||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#include <esp32-hal.h>
|
|
||||||
// Forward declarations for Arduino watchdog functions (implemented in esp32-hal-misc.c)
|
|
||||||
// These are behind preprocessor guards in esp32-hal.h that static analysis tools may not see
|
|
||||||
void enableLoopWDT();
|
|
||||||
bool disableCore0WDT();
|
|
||||||
bool disableCore1WDT();
|
|
||||||
#else
|
#else
|
||||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
|
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
|
||||||
#include <esp_clk_tree.h>
|
#include <esp_clk_tree.h>
|
||||||
|
@@ -13,6 +13,7 @@ CONFIG_ESP_TASK_WDT=y
|
|||||||
CONFIG_ESP_TASK_WDT_PANIC=y
|
CONFIG_ESP_TASK_WDT_PANIC=y
|
||||||
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
|
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
|
||||||
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
|
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
|
||||||
|
CONFIG_AUTOSTART_ARDUINO=y
|
||||||
|
|
||||||
# esp32_ble
|
# esp32_ble
|
||||||
CONFIG_BT_ENABLED=y
|
CONFIG_BT_ENABLED=y
|
||||||
|
Reference in New Issue
Block a user