pico-project-generator icon indicating copy to clipboard operation
pico-project-generator copied to clipboard

Add checkbox to build for Pi Pico W

Open ThadHouse opened this issue 2 years ago • 5 comments

With the Pi Pico, it'd be nice to be able to generate projects with the correct board flag to build for the Pi Pico. This adds a new command line option and a new checkbox in the GUI to generate a Pi Pico W project.

ThadHouse avatar Jul 31 '22 18:07 ThadHouse

I'm currently doing a major rewrite of this area in the PPG, which will allow specifying multiple board types, I hope to push it to a testing branch in the next couple of days. UI should make this PR unnecessary, but, thanks for it anyway!

JamesH65 avatar Jul 31 '22 19:07 JamesH65

I agree that it'd be nicer to have a generic "board type" option, rather than a boolean "is this Pico or Pico W" option :+1:

lurch avatar Jul 31 '22 19:07 lurch

I'll upload the working branch tomorrow - it has a board selection option, with the list obtained from the boards folder in the SDK.

JamesH65 avatar Jul 31 '22 19:07 JamesH65

The PicoW branch is here https://github.com/raspberrypi/pico-project-generator/tree/pico-w-support

Needs testing if anyone has time! Only tested on Lubuntu, not on Win or Mac yet.

JamesH65 avatar Aug 01 '22 13:08 JamesH65

Haven't done any testing, but left some comments based on a very quick scan of the changes in https://github.com/raspberrypi/pico-project-generator/commit/d2e62dbd19f977330f829fcd49ba53b807f8fd82

lurch avatar Aug 01 '22 18:08 lurch

Closing as the other branch has been merged.

JamesH65 avatar Oct 20 '22 15:10 JamesH65