Validate usermods at link time

Add additional validation of the linker .map output to confirm that the
correct usermods were added.
This commit is contained in:
Will Miles
2025-05-19 16:37:07 -04:00
parent ee3864175d
commit 999637f8ad
2 changed files with 93 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ extra_scripts =
pre:pio-scripts/user_config_copy.py
pre:pio-scripts/load_usermods.py
pre:pio-scripts/build_ui.py
post:pio-scripts/validate_usermods.py ;; double-check the build output usermods
; post:pio-scripts/obj-dump.py ;; convenience script to create a disassembly dump of the firmware (hardcore debugging)
# ------------------------------------------------------------------------------