Earlephilhower core IDE menu in platformio

Hey there,

i am using max gerhardts implementation of the pico core to build a custom pico board. Except the flash chip (W25Q128JVS) i am going with the recommended design.
With the Arduino IDE i would select a generic RP2040, Boot Stage 2 W25Q128JVS QSPI /4 and Flash Size 12/4. The rest stays like a classic pico.

But how do i select the boot stage 2 with platformio? The file system is set with board_build.filesystem_size = 4m, that should give me 12MB for the sketch.
As board it would be board = generic.

And of course the settings for the build core.

So how do i select the right second stage bootloader?

Any help is greatly appreciated.

Sorry, we will document this in https://arduino-pico.readthedocs.io/en/latest/platformio.html.

The way to change it is to add

board_build.arduino.earlephilhower.boot2_source = boot2_w25q128jvxq_4_padded_checksum.S

into the platformio.ini.

Assuming you actually meant “W25Q128JV QSPI /4” and not “W25Q128JVS QSPI /4”.

1 Like

Thank you for clarify it! (And sorry for my late response)

I started doubting myself for not finding it :slight_smile: