Graham Sanderson

Results 291 comments of Graham Sanderson

yes this is a bug; see https://github.com/raspberrypi/pico-sdk/issues/762 the next (SDK1.3.1) version of `elf2uf2` will work around this for you. There will be an errata in the next docs release, and...

> Ah. Yes, I missed that when reading the code: https://github.com/raspberrypi/pico-bootrom/blob/master/bootrom/virtual_disk.c#L205 - that likely needs to be derived from the transfer address rather than the block number. > > If...

The intention is currently that you always use INTERFACE libraries. if you statically link the SDK code into a static library, then you will end up with unexpected results. You...

perhaps ``` if (EXISTS ${PICO_TINYUSB_PATH}/examples/dual tinyusb_dual_examples) set(TINYUSB_FAMILY_PROJECT_NAME_PREFIX "tinyusb_dual_") add_subdirectory(${PICO_TINYUSB_PATH}/examples/dual tinyusb_dual_examples) endif() ```

Yup - picotool works around this problem using the EXEC method if you try to download the bootrom.

Bumping to 1.4.0 to review when we update TinyUSB

> > i need to somehow provide the I2C DMA instance from an address on the I2C bus to read from > > With the current I2C SDK functions, it...

You just need to use two DMA channels in parallel (you don't need to ping pong). see https://github.com/kilograham/rp2040-doom/blob/c77136a24837a41fe1561778d4563d22679850fb/src/pico/piconet.c#L535

you should not need to add `sys_check_timeouts` as lwIP in NO_SYS=0 mode has its own timer/task... (maybe not everything is configured correctly tho!?) have you tried rebooting your AP?