Please see this repo if you want to develop from within an Ubuntu VM.
Simply put, it has pre-downloaded installation files for
- Mac OS X gcc cross-toolchain for Arm
- nrf51 and nrf52 SDK distributions
- JLink flash utility
- You have sudo on your mac and you know its password
Read before you leap
Listen, this Ansible will run locally, on your beloved system. It does not set up a VM or anything.
I, of course, think that the operations here are harmless (i.e. the script will extract toolchains and so forth), but please take a look at the Ansible script to make sure you will not regret running it.
If you are unsure, email me and I'll provide psychological support.
Still unsure? Calm your nerves by using a VM from here.
Test it out
The script installs all NRF related files under /Users//nrf. It installs the cross-compiler in /usr/local.
Once Ansible completes, issue the following commands to see that everything installed correctly:
cd ~/nrf/projects/fruitymesh make clean all
It should be nice and clean. Your image will be in
Experimenting with FruityMesh
Check out my modified ping example that programs an RGB LED using GPIO pins to show signal strength status of connected devices on the mesh.
- Fork it (https://github.com/ihassin/fruitymesh-mac-osx/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
Code of conduct
Our code of conduct is here.