I would like to get an Arduino bootloader onto Application Board 3.0 to make it easier to work with. It *should* be able to run as an Arduino - there are other Arduinos based on the NRF28450. The sensors work over I2C.
I have not yet been able to build a Nicla bootloader. There are not enough instructions on how to build with "task", and what environment variables need to be given. Otherwise it looks like it will work.
The "task" approach with Taskfile.yml is interesting and quite advanced. This is new to me. It does a lot of things, like downloads docker containers and such. Apparently, I had all the prerequisites. (golang, Docker, etc. on Ubuntu 22.04) I just had to install task as a snap.
It requires these flags: (from DistTasks.yml)
# * DIST_DIR: the folder that will contain the final binaries and packages
# * PROJECT_NAME: the name of the project, used in package name
# * VERSION: the version of the project, used in package name and checksum file
# * LD_FLAGS: flags used at build time
The LD_FLAGS is the one I need to clarify. Maybe the Adafruit Feather NRF28450 can give some clues.
I can build Adafruit Feather NRF28450 boot loader, no problem.
And once it's built, I suppose I can flash it with the programming / JTAG header using OpenOCD? (I have Olimex OpenOCD adaptor) I think I still need to remap the reset button.
Has anyone tried this?
The schematic of application board 3.0 is open, you can develop software based on hardware by yourself.