Sparkthing Plus RP2040 not blinking after unplugging uf2 flash using c sdk

When I flash a blink uf2 (c sdk) onto the Sparkthing Plus RP2040, unplugging and replugging usb will not light up pin 25 again.

I received the Sparkthing Plus RP2040 in the mail today and I tested a blink uf2 file in the c sdk for the Raspberry Pico. On load using my Debian computer and a USB-C cable, the blinking is working as expected. However, when I unplug the USB from the computer Sparkthing Plus RP2040, the microcontroller no longer blinks.

On a Raspberry Pico, the same blink uf2 file would blink after power has been unplugged.

Hold on, I must have missed the steps to modify cmake to specify it to build specifically for SparkFun Thing Plus RP2040.

It’s working now. There were two problems: My pico-sdk was not updated to the most recent version, so sparkfun_thingplus wasn’t in the boards directory of the pico-sdk. I needed to run “git pull” in my pico-sdk folder to resolve this issue. Second, I needed to run cmake with the -DPICO_BOARD=sparkfun_thingplus in order to create a build directory for the compiled code to be make’d on. Restarts are now persistent.