diego.ar 02/17/2025 08:11 PMafter flashing the device with no-ble, as per your suggestiion... jag flash esp32-no-ble --name device1 im getting a different out of memory error...
Heap report @ out of memory in primitive 6:2:
┌───────────┬──────────┬─────────────────────────────────────────────────────┐
│ Bytes │ Count │ Type │
├───────────┼──────────┼─────────────────────────────────────────────────────┤
│ 45056 │ 13 │ toit processes │
│ 16384 │ 4 │ system 0 601fdfa0-55bf-adc8-1620-cf4dba25ce57 │
│ 20480 │ 5 │ other 1 af3508f3-fd45-adf5-a3d6-b140bf7705bd │
│ 8192 │ 2 │ current 4 42e2be1a-805a-b594-6e2a-f7a6f4a75a7d │
│ 335872 │ 1 │ heap metadata │
│ 4096 │ 1 │ spare new-space │
│ 8608 │ 6 │ heap overhead │
│ 216 │ 3 │ event source │
└───────────┴──────────┴─────────────────────────────────────────────────────┘
Total: 393848 bytes in 16 allocations (9%), largest free 3692k, total free 3707k
Decoding by jag, device has version <2.0.0-alpha.174>
MALLOC_FAILED error.
0: Bus.test <sdk>\i2c.toit:84:5
1: Bus.scan <sdk>\i2c.toit:79:10
2: get-display get_display.toit:23:18
3: main lora_receive.toit:79:28
**
with the esp32-no-ble ... i get a malloc even before..