pico-sdk
pico-sdk copied to clipboard
We "latch" CMake variables from the environment when we configure a build, so the build remains stable. We should reset them again in particular code paths where the latched value...
The Bazel toolchain implementation does not have default args for the compilation modes opt and debug i,e --compilation_mode=dbg and --compilation_mode=opt Also the rule "@pico-sdk//bazel/toolchain:override_debug" provides defaults of -Og and -g3,...
We are seeing ~4ms per 1KB loaded in a copy to RAM firmware (XIP is doing quite a lot of work sending sequential addresses to the flash chip) which is...
Was mentioned in https://github.com/raspberrypi/pico-sdk/issues/265#issuecomment-801522889 but [still](https://forums.raspberrypi.com/viewtopic.php?p=2304973#p2304973) (or again) an issue. For example, the links to [gpio_override](https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#gpio_8h_1a760c408911eb8aaad767d39df9e4e990) in [gpio_set_inover()](https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#group_hardware_gpio_1ga6037bdaf406a84336043c9a6c40e5073) and [gpio_set_outover()](https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#group_hardware_gpio_1ga829129eed5d42f3455e9da339219d814) are not working but [GPIO_OVERRIDE_INVERT](https://github.com/raspberrypi/pico-sdk/blob/ee68c78d0afae2b69c03ae1a72bf5cc267a2d94c/src/rp2_common/hardware_gpio/include/hardware/gpio.h#L209) can be found in the...
I have created a library where the definitions of which pins to use are controlled by compiler defines in the CMakeLists.txt file. For most of the pins used by my...
With the same configure(cmake files, clion openocd download e.g.) ,pico will reset automaticlly after programed when I use sdk1.5.0, bug it doesn't work when I use SDK2.1.0 This is my...
The comment (and by extension docs?) for `pio_gpio_init` states: > Note that this is not necessary for a state machine to be able to read the *input* value from a...
Consider the following (equivalent) blocks - one stalling on PIO, one on SIO. Got it to working by manually substracting the 16 from the GPIO pin number (pin_vsync = 45...
### Description I have observed that on Pico 2, when running the [powman example](https://github.com/peterharperuk/pico-examples/blob/35db8fc31d322de2bcac641d9b6b0f6fdb73062c/powman/powman_example.c), after random number of wake-ups, the RP2350 may eventually enter a halted state during one of...
Similar to #1898 , but slightly different... I recently noticed that Table 94 in https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf (on page 83) lists IRQ numbers 40 and 41 as `PROC0_IRQ_CTI` and `PROC1_IRQ_CTI`, but these...