Daniel Agar
f1d00fe697
Tools/HIL: only print timestamp if newline in output
2021-09-01 15:16:00 -04:00
Daniel Agar
6ee16156bb
Jenkins: hardware only list relevant parameters
2021-09-01 15:16:00 -04:00
Daniel Agar
33a3bc143b
boards: ark_can-gps_debug disable systemcmds to save flash
2021-09-01 15:16:00 -04:00
Daniel Agar
225bd2d5a3
Jenkins: hardware limit stackcheck and debug build cpu usage
2021-09-01 15:16:00 -04:00
Daniel Agar
a5a457d744
sensors: relax default data_validator timeout 20->40ms
2021-09-01 15:16:00 -04:00
Daniel Agar
3ff9295cbd
Jenkins: hardware nxp_fmuk66-v3 limit IMU_GYRO_RATEMAX to save cpu
2021-09-01 15:16:00 -04:00
Daniel Agar
bd8937642f
lib/sensor_calibration: only warn if external rotation resetting
...
- this also happens with the actual default parameter value (-1)
2021-09-01 15:16:00 -04:00
Daniel Agar
40e5477edb
NuttX boards fix mkfatfs and rcS logic
2021-09-01 15:16:00 -04:00
Daniel Agar
65b1a9648d
Tools/HIL/run_nsh_cmd.py: fail if ERROR printed in output
2021-09-01 15:16:00 -04:00
Daniel Agar
2f99857b0a
systemcmds/bl_update: add CONFIG_ARCH_CHIP_STM32F7 file size limit
2021-09-01 15:16:00 -04:00
Daniel Agar
369776cd4e
Jenkins: hardware don't tolerate px4io status on known hardware
2021-09-01 15:16:00 -04:00
Daniel Agar
c6dd03a8aa
Tools/HIL/run_nsh_cmd.py - raise timeout slightly
...
- helps on slower debug builds
2021-09-01 15:16:00 -04:00
Daniel Agar
c508404975
boards/px4/fmu-v4pro: fix incorrectly sized FRAM
2021-09-01 15:16:00 -04:00
Daniel Agar
61931fcbbc
Jenkins: hardware failure allow px4_fmu-v5_debug monitor firmware upload failure
...
- due to reported errors in NuttX low level drivers
2021-09-01 15:16:00 -04:00
Daniel Agar
9e0fa8e82b
boards: set SENS_TEMP_ID defaults
2021-09-01 15:16:00 -04:00
Daniel Agar
5dfc07cb1b
systemcmds/param: add set-default sient (-s) option
2021-09-01 15:16:00 -04:00
Daniel Agar
054d0b995c
px4iofirmware: remove police lights to avoid getting stuck
2021-09-01 15:16:00 -04:00
Daniel Agar
2864735c44
Tools/HIL/monitor_firmware_upload.py - fail if there's an ERROR during startup
2021-09-01 15:16:00 -04:00
Daniel Agar
70831a8e2c
px4io: checkcrc warn on mismatch
2021-09-01 15:16:00 -04:00
Daniel Agar
8434da6f79
px4io: reduce upload retries 5 -> 2
2021-09-01 15:16:00 -04:00
Daniel Agar
6be7926ed3
px4io: add watchdog
...
- F1 iwdg:Support optional configuable init
Co-authored-by: David Sidrane <David.Sidrane@NscDg.com>
2021-09-01 15:16:00 -04:00
Daniel Agar
f856b89723
boards: Holybro H7 boards clear MPU early in board init
...
- needed if the bootloader configures the memory protection unit (MPU)
2021-09-01 08:53:05 +02:00
Daniel Agar
c700ffff92
boards: CUAV H7 boards clear MPU early in board init
...
- needed if the bootloader configures the memory protection unit (MPU)
2021-09-01 08:53:05 +02:00
Lorenz Meier
965f11e923
MRO: Set up MPU after boot to app
...
This is needed in case the bootloader configured the MPU, which could interfere with the app as the bootloader memory map / configuration is different.
2021-09-01 08:53:05 +02:00
Daniel Agar
a819a7b7c4
boards: cube orange fully clear any existing MPU configuration as soon as possible
2021-09-01 08:53:05 +02:00
Daniel Agar
7925787f62
px4io_serial: ensure TX DMA is stopped if exiting early on stream error
...
- otherwise the next retry can happen quickly enough that dma setup
hangs waiting for the stream
2021-08-31 23:11:07 +02:00
Julian Oes
6cb0259b79
commander: improve progress output
...
Instead of outputting progress at weird percentages and dropping 100%,
this now sends the progress every 10 %.
2021-08-30 21:05:40 -04:00
Daniel Agar
ca685490a9
drivers/rc_input: only print vrssi if analog stable
2021-08-30 12:45:56 -07:00
Daniel Agar
15c01a9732
drivers/rc_input: flush buffers when beginning new scan state
2021-08-30 12:45:56 -07:00
Daniel Agar
a305fc9c34
drivers/rc_input: only invert RC when starting/ending SBUS
2021-08-30 12:45:56 -07:00
Daniel Agar
79703c9c7a
drivers/rc_input: don't resume scanning if armed
2021-08-30 12:45:56 -07:00
Daniel Agar
98f89aae9b
drivers/rc_input: always report new lock
2021-08-30 12:45:56 -07:00
Hylke Faas
34483aef0f
Do not resend a mission request if it is not the expected sequence number, this can cause an excessive increase of used bandwith ( #18082 )
2021-08-30 13:39:51 +02:00
Daniel Agar
a917793248
mavlink: only block parameter sync until boot complete
2021-08-30 13:27:51 +02:00
Daniel Agar
ab1c90d831
boards: cubeorange/cubeyellow use amber LED for armed state
2021-08-28 09:15:41 -04:00
Jukka Laitinen
c3c30e5d4f
Fix memory corruption when work queue is being deleted
...
When the last WorkItem is deleted, it is removed from a work queue and the
queue is being stopped. But, the queue itself might get deleted in the middle,
in a higher priority thread than where the WorkItem deletion was performed from
If the WorkQueue::Detach accesses the member variables after this, there is memory
corruption
This happens in particular when launching i2c or spi devices in
I2CSPIDriverBase::module_start:
- The "initializer" is deleted when the instance is not found and the iterator
while loop continues.
- The workqueue is deleted in the middle of "initializer" deletion when the
WorkQueueRunner returns.
This prevents deletion of the WorkQueue before the Detach has been finished,
in the specific case that the ::Detach triggers the deletion
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-27 10:43:45 +02:00
Daniel Agar
99463fce48
Update submodule mavlink v2.0 to latest Thu Aug 26 12:39:19 UTC 2021 ( #18153 )
...
- mavlink v2.0 in PX4/Firmware (c6a6403ce2039823f80af40ac5441f51afcdefb0): 51204fc82b
- mavlink v2.0 current upstream: e0e24de622
- Changes: 51204fc82b...e0e24de622
Co-authored-by: PX4 BuildBot <bot@px4.io>
2021-08-26 11:43:31 -04:00
Daniel Agar
c6a6403ce2
px4io: increase stack 1500 -> 1536 bytes
2021-08-25 21:32:05 +02:00
Daniel Agar
f59b54abd7
boards: io-v2 increase idle thread stack 280 -> 316 bytes
2021-08-25 21:32:05 +02:00
Daniel Agar
22e62a044a
px4iofirmware: never directly touch mixer from isr
2021-08-25 21:32:05 +02:00
Jacob Crabill
1ee5f75aa5
uavcan_v1: Add PublicationManager and uORB Publisher ( #17863 )
2021-08-25 14:56:23 -04:00
Beat Küng
d8214f5e00
component_information: merge extra component_information_header target
...
With Makefile build, generate_component_general.py was called twice during
build, which did not happen with the ninja build.
This created a race condition with the following error in rare cases:
Traceback (most recent call last):
File "/__w/PX4-Autopilot/PX4-Autopilot/src/lib/component_information/generate_component_general.py", line 79, in <module>
save_compressed(filename)
File "/__w/PX4-Autopilot/PX4-Autopilot/src/lib/component_information/generate_component_general.py", line 33, in save_compressed
with open(filename, 'r') as content_file:
FileNotFoundError: [Errno 2] No such file or directory: '/__w/PX4-Autopilot/PX4-Autopilot/build/px4_sitl_default/component_general.json'
make[3]: *** [src/lib/component_information/CMakeFiles/component_information_header.dir/build.make:68: component_general.json] Error 1
Merging the targets avoids the duplicate execution.
2021-08-25 10:04:39 -04:00
Beat Küng
af53b60713
Revert "component_information: add debug instrumentation for FileNotFoundError exception"
...
This reverts commit ca454c93d163a551f7f24baac41a3b29538860ae.
2021-08-25 10:04:39 -04:00
Jukka Laitinen
8f03045fb2
Increase micrortps_client_rcv stack for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
69021dbafa
Increase navigator stack for 64-bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
e49791cdf2
Increase mavlink stack for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
523578d2ce
Increase stack size of wq:manager and worker threads for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
29248cb6b8
Increase gps stack for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
733b1e9e67
Increase logger stack size for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00
Jukka Laitinen
8cf121fc9d
Increase dataman stack size for 64 bit targets
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-08-24 10:16:27 -04:00