Working platformio example project for the nicenano NRF52840 board
This is mostly based on the board definition and variant file from https://github.com/ICantMakeThings/Nicenano-NRF52-Supermini-PlatformIO-Support
In your platformio project, you need the boards/ and variants/ file.
First, set things up, create a python venv and install platformio:
- Clone the source code with git:
git clone https://github.com/bertrik/nicenano-example- enter the source tree:
cd nicenano-example
cd supermini- create python virtual env and activate it:
python3 -m venv .venv
source .venv/bin/activate- install platformio:
pip3 install platformioOnce the virtual env is activated and platformio is installed in it, you can compile and upload the example program:
- Connect the supermini to USB and upload the program:
pio run -t upload- You should now be able to see the simple command shell on it:
pio device monitor