Commit Graph

4 Commits

Author SHA1 Message Date
Frank
f9b9716fdd Improvements for -S2
- 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
2022-12-21 17:25:41 +01:00
Frank
72851b5725 small changes to info page
- 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.
2022-10-17 15:40:56 +02:00
Frank
b64981692c small update of ChipInfo tool 2022-10-13 19:32:07 +02:00
Frank
7196b177aa ESP32 chip info tool for WLED_DEBUG
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
====================================
````
2022-10-10 20:20:46 +02:00