floitsch 03/17/2025 05:23 PMFwiw, here is my workflow:
- Set the JAG_TOIT_REPO_PATH.
- Run make once.
For subsequent developments:
- in the toit repository: make esp32, or make esp32s3, ...
- if the branch in the toit repository changes, I just recompile the Jaguar snapshot without running a full make: ../toit/build/host/sdk/bin/toit compile -O2 --snapshot -o build/assets/jaguar.snapshot src/jaguar.toit
- I typically use the firmware update of Jaguar to push newly compiled envelopes: build/jag firmware update or build/jag firmware update esp32s3...
Also make sure to run build/jag monitor (with the JAG_TOIT_REPO_PATH set) and not just jag monitory. This should give you better stacktraces in C crashes.