The app_battery has blocks of code gated behind ENABLE_NV_MEMORY_UPDATE_CODE but this code should never be run in normal operation. Since the MAX17205 has a limited number of writes available (see "Determining the Number of Remaining Updates" datasheet page 85) this feature should be handled with extra care. A standalone program that we have to flash separately seems deliberate enough, and also it'd make catching compile errors in it with CI much easier.
The
app_batteryhas blocks of code gated behindENABLE_NV_MEMORY_UPDATE_CODEbut this code should never be run in normal operation. Since the MAX17205 has a limited number of writes available (see "Determining the Number of Remaining Updates" datasheet page 85) this feature should be handled with extra care. A standalone program that we have to flash separately seems deliberate enough, and also it'd make catching compile errors in it with CI much easier.