boards v6x: save FLASH by removing param longDesc from parameters.json

This commit is contained in:
Alexander Lerach
2025-08-28 17:57:32 +02:00
parent 073013cf85
commit 8447a8d75e
9 changed files with 41 additions and 17 deletions
+6
View File
@@ -368,6 +368,12 @@ if(EXISTS ${BOARD_DEFCONFIG})
add_definitions(-DCONSTRAINED_MEMORY)
endif()
set(config_process_params_extra_flags "" CACHE INTERNAL "process params command extra flags" FORCE)
if(PARAM_REMOVE_LONGDESC)
set(config_process_params_extra_flags "--no-long-desc" CACHE INTERNAL "process params command extra flags" FORCE)
endif()
if(TESTING)
set(PX4_TESTING "1" CACHE INTERNAL "testing enabled" FORCE)
endif()
+1 -1
View File
@@ -78,7 +78,7 @@ add_custom_target(metadata_parameters
--src-path `find ${PX4_SOURCE_DIR}/src -maxdepth 4 -type d` ${generated_params_dir}
--inject-xml ${PX4_SOURCE_DIR}/src/lib/parameters/parameters_injected.xml
--json ${PX4_BINARY_DIR}/docs/parameters.json
--compress
--compress ${config_process_params_extra_flags}
COMMAND ${PYTHON_EXECUTABLE} ${PX4_SOURCE_DIR}/src/lib/parameters/px_process_params.py
--src-path `find ${PX4_SOURCE_DIR}/src -maxdepth 4 -type d` ${generated_params_dir}