Docs menu

Developer Integration

Regeneration and Ownership

Review exactly which exported files are generated, developer-owned or require diff review.

Ownership map

File or areaManaged byMay be regeneratedAppropriate changes
90_Studio_Export.c / .hStudioYesNone permanent; review generated output only.
95_UserEvents.c / .hDeveloper after standalone exportLive Studio copies can be regeneratedCallbacks and integration logic in the standalone copy.
Generated assetsStudioYesDo not hand-edit; replace through Studio.
main.c / app_mainDeveloper/export templateReview the export diffStartup and application composition.
CMakeLists.txtExporterYesReview before adding persistent custom registration.
Other developer modulesDeveloperNo by the UI generatorDrivers, services, tasks and product behavior.

Hardware Example ownership pattern

Example 01 is the concrete regeneration model: 90_Studio_Export.* owns replaceable generated LVGL and public FG_Set_* implementations; matching 95_UserEvents callback bodies carry UI intent into developer code; ordinary developer modules own GPIO setup, polling, debouncing, outputs, startup safety and physical behavior.

Safe Git workflow

  1. 01Commit the current export.
  2. 02Regenerate the UI.
  3. 03Review the complete diff.
  4. 04Restore or merge intentional developer changes where required.
  5. 05Build the standalone project.
  6. 06Test the result on physical hardware.

Preservation boundary