raspberrypi / pico-project-generator

Tool to automatically generate a Pico C SDK Project
BSD 3-Clause "New" or "Revised" License
289 stars 74 forks source link

Add checkbox to build for Pi Pico W #56

Closed ThadHouse closed 1 year ago

ThadHouse commented 1 year ago

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.

JamesH65 commented 1 year ago

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!

lurch commented 1 year ago

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:

JamesH65 commented 1 year ago

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 commented 1 year ago

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.

lurch commented 1 year ago

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

JamesH65 commented 1 year ago

Closing as the other branch has been merged.