Skip to content

Updating the firmware

Szybet edited this page Dec 12, 2024 · 8 revisions

To update the firmware to a newer commit:

  • pull the repo obviously
  • Update your config.h and confidential.h. You have a few options:
    1. Click the purple compile button and then the "Auto update personal configs" button. It will try to update your configs automatically. It could fail, so if you encounter errors then you need to try the other methods and possibly repair what this step broke. It will take a while, a script magician could improve it :)
    2. Use a diff tool (or the one included with vscode) and update the files with the new values. The files you are looking to compare against are the template files, located at src/defines/templates. The names are reversed, so compare them accordingly.
    3. Or if you don't care about your changes or didn't changed anything, just delete the files. The next step will regenerate them. Deleting one of them will update both of them. Update the scripts if you don't want this to work like that
  • If you are updating to a new release, run the First build button (as in the setup). If something doesn't work and you are not updating to a new release, try the first build button anyway, as a first step for troubleshooting
  • Click the purple compile button, then "Update build" button to compile. Then you need to obviously flash it
  • You may need to update the filesystem. To do that, click the green Resources / Filesystem button, the click "Generate resources", after this finishes do "Flash filesystem". (As you have done when first compiling / uploading inkwatchy)