Saving code of a robot project built based on a Nordic nRF52840 microcontroller
Create a workspace folder. Run the following command:
mkdir nrf52840-bot-a
cd nrf52840-bot-aCreate a python virtual environment and install "west":
python3 -m venv .venv
source .venv/bin/activate
pip install westInitialize the example code and download all the necessary components:
west init -m https://github.com/swfischer/nrf52840-bot-a.git .
west update
west zephyr-exportInstall the remaining python tools:
pip install -r zephyr/scripts/requirements.txtThe most common means of building the project is:
cd apps
west build main -b adafruit_feather_x -p