pico-sdk
pico-sdk copied to clipboard
[Resubmission](https://forums.raspberrypi.com/viewtopic.php?t=375543) of [#1862](https://github.com/raspberrypi/pico-sdk/issues/1862): Error messages are not obvious. Maybe allow `zero` and `one` to be assigned the values `0` and `1`, resp., repeatedly. test.pio: ``` .program test .origin 0 _0:...
fixes #1924
If using stdio_uart_init_full to initialize stdio without using the macros (PICO_DEFAULT_UART_INSTANCE is unset) then stdio_uart_out_flush will get stuck in assert loop from printf Suggest that in stdio_uart.c the function stdio_uart_out_flush...
The `pio_calculate_clkdiv_from_float()` function is truncating the fractional result: ```c *div_frac = (uint8_t)((div - (float)*div_int) * (1u
[Resubmission](https://forums.raspberrypi.com/viewtopic.php?t=375543) of [#1860](https://github.com/raspberrypi/pico-sdk/issues/1860): test.pio: ``` .program test .out 1 right 32 .set 1 ``` ``` $ ~/.pico-sdk/tools/2.0.0/pioasm/pioasm -v 0 test.pio test.pio:3.1-6: PIO version 1 is required for '.in' 3 |...
Now I have a performance issue. Compilers like CORE-V are huge in size, so decided to trim them down a bit. One thing is to leave only default library, by...
in the old sdk 1.x , that function runs very fast, but in sdk 2.0 , it takes about 3s, it's funny. I guess it is a problem!
This PR provides condition variables as companion to mutexes. It is implemented without any assumption on the number of cores. Like mutexes, condition variables are protected by a spinlock. When...
License was spelled two different, incorrect ways in the contrib.md file.
To reproduce, build and flash this code to a Pico (not Pico W because the LED won't blink): ``` #include #include #define LED_PIN 25 int main() { stdio_init_all(); gpio_init(LED_PIN); gpio_set_dir(LED_PIN,...