Skip to content

Go module that abstracts logic for updating firmware+certificates on "NINA" radio modules of Arduino boards

License

Notifications You must be signed in to change notification settings

arduino/nina-fwuploader-plugin

Repository files navigation

nina-fwuploader-plugin

Check Go status

The nina-fwuploader-plugin is a core component of the arduino-fwuploader. The purpose of this plugin is to abstract all the business logic needed to update firmware and certificates for the nina family boards:

How to contribute

Contributions are welcome!

✨ Thanks to all our contributors! ✨

Requirements

  1. Go version 1.20 or later
  2. Task to help you run the most common tasks from the command line
  3. One of the nina family supported boards.

Development

When running the plugin inside the fwuploader, the required tools are downloaded by the fwuploader. If you run only the plugin, you must provide them by hand. Therefore be sure to place the rp2040tools, avrdude, and bossac binaries in the correct folders like the following:

.
├── bossac
│   └── 1.7.0-arduino3
│       └── bossac
├── avrdude
│   └── 6.3.0-arduino17
│       └── bin
│           └── avrdude
├── rp2040tools
│   └── 1.0.6
│       └── rp2040load
└── nina-fwuploader-plugin_linux_amd64
    └── bin
        └── nina-fwuploader-plugin

Commands

  • nina-fwuploader-plugin cert flash -p /dev/ttyACM0 ~/Documents/certificate.pem
  • nina-fwuploader-plugin firmware get-version -p /dev/ttyACM0
  • nina-fwuploader-plugin firmware flash -p /dev/ttyACM0 ~/Documents/fw0.2.0.bin

Security

If you think you found a vulnerability or other security-related bug in the nina-fwuploader-plugin, please read our [security policy] and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: [email protected]

License

nina-fwuploader-plugin is licensed under the AGPL 3.0 license.

You can be released from the requirements of the above license by purchasing a commercial license. Buying such a license is mandatory if you want to modify or otherwise use the software for commercial activities involving the Arduino software without disclosing the source code of your own applications. To purchase a commercial license, send an email to [email protected]

About

Go module that abstracts logic for updating firmware+certificates on "NINA" radio modules of Arduino boards

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •