14 Commits

Author SHA1 Message Date
Beat Küng
f4ab1b8a78 fix px4moduledoc: typo in 'External I2C bus(es)' 2020-03-24 09:46:20 -04:00
Beat Küng
d1f5b23a5a module docs: add PRINT_MODULE_USAGE_PARAMS_I2C_{SPI_DRIVER,ADDRESS}
For SPI/I2C driver default options
2020-03-17 23:31:17 -04:00
Beat Küng
f851f65f8d i2c spi: add type to I2CSPIInstance
Needed to distinguish runtime instance types of the same driver (e.g.
bmi055 accel vs gyro).
2020-03-17 23:31:17 -04:00
TSC21
13c0c618f3 px4modulesdoc: move to Python3 2020-01-13 21:48:35 +00:00
Christian Clauss
6dc55f97d4 More fixes for Python 3 compatibility (#13008)
* More fixes for Python 3 compatibility

* Workaround if the six module is not pip installed

* Lose the semicolons
2019-12-19 02:05:55 -08:00
Beat Küng
f542736140 'simulation' category added in srcparser.py 2019-04-12 09:25:07 +02:00
Beat Küng
4452669614 module documentation: add support for subcategories 2019-02-08 09:29:46 +01:00
Beat Küng
d8b013355c PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value 2019-02-08 09:29:46 +01:00
Beat Küng
e46e6f99f3 module template: move documentation to a new category 'template' (#9324) 2018-04-18 08:53:52 -04:00
Beat Küng
44d0cba6aa modules documentation: ignore comments in source files 2018-01-27 00:43:04 +01:00
Beat Küng
913cbc773e px4moduledoc: extend validation: limit max line length to 120 2017-07-14 11:57:11 +02:00
Beat Küng
8b64fc8a5e Tools/px4moduledoc: add some comments, describe the regexes 2017-07-14 11:57:11 +02:00
Beat Küng
3b0da512a5 px_process_module_doc: add --no-validation flag
and make sure the command failed if there's a validation error.
2017-07-14 11:57:11 +02:00
Beat Küng
6c9574b336 Tools/px_process_module_doc.py: add script to extract documentation
And turn it into a markdown page.
It also does some simple validation, to check that the getopt() arguments
match the documentation.
2017-07-14 11:57:11 +02:00