Commit Graph

19 Commits

Author SHA1 Message Date
Beat Küng 45bc882f5d px_process_params: fix scope when script is called from repo root
If called with ./Tools/px_process_params.py, the path would start with
src/<module>, and thus not match the regex "^.*/src/"
2017-07-14 11:57:11 +02:00
Daniel Agar f26cd01d16 param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING 2017-06-12 12:18:53 -04:00
Beat Küng d9dac8a6a8 Tools/px_process_params.py: set executable bit 2017-04-06 11:48:35 +02:00
Hamish Willee 0ea331d5c4 Add markdown (HTML) output format for parameters 2017-04-05 13:39:33 +02:00
Beat Küng a4fc7ae95e simplify px_process_params: remove --modules, use a list for --src-path instead 2017-03-23 08:37:48 +01:00
James Goppert 85f62f5da0 Fix param scoping to use cmake for parsing. 2017-02-17 11:26:46 +01:00
James Goppert 434dddedea Changes to add px4fmu-v2_lpe config. 2017-01-13 01:11:14 -08:00
Beat Küng 9b3803f71c px_process_params.py: fix for empty cmake scope
Hotfix for cmake configs which use include() for the module list (eg.
posix_sitl_ekf2.cmake or snapdragon). In that case the cmake parser did
not find any modules and thus the param list was empty.

The proper fix will be to parse the include() statements correctly.
2017-01-06 11:52:26 +01:00
mazahner 6b0a6fb38f again remove unrequired output 2017-01-04 09:29:52 +01:00
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
Daniel Agar 2bc74fd5d9 restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
Daniel Agar 0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04:00
Lorenz Meier 2cf6d9f605 Fix relative path of inject XML file. By Yi Yi 2015-11-18 10:15:20 +01:00
Lorenz Meier 56d67c6f6c Tools: Support injecting param meta, do not generate code for these 2015-11-09 09:31:43 +01:00
Don Gagne ad7612220d Validate meta data 2015-07-22 09:01:31 -07:00
Don Gagne 6bf0a2618b Add support for board attribute to parse output
This allows for writing parameter meta data which is specific to a
board type
2015-04-21 12:31:08 -07:00
Lorenz Meier f8cf495494 Revert "Added ability for board specific meta data generation"
This reverts commit 9ac350a7d1.
2015-04-18 11:38:23 +02:00
Don Gagne 9ac350a7d1 Added ability for board specific meta data generation
Use new @board meta data attribute for board specific ifdef support
2015-04-18 11:14:12 +02:00
Stefan Rado 8d41155fb6 Rework px_process_params.py into a fully featured program. 2014-02-18 22:34:52 +01:00