Hamish Willee
9f87702074
px4moduledoc/markdownout.py - source links to PX4-Autopilot
4 years ago
Hamish Willee
ffa38f1b4f
module markdownout - explicit anchor not heading
4 years ago
Hamish Willee
425b8a1733
markdownout - change Firmware to PX4-Autopilot
4 years ago
Beat Küng
5fdff6a0e4
i2c drivers: add '-k' flag for keep_running directly to BusCLIArguments
4 years ago
Beat Küng
787f9c1213
i2c: use board-specific bus numbering for '-X -b <bus>' CLI
...
As boards don't have their external buses labeled consistently, it was not
useful to use an abstraction.
4 years ago
Kabir Mohammed
c319bbd6f7
drivers/optical_flow: Thoneflow 3901U Driver
...
* srcparser.py: Add optical flow subcategory for module docs
* thoneflow : Initial support
5 years ago
Beat Küng
4088c2581f
i2c_spi_buses: add '-q' for quiet startup flag ( #14969 )
...
* [WIP] i2c_spi_buses: add '-q' for quiet startup flag
And enable for optional board sensors.
* ROMFS: rc.sensors try starting all optional I2C sensors quietly
Co-authored-by: Daniel Agar <daniel@agar.ca>
5 years ago
Beat Küng
f4ab1b8a78
fix px4moduledoc: typo in 'External I2C bus(es)'
5 years ago
Beat Küng
d1f5b23a5a
module docs: add PRINT_MODULE_USAGE_PARAMS_I2C_{SPI_DRIVER,ADDRESS}
...
For SPI/I2C driver default options
5 years ago
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).
5 years ago
TSC21
13c0c618f3
px4modulesdoc: move to Python3
5 years ago
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
5 years ago
Beat Küng
f542736140
'simulation' category added in srcparser.py
6 years ago
Beat Küng
4452669614
module documentation: add support for subcategories
6 years ago
Beat Küng
d8b013355c
PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value
6 years ago
Beat Küng
e46e6f99f3
module template: move documentation to a new category 'template' ( #9324 )
7 years ago
Beat Küng
782ed5d324
modules documentation script: add anchor for '### Usage' sections
...
So that they are unique.
7 years ago
Beat Küng
44d0cba6aa
modules documentation: ignore comments in source files
7 years ago
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
8 years ago
Beat Küng
8b64fc8a5e
Tools/px4moduledoc: add some comments, describe the regexes
8 years ago
Beat Küng
674ae5292e
markdown module doc script: write how to generate the modules documentation
8 years ago
Beat Küng
7a4f557a7a
px_process_module_doc: separate page into one page per category
8 years ago
Beat Küng
3b0da512a5
px_process_module_doc: add --no-validation flag
...
and make sure the command failed if there's a validation error.
8 years ago
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.
8 years ago