Julian Oes
9eda5b373c
posix: add fuzz testing using MAVLink messages
...
This adds the env option PX4_FUZZ which runs the LLVM libFuzzer which
throws random bytes at mavlink_receiver using MAVLink messages over UDP.
The MAVLink messages that are being sent are valid, so the CRC is
calculated but the payload and msgid, etc. are generally garbage, unless
the fuzzing gets a msgid right by chance.
As I understand it, libFuzzer watches the test coverage and will try to
execute as much of the code as possible.
3 years ago
Daniel Agar
e835a7c4ea
boards: enable readline history and tab completion on newer boards
3 years ago
Daniel Agar
f76aa0e772
cmake: NuttX ARMV7M_STACKCHECK skip ekf2
...
- px4_fmu-v5_stackcheck switch from icm20689 -> bmi055 (lower rate)
- this is to make performance tolerable
3 years ago
Daniel Agar
77b65ee564
boards: px4_fmu-v5_debug disable stack check
...
- this is redundant with px4_fmu-v5_stackcheck
3 years ago
Daniel Agar
6d0339ba0c
I2CSPIDriverBase: sensor start failure ERROR if internal, WARN if external
3 years ago
Daniel Agar
990d7c159d
pwm_out: cleanup and prep for linux compatibility
3 years ago
Daniel Agar
10f4a2e91f
boards: omnibus_f4sd_default disable systemcmds to save flash
3 years ago
Daniel Agar
3ef9c2d16c
boards: holybro_kakutef7_default disable modules/gyro_calibration to save flash
3 years ago
Daniel Agar
3f17acdcc9
boards: mro_ctrl-zerl-h7-oem pin fixes (sync with mro_ctrl-zero-h7)
3 years ago
Daniel Agar
0f4e1dd9f9
boards: mro ctrl-zero-h7 pin fixes
3 years ago
Daniel Agar
98d706772e
boards: px4_fmu-v2_rover disable events module to save flash
3 years ago
Beat Küng
9bc9169b77
px4/fmu-v5x: add missing board variants to rc.board_mavlink
3 years ago
Beat Küng
6c8f322dfe
px4/fmu-v2/test: disable modules to reduce flash
3 years ago
Beat Küng
082cd74cab
holybro/kakutef7: disable IST8310 to reduce flash
3 years ago
Beat Küng
8743b78474
px4/fmu-v2/rover: disable modules to reduce flash
3 years ago
Beat Küng
0818bb4be0
bitcraze/crazyflie{,21}: disable modules to reduce flash
3 years ago
Beat Küng
751539304e
omnibus/f4sd: disable modules to reduce flash
3 years ago
Daniel Agar
c8f2a29d67
boards: beaglebone_blue_default fix missing linux_pwm_out driver
3 years ago
Daniel Agar
a5f58d321e
boards: emlid_navio_default fix missing drivers/modules
3 years ago
Julian Oes
9686c81f7d
boards: enable flow control on CDCACM
...
This enables flow control on CDCACM for the NuttX boards which fixes a
problem where HITL would stall.
The stall could happen if the hardware would be a bit too slow in
keeping up with the incoming messages. Often, this happened on arming
because the logger would take some time to log all parameters right at
the beginning.
The stall would then not recover due to NuttX bug where the rx interrupt
would not be restored correctly and instead only a slower watchdog would
release the next read. This watchdog takes 200ms which means it's hard
to impossible to get out of the situation without restarting sim and/or
PX4. For more information about the issue, see:
apache/incubator-nuttx#3633
As a workaround, until that bug is fixed, and because it makes sense
anyway, I propose to enable FLOWCONTROL for the serial via USB.
3 years ago
Beat Küng
87ec8839c4
px4/fmu-v5x: remove unused base_phy_DP83848C build variant
3 years ago
Beat Küng
ca6df035b4
px4/fmu-v5x: add arch_io_pins dependency (required in init.cpp)
3 years ago
Daniel Agar
8185e2a384
boards: board_app_initialize() don't return early on failure
...
- depending on the situation we're more likely to get actionable user
feedback by allowing boot to complete rather than silently failing
3 years ago
Cindy Hsieh
ca90c785e9
correct pin in the comment, no code changed
3 years ago
Matthias Grob
fdc40880d0
battery: separate out publishing from updating
...
to allow smart battery drivers to use the battery class and
filling in additional information in case it makes sense.
3 years ago
Matthias Grob
e70d70468a
battery: pass voltage and current by setter
3 years ago
Matthias Grob
39641494da
battery: pass connected flag in by setter
3 years ago
Matthias Grob
38d23f5345
battery: pass priority in by setter
3 years ago
Matthias Grob
f9fc9a9af6
battery: pass source in by constructor
3 years ago
Matthias Grob
b965923c08
battery: fetch throttle value inside of class
3 years ago
Daniel Agar
4bf1b46e47
boards: free up flash on crazyflie and omnibus
3 years ago
Daniel Agar
3160e7a3cd
Jenkins: run calib_udelay on test rack
3 years ago
Daniel Agar
713350930d
boards: px4_fmu-v5 add test variant
3 years ago
Daniel Agar
37c1598f38
boards: cubepilot_cubeorange enable calib_udelay and run on test rack
3 years ago
Daniel Agar
7d515e3d58
boards: cubepilot_cubeorange lower cpu clock 480 -> 400 MHz to reduce temperature
3 years ago
Daniel Agar
a2064cceff
boards: enable early MPU reset on any board potentially not using the PX4 bootloader
3 years ago
Peter van der Perk
36ba8cc6dd
UAVCANv1 update FMU-V5 config
3 years ago
Peter van der Perk
ce909b23b1
UAVCANv1 Node implementation work, PNP, Registers and uORB publisher
3 years ago
David Sidrane
76585409fa
durandal rev 1 has bmi088->icm20602
3 years ago
benjinne
38e7f814d5
mro h7 boards add rtps px4board files
3 years ago
David Sidrane
df1c94dd4e
px4_fmu-v5_debug:Increase stack size
3 years ago
Jukka Laitinen
c2cbab1e98
Improve stub_keystore configuration
...
It is possible to either set the keyfile locations in board configuration or
with the same environment variables as before.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
9b7c8c8a8b
boards: px4_fmu-v6x_default enable ethernet by default with NuttX optimizations
3 years ago
Daniel Agar
b9152dc4d0
boards: px4_fmu-v5x_default increase ETH pktsize to max and enable tcp delayed ack
3 years ago
Daniel Agar
0459b73520
boards: px4_fmu-v5x enable mavlink ethernet by default
3 years ago
David Sidrane
e507563911
uvify_core nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
David Sidrane
23c73d4e0b
px4_fmu-v6x nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
David Sidrane
51b55533af
px4_fmu-v6u nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
David Sidrane
b8bdf7e1c4
px4_fmu-v5x nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
David Sidrane
3504541ebd
px4_fmu-v5x base_phy_DP83848C:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago