pico-sdk
pico-sdk copied to clipboard
I sent someone to use pico-sdk, they had some trouble, and I checked the README. The instruction to download pico-sdk in teh README section "Quick-start your own project" reads "a....
Clone mbedtls somewhere and define PICO_MBEDTLS_PATH to point to the absolute path, e.g. export PICO_MBEDTLS_PATH=~/mbedtls The mbedtls library must be mbedtls-2.28, e.g. git clone [email protected]:Mbed-TLS/mbedtls.git -b mbedtls-2.28 Rebuild the sdk,...
Normally, you'd just specify a `CMAKE_TOOLCHAIN_FILE` when invoking `cmake`. Why does the Pico SDK require modifying the `CMakeLists.txt`? Is there another way?
ARMv6m stack is supposed to be 8 byte aligned, but very few things (other than 64 bit vaargs care which is why this has gone unnoticed for so long).
The following minimal working example breaks when switching form SDK release 1.3.1 to 1.4: ```c #include #include "pico/stdlib.h" #define PIN_INTERRUPT 22 void isr() { float foo = 123.4567; int bar...
Fixes #968 It's more a workaround than a proper fix, but I've added a flag to prevent calling `tcpip_init()` multiple times during a single run. I've added the same workaround...
1. Connect to WiFi 2. Disconnect by calling cyw43_arch_deinit() 3. Repeat For each repetition, a new FreeRTOS task gets created, eventually leading to a crash or hang when they try...
I've been digging into skipping zero-fill initialization for large bss sections and came across the `uninitialized_data` section in `memmap_default.ld`: https://github.com/raspberrypi/pico-sdk/blob/2e6142b15b8a75c1227dd3edbe839193b2bf9041/src/rp2_common/pico_standard_link/memmap_default.ld#L177-L180 However platform.h appears to use `uninitialized_ram` which is not present...
The PICO_CONFIG_RTOS_ADAPTER_HEADER define, introduced in https://github.com/raspberrypi/pico-sdk/pull/851, will cause [src/common/pico_base/include/pico/config.h](https://github.com/raspberrypi/pico-sdk/blob/master/src/common/pico_base/include/pico/config.h) to include the named file. When that pico/config.h is included from [src/common/pico_base/include/pico.h](https://github.com/raspberrypi/pico-sdk/blob/master/src/common/pico_base/include/pico.h), this works fine. However, [boot_stage2/compile_time_choice.S](https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/boot_stage2/compile_time_choice.S) includes [boot_stage2/include/config.h](https://github.com/raspberrypi/pico-sdk/tree/master/src/rp2_common/boot_stage2/include/boot_stage2/config.h), which includes...
The Pico SDK gives a good, simple set up for LWIP use, but it combines the WiFi state control and the TCP stack setup in `cyw43_lwip` https://github.com/georgerobotics/cyw43-driver/blob/195dfcc10bb6f379e3dea45147590db2203d3c7b/src/cyw43_lwip.c and in the...