pico-sdk
pico-sdk copied to clipboard
I recently noticed that `PICO_FLASH_SPI_CLKDIV` was not having any effect on my project ported to RP2350, whereas it worked fine with RP2040 before. This reproduced when using the stock Pico...
Current implementation of [spi.h](https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/hardware_spi/include/hardware/spi.h) does not support setting Frame Format FRF. According to RP2040 Datasheet following formats are possible: 1. Motorola SPI frame format. 0x00 2. TI synchronous serial frame...
Hi. I have a weird issue. My setup is as follows: 1. Windows pc with vscode and official extension. 2. Pi Zero with openocd server installed. 3. Pi Pico connected...
https://github.com/raspberrypi/pico-sdk/pull/1822 and maybe https://github.com/raspberrypi/pico-sdk/pull/1954
I have a project where I have the Pico SDK in a git submodule. I recently tried upgrading the SDK from version 1.5.1 to version 2.0.0, and now I have...
There's an error in the SDK 2.0.0 version https://github.com/raspberrypi/pico-sdk/blob/efe2103f9b28458a1615ff096054479743ade236/src/rp2_common/hardware_pwm/include/hardware/pwm.h#L658 There needs to be a `, ""` added ``` /tmp/pico-sdk/src/rp2_common/hardware_pwm/include/hardware/pwm.h: In function 'pwm_set_irq_mask_enabled': /tmp/pico-sdk/src/rp2_common/hardware_pwm/include/hardware/pwm.h:658:55: error: expected ',' before ')' token static_assert(PWM_IRQ_WRAP_1...
Simply adding a compile time definition -DRP2350 to a pico2 CMake project and compiling the crt0.S with the GNU assembler causes the following error from the included file embedded_start_block.inc.S "pico-sdk/src/rp2_common/pico_crt0/embedded_start_block.inc.S:51:...
Adding a minimal check that does something like: * Do the bazel setup https://pigweed.dev/docs/get_started/github_actions.html * Grab HEAD of Picotool * run ./tools/run_all_bazel_checks.py --picotool-dir=./tmp/picotool Would help to track when the Bazel...
With clang 18.1.3 (from [LLVM-embedded-toolchain-for-Arm](https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm)) the `calloc` function in picolibc (so that's `__real_calloc`) calls `malloc`, which then deadlocks because `__wrap_malloc` tries to lock the mutex already owned by `__wrap_calloc`: ```...
When compiling the following test-code: ``` .program test .fifo txput .wrap_target mov rxfifo[0], ISR mov rxfifo[1], ISR mov rxfifo[2], ISR mov rxfifo[3], ISR mov rxfifo[Y], ISR .wrap ``` I seem...