Jukka Laitinen
9449ed6e66
Add support for protected build in drivers, systemcmds and modules Kconfig
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-02-18 07:58:58 +01:00
David Sidrane
c7bd7323ec
serial_test:Fix infinte TX loop with H7/DMA
2022-02-16 10:09:02 -05:00
David Sidrane
0c936e4fd2
serial_passthru:Move CONFIG_xxx to serial_passthru
2022-02-09 13:11:52 -05:00
David Sidrane
f460611098
Fix serial_test stack warning
2022-02-02 11:12:53 -05:00
Peter van der Perk
efd3bc1794
Serial_test move g_cl and g_mod from heap to stack to save memory by not preallocating them
2022-02-02 07:21:43 -08:00
David Sidrane
48c32f7795
Added serial passthru
...
This addes the command serial_passthru which will pass data from one
device to another. This can be used to use u-center connected to USB
with a GPS on a serial port.
Usage: serial_passthru [arguments...]
-e <val> External device path
values: <file:dev>
-d <val> Internal device path
values: <file:dev>
[-b <val>] Baudrate
default: 115200
[-t] Track the External devices baudrate on internal device
With the -t option baudrate changes made on the PC connected to the USB
will be set to the intrenal device.
2022-02-01 21:49:29 -05:00
Julian Oes
1754e25920
vmount: add param to use RC input for angular rate
...
Until now RC input was translated to angles only. I added the param
MNT_RC_IN_MODE which allows the RC input to be used for angular rate.
2022-01-10 23:04:10 -05:00
Julian Oes
a21fefda48
tune_control: prevent segfault
2022-01-10 23:04:10 -05:00
Daniel Agar
d077ca15fb
delete PWM_SERVO_SET, PWM_SERVO_SET_MODE, systemcmds/motor_ramp, and pwm_out test
2022-01-10 09:51:11 -05:00
Daniel Agar
df44df2df6
delete systemcmds/esc_calib
...
- this is redundant with commander esc_calibration
2022-01-10 09:51:11 -05:00
Daniel Agar
d3301ba826
delete PWM_SERVO_GET_TRIM_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
8de59dad32
delete PWM_SERVO_SET_TERMINATION_FAILSAFE
2022-01-10 09:51:11 -05:00
Daniel Agar
1739ecc981
delete PWM_SERVO_SET_FORCE_FAILSAFE
2022-01-10 09:51:11 -05:00
Daniel Agar
b7ed4fd3e0
delete PWM_SERVO_SET_DISARMED_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
551a31ce2f
delete PWM_SERVO_SET_FAILSAFE_PWM
2022-01-10 09:51:11 -05:00
Daniel Agar
78b3d22471
lib/mixer_module: consume output_limit library
2022-01-10 11:59:55 +01:00
Daniel Agar
80ef6e19df
tinybson: explicitly append int32 or int64
2022-01-02 10:46:34 -05:00
Daniel Agar
9cbb5c9920
parameters: fix export shutdown locking
...
- in NuttX bchlib keeps a sector sized buffer that might not be written
out to RAMTRON until the file is closed
2022-01-02 10:46:34 -05:00
Daniel Agar
e9283d90cc
systemcmds/netman: fix code style
2022-01-01 18:40:47 -05:00
David Sidrane
db159a43cc
test_dataman:Set SEM_PRIO_NONE on all semaphores
2021-12-31 10:27:24 -05:00
Daniel Agar
20d3e6f4e1
parameters: add simple BSON verification pass after export
2021-12-27 09:17:00 -05:00
Daniel Agar
3f3836afa8
parameters: simplify import mark_unsaved and don't fail bson decode unnecessarily
2021-12-24 14:32:40 -05:00
Daniel Agar
38731662c6
parameters use bitset for mark_unsaved
2021-12-24 14:32:40 -05:00
Daniel Agar
0029a75ab0
systemcmds: convert c -> c++
2021-12-21 09:22:49 -05:00
Julian Oes
3c5bf497a3
esc_calib: remove unused variable
2021-12-20 10:56:24 -05:00
Daniel Agar
acdcc35392
tests: dataman fix ssize_t printf
2021-12-13 22:51:23 -05:00
Daniel Agar
986cf288da
dataman: remove obsolete persistence and reset reason
2021-12-12 12:06:35 -05:00
Beat Küng
7aed8c4f47
sd_bench: print errno on write failure
2021-12-10 09:03:08 -05:00
Daniel Agar
1f6acd0171
parameters: add simple backup and restore mechanism
2021-12-06 09:37:08 -05:00
Daniel Agar
7bfebf5289
parameters: add param dump to read and decode bson to console
2021-12-06 09:37:08 -05:00
Daniel Agar
1af068179e
parameters: tinybson print errors and count imported types
2021-12-06 09:37:08 -05:00
Daniel Agar
10f2564ae8
systemcmds/tests: dataman test use proper signed type for dm_read() return
2021-12-05 18:08:54 -05:00
David Sidrane
ade7315e9b
sd_bench:Missing free
2021-11-29 16:01:08 -05:00
David Sidrane
58a9bf0b2e
sd_bench:Add verify and keep options
2021-11-25 13:11:45 -05:00
David Sidrane
e76dda545c
hardfault_log:Fix formatting
2021-11-24 15:00:38 -05:00
Beat Küng
6fdcc43ea8
mixer_module: add testing for SYS_CTRL_ALLOC=1 with actuator_test cmd+uorb msg
2021-11-23 12:40:22 -05:00
Daniel Agar
f5d9b01f5c
NuttX build in place
...
- cmake NuttX build wrapper compile in place instead of copying source tree to build directory
- slightly faster skipping necessary copying (depending on system)
- allows debugging in place
- easier to work directly in NuttX following official documentation
- simplifies overall build which should make it easier to resolve any remaining NuttX dependency issues in the build system
- the downside is switching back and forth between different builds always require rebuilding NuttX, but I think this is worth the improved developer experience
- also no longer builds px4io and bootloader in every single build, for most users these rarely change and we're wasting a lot of build time
2021-11-15 18:47:38 -05:00
Daniel Agar
7b7b7acd36
i2c_spi_buses: respect CONFIG_I2C and CONFIG_SPI
...
- bmp280, dps310, and ms5611 barometers support boards without I2C
2021-11-15 15:57:33 -05:00
Beat Küng
fdf8461452
ver: print PX4_BOARD_LABEL for 'ver all'
2021-11-11 08:38:42 -05:00
Vatsal Asitkumar Joshi
ea1ae73526
Support for Raspberry PI RP2040 MCU ( #18083 )
2021-11-03 12:14:30 -04:00
Beat Küng
8a2b310b83
topic_listener: avoid code generation, use existing metadata at runtime
...
This reduces flash size for v5 by ~110KB, the topic listener now only adds
about 1.2KB.
2021-10-20 08:10:05 +02:00
mcsauder
21163d859e
Whitespace cleanup.
2021-10-19 13:29:26 -04:00
Beat Küng
da1df5352c
fix pwm: only update oneshot timers owned by the current pwm_out instance
...
This fixes the case where oneshot was enabled with multi-instance pwm_out,
triggering oneshot updates too close to each other and as a result could
lead to spinning motors while disarmed.
2021-10-18 18:45:19 -04:00
Peter van der Perk
d8e88aedc6
motor_ramp ram cleanup
2021-10-08 10:51:06 -04:00
Peter van der Perk
36191e649a
Kconfig backport #18289 and other flash size fixes
2021-10-07 10:09:01 -04:00
Peter van der Perk
b7f03cec5e
[Kconfig] Add FMU-V5 and PX4-IOv2 px4board config
2021-10-07 10:09:01 -04:00
Peter van der Perk
d5e3e9a7bc
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
...
Which is better for versioning and decomposability
2021-10-07 10:09:01 -04:00
Peter van der Perk
7a747b43f6
Initial boardconfig working with FMUK66
2021-10-07 10:09:01 -04:00
Peter van der Perk
4b89ff29ce
PX4 full firmware Kconfig PoC
2021-10-07 10:09:01 -04:00
Daniel Agar
a519916d79
systemcmds/sd_stress: return -1 on FAIL
2021-10-04 17:38:31 -04:00