mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 01:12:01 +00:00
.
This commit is contained in:
@@ -24,7 +24,13 @@
|
||||
ESP Insights enabled
|
||||
esp32s2 -> ESP Prog USB
|
||||
Make initial flash with DFU mode selected (Device Firmware Update) [https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32s2/api-guides/usb-console.html]
|
||||
|
||||
Flash with UART
|
||||
Channel for console output: USB CDC
|
||||
|
||||
CMakeLists.txt
|
||||
add_definitions(
|
||||
-DARDUINO_USB_MODE
|
||||
-DARDUINO_USB_CDC_ON_BOOT
|
||||
|
||||
*/
|
||||
|
||||
@@ -43,6 +49,7 @@
|
||||
#include <app_wifi.h>
|
||||
#include <app_insights.h>
|
||||
|
||||
#include "sys_status.h"
|
||||
#include "app_priv.h"
|
||||
|
||||
static const char *TAG = "app_main";
|
||||
@@ -96,6 +103,8 @@ void app_main()
|
||||
app_driver_init();
|
||||
app_driver_set_state(DEFAULT_SWITCH_POWER);
|
||||
|
||||
//sys_status_init();
|
||||
|
||||
/* Initialize NVS. */
|
||||
/*
|
||||
Non-volatile storage (NVS) library is designed to store key-value pairs in flash.
|
||||
|
Reference in New Issue
Block a user