@stephenhensley
I have a feature that I for sure am going to implement for my project at the very least. I want your input on if it makes sense to add to the repo proper, as it's going to either be a breaking change, or an additional variant. Just want to know if you think this fits within the goals of what you'd want to release
Basically, I want to expand the boot_info struct to include a filename so that the application can control when the bootloader goes to flash from connected media, and what file to load. I've had a number of problems come up due to the simple .bin search that it does now (one of them being caused by macOS and it's tendency to leave hidden ghost files when you try to delete stuff). With this update, the root directory scan would not run, and files will only be flashed from media when explicitly told to.
The one thing that I'm not exactly sure how to handle with this is recovery if there is a power interruption or something. I might end up trying to save some values to the flash so that it knows what to do when power is restored. Or, I could maybe just move my files to a sub directory and leave the .bin search on the root... I need to do some more brainstorming there.
@stephenhensley
I have a feature that I for sure am going to implement for my project at the very least. I want your input on if it makes sense to add to the repo proper, as it's going to either be a breaking change, or an additional variant. Just want to know if you think this fits within the goals of what you'd want to release
Basically, I want to expand the boot_info struct to include a filename so that the application can control when the bootloader goes to flash from connected media, and what file to load. I've had a number of problems come up due to the simple .bin search that it does now (one of them being caused by macOS and it's tendency to leave hidden ghost files when you try to delete stuff). With this update, the root directory scan would not run, and files will only be flashed from media when explicitly told to.
The one thing that I'm not exactly sure how to handle with this is recovery if there is a power interruption or something. I might end up trying to save some values to the flash so that it knows what to do when power is restored. Or, I could maybe just move my files to a sub directory and leave the .bin search on the root... I need to do some more brainstorming there.