misc-minor-fixes #35

Merged
matthias merged 3 commits from misc-minor-fixes into main 2025-08-24 15:37:00 +00:00
Owner
No description provided.
matthias self-assigned this 2025-08-20 18:05:34 +00:00
matthias added 4 commits 2025-08-20 18:05:35 +00:00
In theory, the FIFO interrupt could occur after getting the
fifo_read_value and reenabling interrupts, but before __wfi is called,
causing a deadlock. Fix this by calling __wfi with interrupts still
disabled. It will return immediately if an interrupt is pending.

Add two __nop to ensure that the CPU has enough instructions between
enabling interrupts and disabling them again at the top of the loop.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
Some SD cards seem to need a bit more time...
Loading a btree database with actual data in it needs more than 8k. 12k
seems to work for now.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
micropython: Increase micropython stack allocation
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m24s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 9s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
ba16068a3a
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias requested review from stefank 2025-08-20 18:05:35 +00:00
matthias force-pushed misc-minor-fixes from ba16068a3a to 3f0eeb837a 2025-08-23 10:54:20 +00:00 Compare
stefank approved these changes 2025-08-24 15:31:57 +00:00
matthias merged commit e72443ff1f into main 2025-08-24 15:37:00 +00:00
matthias deleted branch misc-minor-fixes 2025-08-24 15:37:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Depends on
Reference: TonBERRY/tonberry-pico#35