Allocate user IRQ to avoid conflict / hard fault when other parts are changed and/or SDK features included.
Use *.cmake from SDK 1.5.1.
Allow for in-tree board definitions.
A distinctive CMake project name for IDE.
Include host/usbh.h instead of tusb.h where the former could be ifdef-ed out depending on the config. I believe this is a proper semantic / intention.
Overclocking now preserves correct peripherals clock (SPI).
Invoke irq_set_pending() every core1 loop. While invoking once is sufficient when all is going well, I see better stability when things go wrong. It's a cheap insurance that has no bad side effects.
I've experimented with sleep_ms() between vreg_set_voltage() and set_sys_clock_khz() and it did not resolve cold-start issue. TODO removed.
*.cmake
from SDK 1.5.1.host/usbh.h
instead oftusb.h
where the former could be ifdef-ed out depending on the config. I believe this is a proper semantic / intention.irq_set_pending()
every core1 loop. While invoking once is sufficient when all is going well, I see better stability when things go wrong. It's a cheap insurance that has no bad side effects.sleep_ms()
betweenvreg_set_voltage()
andset_sys_clock_khz()
and it did not resolve cold-start issue. TODO removed.