board/<board-type>/boards.txt
and update the version number in `board/board/<board-type>/bootloader
. You can either duplicate one of the bootloader for the same architecture or add a custom one. For more info to customize a bootloader see How to customize a bootloaderboard/<board-type>
folder you created or modified by running tar -jcvf <folder-path>.tar.bz2 <folder-path>
shasum -a 256 <archive-path.tar.bz2>
package_movuino_index.json
with informations about the new board and add the checksum you found earlier as well as the archive size in bytes.In order to test locally, you can spin up a local web server with python by running python3 -m http.server
in the root of the repo.
Make sure the archives download links in package_movuino_index.json
have been modified to use http://localhost:8000/...
.
You can then add http://localhost:8000/package_movuino_index.json
in the settings of the arduino and test your work.
Don’t forget to erase the Arduino Cache (~/Library/Arduino15/Cache/
on Mac) and to restart your Arduino IDE.
https://github.com/adafruit/Adafruit_nRF52_Bootloader.git
.bootloaders/
.git apply <patchfile-path>
. This will add the movuino bootloader source files to the adafruit repo.make BOARD=<board-source-folder-name> all
to compile the bootloader. You will need to have adafruit-nrfutils installed to created the bootloader in .zip format._build/