Open sslupsky opened 6 years ago
Hi @sslupsky,
you are right, the instructions to produce the header file are in the Updater sketch
https://github.com/arduino-libraries/MKRWAN/blob/master/examples/MKRWANFWUpdate_standalone/MKRWANFWUpdate_standalone.ino#L9
After compiling the project in Eclipse/Ac6 , navigate to ./Projects/Multi/Applications/LoRa/AT_Slave/SW4STM32/B-L072Z-LRWAN1/mlm32l07x01/Debug/
and then execute the xxd
magic to turn the binary into an header file.
If you are testing a lot of firmwares it may be convenient to use https://github.com/arduino-libraries/MKRWAN/blob/master/examples/FWUpdaterBridge/FWUpdaterBridge.ino#L4 and integrate that sketch with your actual project (eg. enter stm32 programming more when you press a button).
Is there any documentation on how to build and program the firmware? I would like to address the sleep issue. I've installed Eclipse and did a build all. Everything seemed to compile but I do not know where to go from there. How do I create the fw.h file so I can use the firmware updater sketch?