Update:
After a short fight and some troubleshooting I think I have Lua 5.5.0 RC3 working. The Lua compiler isn't working still but hey we can't have everything right?
I need to come up with a test suite that puts Lua through it's paces. I'm happy with the progress today!
Thanks for following along.
NOTES:
I upgraded to SDK 2.2.0 I was getting a system panic because there was a sleep inside the exception handler. (there weren't)
I also see that the TinyUSB still has this bug
After a short fight and some troubleshooting I think I have Lua 5.5.0 RC3 working. The Lua compiler isn't working still but hey we can't have everything right?
I need to come up with a test suite that puts Lua through it's paces. I'm happy with the progress today!
Thanks for following along.
NOTES:
I upgraded to SDK 2.2.0 I was getting a system panic because there was a sleep inside the exception handler. (there weren't)
I also see that the TinyUSB still has this bug
Code:
/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h: In function 'osal_queue_create':/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:120:25: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 120 | critical_section_init(&qdef->critsec); | ^~~~~~~~~~~~~~/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h: In function 'osal_queue_delete':/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:127:27: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 127 | critical_section_deinit(&qdef->critsec); | ^~~~~~~~~~~~~~/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h: In function 'osal_queue_receive':/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:134:35: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | critical_section_enter_blocking(&qhdl->critsec); | ^~~~~~~~~~~~~~/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:136:25: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | critical_section_exit(&qhdl->critsec); | ^~~~~~~~~~~~~~/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h: In function 'osal_queue_send':/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:144:35: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 144 | critical_section_enter_blocking(&qhdl->critsec); | ^~~~~~~~~~~~~~/tmp/pico-sdk/lib/tinyusb/src/osal/osal_pico.h:146:25: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member] 146 | critical_section_exit(&qhdl->critsec); | Statistics: Posted by DarkElvenAngel — Mon Dec 08, 2025 9:40 pm