No stupid questions… except for the ones you don’t ask
For your “can’t enter text into the project name field issue”:
Re: installing your board - you don’t need to install the board, just the platform. Installing the platform (Nordic nRF52 v3.8.0) installs support for all the boards listed. You can then pick Nordic nRF52-DK from the new projects wizard as you’ve found, or use board = nrf52_dk in the platformio.ini as shown in the PIO documentation for that board.
As I think platformio is for guys like me wanting to get a quick entry into embedded programming, this hint:
It would have been nice to install one of the examples and it runs out of the box.
But, as with installing it “raw” without platformio, I ended up Googling.
The examples provided seems to be for an older board which I didn’t recognize easily so I had to
Extend platformio.ini (after wondering why the examples do not compile)
Exchange LED1 to BUTTON1 (after wondering why the LED did not blink)
I was always thinking it is my fault (my Linux, wrong installation, wrong setup of VCode, mbed, wrong bootloader on Dev kit, broken cable, wrong switch position of Dev Board, or what ever)
as I trusted the examples (thats what they are for) …
So it would probably be nice to have running examples provided, or to have a comment in main.cpp to not trust it (only tested for chip xxxx on dev board xyz on os yyyy with mbed version zzzz),
Regarding exchanging LED1 to BUTTON1 to make LED1 blink: thank you
so much for the hint! This did the trick!
Is this a bug of the nRF52840 devkit description or is it a platformio related bug in the Arduino Framework?
Did you already report the bug?
Exactly. And if it’s not there, it won’t be in PlatformIO’s package for that framework. And when you look at that repo, there are 7 open issues issues going back as far as 2016 over adding support for the nrf52840, with the most recent commened on in December 2019, so I don’t know if it will actually happen. There was some mention of cobbled together works though.
There is also the Adafruit BSP, which appears to actually have support specifically… is that any better?