param: Build param without linker script

Changed to enable the posix_sitl_simple target to build and run

param show *

without using a linker script

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-09-11 02:33:42 -07:00
parent 885dbe045f
commit b9ef1ee6ed
6 changed files with 80 additions and 34 deletions
+14
View File
@@ -672,4 +672,18 @@ function(px4_create_git_hash_header)
configure_file(${CMAKE_SOURCE_DIR}/cmake/templates/build_git_version.h.in ${HEADER} @ONLY)
endfunction()
#=============================================================================
# parameter file generation
#
function(px4_generate_parameters)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/px_process_params.py -s ${CMAKE_SOURCE_DIR}/src --board ${BOARD} --xml
)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/px_generate_params.py ${CMAKE_BINARY_DIR}/parameters.xml ${CMAKE_BINARY_DIR}/parameters.c
)
endfunction()
# vim: set noet fenc=utf-8 ff=unix nowrap: