Check and fix other board defines if required (like those related to Fruit Jam install issues)
Firstly the install uf2 didn't download, but was in release. I've fixed the boards definition (installBoardName) so that now works.
Secondly, I've got circuitpython installed, so now installing WipperSnapper I see the yellow lights, but no drive appears. The serial console shows a repeating message:
Fatal Error: Halted execution!
ERROR Initializing Filesystem
I'm assuming initially that I need to format the device first, using the universal nuke from pimoroni, because the official one might not erase all the memory (see https://github.com/raspberrypi/pico-examples/issues/642)
-EDIT- Assumption was wrong, same error after erasing. Looks like our fruit jam firmware is being built with zero bytes for the user file system partition. Updated ci-arduino repo in branches/ci-wippersnapper-fruitjam-fs-size Test PR in https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/814
Test PR shows Wipper drive as expected so the change to the partition size is a good fix. I went with 8MB APP and 8MB FS, in case we later get creative with visual output or user backgrounds etc. I've also asked in the circuitpython channel to see if there's a better / more compatible partition layout.
Next problem is it finds no wifi networks. Checked and upgraded to latest airlift (3.2.0), circuitpython demo works (shows networks then connects fine).
Next problem is it finds no wifi networks. Checked and upgraded to latest airlift (3.2.0), circuitpython demo works (shows networks then connects fine).
Seems fine now that I've instead built it locally with platformIO. Maybe the lib_ignore = WiFi, WiFi101, Adafruit Zero DMA Library stuff helps.
The CI asset is no good, it does fix the drive appearing issue, but there is a problem with Wifi networks not being seen. Running arduino-cli locally to compile then flash produces the same error as CI, so not a UF2 bundling issue.
Seems to be about the defines. I was under the impression that we needed the ARDUINO_{BOARD} define, but we've been using {BOARD} instead, and that's the problem. Adding the build property to match the airlift IfDef solves it.
arduino-cli compile --clean .\examples\Wippersnapper_demo\ --fqbn="rp2040:rp2040:adafruit_fruitjam:arch=arm,flash=16777216_8388608,freq=120,dbgport=Disabled,dbglvl=None,usbstack=tinyusb" --config-file C:\users\tyeth\.arduinoIDE\arduino-cli.yaml --build-path=arduino-build --verbose --build-property build.extra_flags="-DADAFRUIT_FRUITJAM_RP2350"