New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile and flash automatically from Linux and Mac OS #44
Conversation
IArchi
commented
Nov 29, 2022
- A new shell script is available to compile and flash from a Linux or Mac OS.
- Script is automatically called from the GUI basing on the detected OS.
- Users can now backup the firmware to eventually rollback changes.
…inux device.Ã Backup firmware to allow rollback.
There are some errors with the OS detection:
It would be good to update jar file too. Here is jar and netbeans project files. |
Regarding EEPROM clearing. I don't know. I guess it's not that serious and the clearing is ok by default. But I modify it locally not to clear. |
Add fallback and default answer.
Fix typo. Improve script execution to display in a terminal.
I've fixed my code. I've pushed the wrong version earlier. Regarding EEPROM, if I'm not wrong, you are already doing the samething with that Windows command: On Linux and MacOS, the clear_eeprom command uses the same file: |
I think it's going to be up to him whether to clear it or not. |
Update bash script to allow later edit :)
I tried the proposed changes in Ubuntu 22.04, clicking Compile&Flash in configurator, it creates ini and config.h files, but compile_and_flash_20.sh doesn't start (Allow executing file as program is enabled). |