... turns out that the partition file name has to end in "tinyuf2.csv" - its a special flag for internal build scripts.
espressif, I sometimes hate you .-/
useful for small -C3 boards with 2MB flash memory only. Based on suggestions from https://github.com/Aircoookie/WLED/pull/2951 .
Needs `-D WLED_DISABLE_OTA` as OTA is not possible with 2MB.
RAM: [== ] 22.5% (used 73724 bytes from 327680 bytes)
Flash: [========= ] 94.9% (used 1492020 bytes from 1572864 bytes)
optional 4MB partition layout: 1.8MB firmware (+400KB), 256KB LittleFS (-800KB); based on "min_spiffs.csv" from arduino-esp32, but increased filesystem partition from 128KB to 256KB.
* This is basically "app3M_fat9M_16MB.csv" from arduino-esp32 2.0.7 - just changing the filesystem type from FAT to spiffs.
* deleted the older, broken "Soundreactive 16MB" partition file.
* minor fixes for pio.ini
* adding wled.ini.cpp to .gitignore (was overdue ...)
- new partition table for boards with UF2 boot (Adafruit qt py S2)
- better treatment of debug out using "USBCDC" native port
- workarounds for watchdog crashes on -S2
- Add missing but mandatory build flags for -S2 and -C3
- added "max used PSRAM" info
- moved all mem infos into one part
- only check PSRAM if BOARD_HAS_PSRAM
- oappend: debug message in case that stack buffer is too small.
This is a nice little chip info tool that I've created some time ago.
When building with `-D WLED_DEBUG`, it reports some interesting information about your ESP32 on serial monitor.
````
====================================
Chip info for ESP32-D0WDQ5
SDK: v4.4.1-472-gc9140caf8c
------------------------------------
XTAL FREQ: 40 MHz
APB FREQ: 80.0 MHz
CPU FREQ: 240 MHz
ESP32 DEVICE: ESP32-D0WD-V3 rev.3, 2 core(s), 240MHz.
Chip feature flags: 0b110010
* 0b0000010 Chip has 2.4GHz WiFi
* 0b0001000 Chip has Bluetooth LE
* 0b0010000 Chip has Bluetooth Classic
FLASH CHIP FREQ (magic): 80.0 MHz
FLASH SIZE (magic byte): 4.00 MB
FLASH MODE (magic byte): 2 ; 0=QIO, 1=QOUT, 2=DIO, 3=DOUT or other
FLASH CHIP ID: 0x16405E
FLASH CHIP FREQ: 80.0 MHz
FLASH REAL SIZE: 4.00 MB
FLASH REAL MODE: DIO
------------------------------------
RAM HEAP SIZE: 261.79 KB
FREE RAM: 232.57 KB
MAX RAM alloc: 107.99 KB
ESP32 PSRAM: found.
* SPI RAM Chip availeable: 64MBits = 8MBytes
total PSRAM: 4094 KB
FREE PSRAM: 4093.89 KB
MAX PSRAM alloc:4031.99 KB
used PSRAM: 0 Bytes
* PSRAM free after malloc / ps_malloc : 2833.85 KB
* Can allocate big memory with ps_malloc()
* Can allocate big memory with malloc()
CPU #0 - last reset reason = 1 POWERON_RESET => Vbat power on reset
CPU #1 - last reset reason = 14 EXT_CPU_RESET => APP CPU reset by PRO CPU
====================================
````
settings.js for pasting data into HTML.
Reduced simple & classic flash footprint.
Split iro.js and rangetouch.js into separate requests (instead of embedding)
- Utilizing addToConfig() & readFromConfig()
- UM configuration Settings page
- MQTT support for usermods
- A few sample usermods including rewritten Temparature and new Multi-Relay