pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

README doesn't describe how to target Pico W board

Open lbt opened this issue 2 years ago • 5 comments

Although the pico_w.h board is now present the 'terse' README should probably mention how to target it

lbt avatar Jul 01 '22 18:07 lbt

which README?

kilograham avatar Jul 01 '22 21:07 kilograham

Presumably this one? https://github.com/raspberrypi/pico-sdk/blob/master/README.md

@lbt There's more detailed documentation in https://datasheets.raspberrypi.com/picow/connecting-to-the-internet-with-pico-w.pdf

lurch avatar Jul 01 '22 23:07 lurch

Thanks - I knew there would be a target :)

I looked at commit https://github.com/raspberrypi/pico-sdk/commit/5e9a5e827b3265fca53529883abdcc87608abad5 and although the top level README.md is extended, none of the docs mention how to target the newly added board and nor do they add the link mentioned above.

I'd think adding a new board and introducing a new concept of NEEDING to target it would be important enough for the high level README ;)

I'll pull together a patch now @lurch pointed me to the correct syntax

lbt avatar Jul 02 '22 10:07 lbt

This would have saved me some time too, I've put a comment on the PR to the same effect.

JamesWP avatar Sep 27 '22 22:09 JamesWP

I believe adding to CMakeLists.txt file is better than adding as cmake params. I prefer to put in CMakeLists.txt file like below set(PICO_BOARD pico_w)

MrGreensWorkshop avatar Oct 11 '22 04:10 MrGreensWorkshop

merged into develop

kilograham avatar Jan 20 '23 21:01 kilograham