Add firmware artifacts, memory summary, and Doxygen gh-pages deploy
Some checks failed
CI / Build firmware (push) Failing after 38s
CI / Check formatting (push) Successful in 12s
CI / Static analysis (push) Successful in 11s
CI / Build documentation (push) Failing after 13s

CMakeLists.txt: generate firmware.map via -Wl,-Map.

CI build job:
- Writes per-section size table to the Gitea job summary
  (visible in the Actions UI after each run).
- Uploads firmware.hex and firmware.map as a downloadable artifact
  named firmware-<sha>.

CI docs job:
- On push to main, force-pushes docs/html/ as an orphan commit to
  the gh-pages branch.  Gitea Pages must be enabled in site admin
  for the HTML to be served; the branch is always available via the
  repo file browser regardless.
This commit is contained in:
Krzysztof Cieślik
2026-05-21 23:20:55 +02:00
parent 7d47af12d8
commit 9c0e280fab
2 changed files with 37 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ target_link_options(firmware PRIVATE
-T ${CMAKE_SOURCE_DIR}/link/nrf52840.ld
-Wl,--gc-sections
-Wl,--print-memory-usage
-Wl,-Map=${CMAKE_BINARY_DIR}/firmware.map
-nostartfiles
-specs=nano.specs
-specs=nosys.specs