garfieldG
3cd9b3c2cf
Added support in Mavlink Ethernet channel parameters
...
Mavlink Ethernet channel settings such as udp port, remote port and broadcast mode now can be changed dynamically via parameters.
4 years ago
Nicolas de Palezieux
653b7c0007
fmu v4: add option to run DShot telemetry on UART usually used for the ESP WIFI module
4 years ago
David Sidrane
b846ddffd8
Tools:Use . for (source) and ${R} for pathing
4 years ago
David Sidrane
185ffe9e13
nsh scripting:source (.) cmd supported
4 years ago
Julian Oes
9a96ca14be
Tools: make Python import error more readable
...
The problem with printing the exception was that starting with
Python 3.6 the ImportError is yet another (sub) exception called
ModuleNotFoundError which can't be printed as a string and then triggers
another exception:
```
Traceback (most recent call last):
File "/home/julianoes/src/Firmware/Tools/serial/generate_config.py", line 11, in <module>
import jinja2
ModuleNotFoundError: No module named 'jinja2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/julianoes/src/Firmware/Tools/serial/generate_config.py", line 13, in <module>
print("Failed to import jinja2: " + e)
TypeError: must be str, not ModuleNotFoundError
```
As per @bkueng's suggestion the easiest is to cast the exception to str
and that way prevent the second exception.
5 years ago
Julian Oes
c77816aef2
cmake: move jinja2 check to Python modules
...
This removes the cmake check for jinja2 and moves it to the respective
Python scripts.
5 years ago
Julian Oes
b04f68553e
Tools: use Python 3, improve import checks
...
In more detail:
- Change shebang to Python 3.
- Suggest installation using pip3 as user.
5 years ago
Daniel Agar
ce1e9762b0
deprecate df_hmc5883_wrapper and replace with in tree hmc5883
...
- deprecate DriverFramework hmc5883 driver (df_hmc5883_wrapper)
- update aerotenna ocpoc and snapdragon flight eagle boards to use in tree hmc5883
5 years ago
garfieldG
cc1d86bc0b
@value will be printed with Whitespace in start of line for serial_config parameters
5 years ago
Beat Küng
5fe4c61b42
rc_input: add RC_PORT_CONFIG param to configure RC port
...
The parameter will only be available if the board defines an 'RC' serial
port in SERIAL_PORTS (in default.cmake).
6 years ago
Daniel Agar
471e1bc866
serial/generate_config.py specify full loader ( #11667 )
...
- fixes #11666
6 years ago
Matthias Grob
bee1835831
Tools: fix style consistency in shell scripts "if [...]; then"
6 years ago
David Sidrane
11f9925b02
rcS,rc.serial.jinja:ensure proper unset hygiene
...
Delete auto generated vars, and others that were missed.
6 years ago
Beat Küng
37338e442f
NuttX shell scripts: replace operator == with =
...
- NuttX supports both versions
- POSIX shell only supports '='
6 years ago
Daniel Agar
078f5ea198
serial generate config add 10 generic serial ports
6 years ago
Beat Küng
64912ed7f6
rc.serial.jinja: remove 'param touch' for baudrates
...
Can be reverted if needed later on...
6 years ago
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
6 years ago
Beat Küng
5bb75a7ff8
Tools/serial: add script to generate ROMFS serial startup logic & serial parameters
6 years ago