Commit Graph

12 Commits

Author SHA1 Message Date
mazahner 6fe9b8e543 use CmakeLists scope to generate te XML file
- the only difference really is, that scope (the configuration.cmake) is already passed
  to px_process_params via the argument --scope. The Paths in --scope are evaluated w.r.t
  the path to src provided via the -s /--src-path argument.
- if no --scope is proveided. the Old scheme by simply walking the full --src-path directory
  is applied
2017-01-04 09:29:52 +01:00
Lorenz Meier 671e380fd2 Params script: Whitespace cleaning 2016-12-21 08:37:45 +01:00
David Sidrane 1c94e27463 Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy
Conflicts:
	src/lib/ecl
2016-05-01 13:47:41 +02:00
David Sidrane 64d43ad381 Scope parameter included in build by cmake/configs
Conflicts:
	Tools/px_generate_params.py
	src/lib/ecl
2016-05-01 13:47:41 +02:00
Lorenz Meier 56d67c6f6c Tools: Support injecting param meta, do not generate code for these 2015-11-09 09:31:43 +01:00
Thomas Gubler 2bbb1ad35f python3 fixes 2015-10-10 11:03:04 +02:00
Lorenz Meier e6cbee74bf Tools: Fix param code generation to generate correct union access based on type. Generate #error C-code for unknown types to prevent silent failure. 2015-09-14 00:16:49 +02:00
Lorenz Meier c5d1cb1cbc Params: Remove linker black magic and turn params into flat global struct 2015-09-12 11:26:20 +02:00
Mark Charlebois 8369e33245 cmake: Fixes for qurt and nuttx
Added px4_parameters.c to nuttx executable src list.
Minor syntax fix in Tools/px_generate_params.py for semicolon.
Added handling of PX4_MAIN which was not yet supoprted in the
cmake build.
Fixed include quotes in muorb_test_example.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 18:32:44 -07:00
Lorenz Meier 31e5697cea OS X: Make param section generation compatible 2015-09-11 21:58:32 +02:00
Mark Charlebois fc3acdb2c1 cmake: param refactoring
Use a struct to contain all the parameters so the ordering in
memory is not machine dependent.

Add number of parameters to the param struct. The struct actually
allows direct accessing by the member name if desired.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 12:41:00 -07:00
Mark Charlebois b9ef1ee6ed 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>
2015-09-11 02:33:42 -07:00