updated gitignore file

This commit is contained in:
Shailen Sobhee 2026-04-05 19:55:09 +02:00
parent 08bab05343
commit 51109a16c5
4 changed files with 10 additions and 7 deletions

4
.gitignore vendored
View file

@ -15,5 +15,9 @@ build/
coredump_report.txt coredump_report.txt
coredump.bin coredump.bin
logs/ logs/
# Ignore ELF binary archives
elf_archive/ elf_archive/
*.elf
managed_components/ managed_components/

View file

@ -1,7 +1,7 @@
# Name, Type, SubType, Offset, Size # Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x5000 nvs, data, nvs, 0x9000, 0x5000
otadata, data, ota, 0xE000, 0x2000 otadata, data, ota, 0xE000, 0x2000
phy_init, data, phy, 0x10000, 0x1000 app0, app, ota_0, 0x10000, 0x180000
app0, app, factory, 0x20000, 0x300000 app1, app, ota_1, 0x190000, 0x180000
spiffs, data, spiffs, 0x320000, 0xE0000 spiffs, data, spiffs, 0x310000, 0x0E0000
coredump, data, coredump, 0x3F0000, 0x10000 coredump, data, coredump, 0x3F0000, 0x10000

1 # Name Type SubType Offset Size
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xE000 0x2000
4 phy_init app0 data app phy ota_0 0x10000 0x1000 0x180000
5 app0 app1 app factory ota_1 0x20000 0x190000 0x300000 0x180000
6 spiffs data spiffs 0x320000 0x310000 0xE0000 0x0E0000
7 coredump data coredump 0x3F0000 0x10000

View file

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[platformio] [platformio]
default_envs = esp32c6 default_envs = esp32devdbg
src_dir = src src_dir = src
[env] [env]
@ -56,6 +56,7 @@ board_build.partitions = esp32_3MB.csv
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
[env:esp32c6] [env:esp32c6]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = seeed_xiao_esp32c6 board = seeed_xiao_esp32c6
build_type = debug build_type = debug
board_build.partitions = esp32_huge_app.csv board_build.partitions = esp32_huge_app.csv

View file

@ -92,10 +92,8 @@ void setup() {
#if ESP_ARDUINO_VERSION_MAJOR >= 3 #if ESP_ARDUINO_VERSION_MAJOR >= 3
const esp_task_wdt_config_t wdt_config = { .timeout_ms = 15000, .idle_core_mask = 1, .trigger_panic = true }; const esp_task_wdt_config_t wdt_config = { .timeout_ms = 15000, .idle_core_mask = 1, .trigger_panic = true };
esp_task_wdt_init(&wdt_config); esp_task_wdt_init(&wdt_config);
ESP_LOGE(TAG, "TEST 1");
#else #else
esp_task_wdt_init(15, true); //enable panic so ESP32 restarts esp_task_wdt_init(15, true); //enable panic so ESP32 restarts
ESP_LOGE(TAG, "TEST 2");
#endif #endif
esp_task_wdt_add(NULL); //add current thread to WDT watch esp_task_wdt_add(NULL); //add current thread to WDT watch