David Thacher

Results 8 issues of David Thacher

C++ compiler complains about narrowing. The hack that removed it was changing the char to uint8_t. This is standard C so this should not cause any issues. Using unsigned char...

From section 2.19.4 of datasheet: ``` Both the output signal level and acceptable input signal level at the pad are determined by the digital IO supply (IOVDD). IOVDD can be...

This is not library friendly: https://github.com/raspberrypi/pico-sdk/blob/426e46126b5a1efaea4544cdb71ab81b61983034/src/rp2_common/hardware_dma/dma.c#L20 https://github.com/raspberrypi/pico-sdk/blob/426e46126b5a1efaea4544cdb71ab81b61983034/src/rp2_common/hardware_pio/pio.c#L21 I am able to work around this, but this requires a factory. As mentioned here: https://forums.raspberrypi.com/viewtopic.php?t=334125 This is not disclosed in documentation leading...

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...

pico_util
orphan PR

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...

pico_util

#1453 Extends mutex API to support holding the spin lock. This can be used to prevent deadlock from competing core.

It would be nice to not have blocking SPI for packet access. I could technically work around this with a RTOS, however that will waste bus cycles. This would also...

Warning I did not run any tests on this code. My apologies. The code is a simple fix for making sure the first bit plane has enough time to shift...