pico-sdk
pico-sdk copied to clipboard
As of SDK 1.4.0 there appears to be no way to change system exception priorities. Example usage: ``` exception_set_priority(SYSTICK_EXCEPTION, 0xFF); ```
As far as I can tell out_flush() isn't implemented in any of the stdio drivers, so stdio_flush() doesn't actually do anything. Also the comment in the header file for stdio_flush()...
Adding static_queue_init and static_queue_init_spinlock. These accept a pointer to a static storage array. This allows using the queue API without calloc. Added null checks to queue logic also. No testing...
During 'lightsleep' user may want to keep some clocks running (for example PIOs), but at present microPython calls 'clock-init()' causing the SYS_CLK to be reinitialized. This patch allows microPython to...
See https://github.com/raspberrypi/pico-sdk/pull/1675
Values greater than approx. 100 ms are unreliable for connectable unidirected advertisements, ex. 150 ms equals more likely to 800 ms, 1280 ms - 6500 ms (with high variations). Non-connectable...
I was looking into the queue API and I noticed that it works off the heap. It should be possible to implement this as static? https://github.com/raspberrypi/pico-sdk/blob/6a7db34ff63345a7badec79ebea3aaef1712f374/src/common/pico_util/queue.c#L11-L18 It is a little...
I encountered a race condition in the I2C Slave: https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_i2c_slave/i2c_slave.c#L56-L79 If there is active traffic on the bus from the master (i.e. device address retries) during initialization, when the slave...
From thread: https://github.com/orgs/micropython/discussions/14087 I am looking to keep the PIOs running during 'lightsleep()', as this will help my project save power. The CPU can pre-fill the FIFOs and then sleep,...
Don't know if this is an issue or if I am just overlooking something. I am setting custom clocks in CMakeLists because I am using a non-standard crystal. Everything seemed...