https://toitlang.org/ logo
Still a few bugs, but I managed to flash the image...
# general
f
Still a few bugs, but I managed to flash the image and run a few prints. I had to disable cmpct_malloc, as this crashed the system almost immediately. Even with cmcpt_malloc something is still not right:
Copy code
toit] INFO: app_main called
[toit] INFO: starting <v2.0.0-alpha.188.29+floitsch-roll-esp-idf-5.4.2.esp32p4.053cf152>
[toit] DEBUG: clearing RTC memory: invalid checksum
[toit] INFO: running on ESP32P4 - revision 1.3
[toit] WARN: not using cmpctmalloc - memory is not used efficiently
[jaguar] WARN: running Jaguar failed due to 'PRIMITIVE_LOOKUP_FAILED' (1/3)
[jaguar] WARN: running Jaguar failed due to 'PRIMITIVE_LOOKUP_FAILED' (2/3)
[jaguar] WARN: running Jaguar failed due to 'PRIMITIVE_LOOKUP_FAILED' (3/3)
[jaguar] INFO: backing off for 5s
Heap report @ out of memory in 'stack grow' 216:324:
  ┌───────────┬──────────┬─────────────────────────────────────────────────────┐
  │   Bytes   │  Count   │  Type                                               │
  ├───────────┼──────────┼─────────────────────────────────────────────────────┤
  └───────────┴──────────┴─────────────────────────────────────────────────────┘
  Total: 0 bytes in 0 allocations (0%), largest free 376k, total free 439k
The Jaguar warnings are normal, as the P4 doesn't have any WiFi. However, an out-of-memory report without any line is concerning. Clearly something isn't set up correctly.