Daniel Agar
668c16da83
px4_work_queue: reset statistics after each status print
2020-09-02 10:09:13 -04:00
CUAVcaijie
536877cf0a
boards: add UAVCAN timer override mechanism and CUAV X7 add CAN ( #15348 )
...
* X7Pro adds CAN driver
* UAVCAN timer selection moved to default.cmake
* Modify some details about @CUAVcaijie UAVCAN timer selection moved to default.cmake
* Put some timer parameters to micro_hal.h from board_config.h. Fix all h7 boards
Co-authored-by: honglang <honglang@cuav.net >
2020-08-28 12:16:48 -04:00
PX4 BuildBot
67c134303c
Update submodule nuttx to latest Fri Aug 28 00:39:53 UTC 2020
...
- nuttx in PX4/Firmware (f0555571047b18fa503eeac18da586f2dd360c12): https://github.com/PX4/NuttX/commit/925b7b513b8f7b683bfea43923a8beb2a0ad5a61
- nuttx current upstream: https://github.com/PX4/NuttX/commit/863ed53e3fb1cebbb0832ec28fbc11e16566e89e
- Changes: https://github.com/PX4/NuttX/compare/925b7b513b8f7b683bfea43923a8beb2a0ad5a61...863ed53e3fb1cebbb0832ec28fbc11e16566e89e
863ed53e3f 2020-06-15 David Sidrane - [BACKPORT] kinetis:Ethernet fixed & better interrupt management
2020-08-27 21:41:09 -04:00
David Sidrane
8d2ce355f2
Nuttx Backport add RTR
2020-08-26 13:05:23 +02:00
David Sidrane
622903f7de
Nuttx Backport add extern C under cpp
2020-08-26 13:05:23 +02:00
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 >
2020-08-26 08:46:35 +02:00
Daniel Agar
ad3e6ee5dd
wq:attitude_ctrl increase stack by 16 bytes (again)
2020-08-16 18:16:16 -04:00
David Sidrane
157aa36c1e
NuttX based bootloader:Track QGC change in sequnsing
...
It appear that QGC is now resyncing between operation.
This was causing the bl_state to be reset to STATE_PROTO_GET_SYNC
and loosing the state of (STATE_PROTO_GET_SYNC|STATE_PROTO_GET_DEVICE)
2020-08-14 10:58:23 -04:00
David Sidrane
13246bdb2c
common/shutdown:All FMU's not stying in bootloader
...
Fixes bug, wehre reboot -b would not stay in bootloader.
Call was passing bit mask (=4) not integer value of 1.
2020-08-14 14:11:45 +02:00
Daniel Agar
0c91a29c3f
wq:attitude_ctrl increase stack
2020-08-13 13:32:07 -04:00
David Sidrane
c46d5e8535
Nuttx with TX DMA fix
2020-08-11 12:27:28 -04:00
Daniel Leonard Robinson
fa4818e467
vehicles: add new vehicle type: Airship ( #14862 )
...
Co-authored-by: Anton Erasmus <anton@flycloudline.com >
Co-authored-by: Beat Küng <beat-kueng@gmx.net >
2020-08-10 08:52:51 +02:00
Beat Küng
b6052fbb11
nuttx: update submodule
2020-08-06 00:08:23 -04:00
Daniel Agar
b6a17a6538
new IntrusiveSortedList container used for uORB, WorkQueues, and WorkItems
...
- new intrusive linked list container (c++ template) that sorts on insertion
- primarily for convenience inspecting things in the system like uORB or WorkQueues
- uorb status or top sorted alphabetically
- work_queue status threads sorted by priority, then items sorted alphabetically within each
2020-08-04 11:09:41 -04:00
David Sidrane
e2a9b68fc7
kinetis:Add kinetis_gpiosetevent in PX4 layer
...
Adds a compatible gpiosetevent interface. The helper call the
low level functions while providing a consistent API with
xxxx_ gpiosetevent(uint32_t pinset, bool risingedge,
bool fallingedge, bool event, xcpt_t func,
void *arg);
This wrapper was rjected upstream.
2020-07-31 09:46:27 -04:00
David Sidrane
e67486d603
nxp:Add support for rev E HW nxp_fmuk66-e
2020-07-31 09:46:27 -04:00
Daniel Agar
9426c68a13
cmake: only allow gold linker for posix builds
...
- the gold linker doesn't currently work for NuttX builds
- NuttX skip --print-memory-usage if using the GOLD linker
- fixes #15400
2020-07-23 09:41:35 -04:00
PX4 BuildBot
fb2ebc9379
Update submodule nuttx to latest Sun Jul 19 12:39:45 UTC 2020
...
- nuttx in PX4/Firmware (2624730b02ea71fa2bbd28cc424d9bade5766356): https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- nuttx current upstream: https://github.com/PX4/NuttX/commit/dc10293feb724d50f6a0a64a068b47cb8cdae631
- Changes: https://github.com/PX4/NuttX/compare/61742342ec979867dbe4b85c89a6821656090ee2...dc10293feb724d50f6a0a64a068b47cb8cdae631
dc10293feb 2020-05-25 Claudio Micheli - [BACKPORT] stm32l4: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
5735f765e2 2020-05-25 Claudio Micheli - [BACKPORT] stm32: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
4dc9ae05f5 2020-05-25 Claudio Micheli - [BACKPORT] stm32f7: Add the option to include RTR in CAN header
bdd9e786e1 2020-04-21 Beat Küng - [BACKPORT] stm32f7: add CANIOC_SET_NART and CANIOC_SET_ABOM ioctl's to can driver
2020-07-19 06:47:11 -07:00
Daniel Agar
b54dea0ccd
wq:attitude_ctrl: small stack increase to silence warning
2020-07-17 19:51:48 -04:00
PX4 BuildBot
cfcdab3992
Update submodule nuttx to latest Wed Jul 15 12:39:46 UTC 2020
...
- nuttx in PX4/Firmware (fbc4fa04c372960894766a69c8ea35dfafcb0c4d): https://github.com/PX4/NuttX/commit/f5925e194e82b0658b0176a9657820a396674642
- nuttx current upstream: https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- Changes: https://github.com/PX4/NuttX/compare/f5925e194e82b0658b0176a9657820a396674642...61742342ec979867dbe4b85c89a6821656090ee2
61742342ec 2020-07-09 Beat Küng - [BACKPORT] gpio: extend gpio_pintype_e for pulldown/up and opendrain
2020-07-15 09:59:37 -04:00
Daniel Agar
fa44cd5cd5
px4_work_queue: rename navigation_and_controllers -> nav_and_controllers
...
- keep the thread within the current NuttX max length
2020-07-14 09:48:47 -04:00
Daniel Agar
6bdcca6a85
systemcmds/tests: add simple atomic microbenchmark
2020-07-10 10:59:50 -04:00
Daniel Agar
0f0706be91
platforms/nuttx: init.cmake skip config lines with empty values
2020-07-06 11:13:15 -04:00
JaeyoungLim
692cb717b7
Add windy world target ( #14737 )
2020-07-02 15:49:09 +02:00
Beat Küng
5378d1468f
lockstep_scheduler: add generic lockstep component API
...
allows components to register and ensure the lockstep cycle waits for
all components to be updated.
2020-06-23 11:53:55 -04:00
Beat Küng
55d06241b3
fix unit tests: do not stub pthread_cond_wait
...
and fix the tests instead.
Some unit tests depend on pthread_cond_wait to work as expected.
2020-06-23 11:53:55 -04:00
Beat Küng
283453b3a5
px4-alias.sh_in: allow for spaces in 'set' alias
...
Required for expressions like:
set LOGGER_ARGS "${LOGGER_ARGS} -f"
2020-06-23 11:53:55 -04:00
Daniel Agar
32887193d6
systemcmds/tests: remove autodeclination test (moving to PX4/ecl)
2020-06-23 10:34:25 -04:00
David Sidrane
df73662d66
nxp_fmuk66-v3:Add Full networking support
2020-06-22 18:43:03 -04:00
Daniel Agar
0eea814ca1
decrease all wq:SPIx stack
2020-06-18 20:49:15 -04:00
Daniel Agar
6b343c1f5e
cmake: sitl_gazebo build limit to 2 cores (-j2)
2020-06-18 20:10:25 -04:00
Daniel Agar
be2081a2a2
wq:attitude_ctrl small stack increase
2020-06-18 01:36:29 -04:00
TSC21
6add0fff7f
add iris_dual_gps config and the possibility of testing GPS blending through simulation
2020-06-16 09:57:05 +01:00
Daniel Agar
e819f99064
new Bosch BMI055 IMU driver using FIFOs and DRDY
...
- accel & gyro FIFOs enabled
- FIFO watermark on data ready interrupt
- sensor side filtering completely disabled
- gyro now respects `IMU_GYRO_RATEMAX` (up to 2 kHz)
- saves a few % cpu (at default rate)
2020-06-15 10:19:14 -04:00
Daniel Agar
13e34b32e6
new Bosch BMI088 IMU driver using FIFOs and DRDY
2020-06-11 12:25:13 -04:00
CUAVcaijie
8aed6b2240
STM32H7 adds led_pwm driver
2020-06-11 12:02:49 -04:00
Daniel Agar
ff3b040d3c
imu/invensense/icm20608g: minor improvements and potential fixes
...
- perform full sensor signal path reset and wait for max time (100 ms)
- issue full sensor reset on any error
- always read FIFO count before transfersj
- only allocate drdy perf counter if GPIO is available
2020-06-05 21:28:37 -04:00
Daniel Agar
31fe7af454
selectively increase optimization -Os -> -O2
...
- targetted at modules/libraries that benefit without drastically
increasing flash usage
- ignored on boards with CONSTRAINED_FLASH set
2020-06-04 20:59:52 -04:00
David Sidrane
29d4d7c9fe
Update NuttX with stm32h7 sdmmc backport
2020-06-03 12:51:25 -04:00
David Sidrane
7aac0c5ac3
platforms/nuttx/NuttX/nuttx back ports for H7
2020-06-02 13:02:51 -04:00
David Sidrane
9beca65600
stm32_common:board_mcu_version expand to include STM32H7[4|5]
...
Todate I have not fould a way to differentiate a 74 from a 75.
as all parts map to Device ID 0x450: STM32H742, STM32H743/753
and STM32H750.
One the CPU is fully differentiate in Nuttx, this can be a
#ifdef.
2020-06-02 13:02:51 -04:00
David Sidrane
19cf2f47ac
stm32h7:adc read & clear EOC on init
2020-06-02 13:02:51 -04:00
David Sidrane
bd1f69fb76
stm32_common:board_hw_rev_ver Support 16 Bit ADC
2020-06-02 13:02:51 -04:00
David Sidrane
2c9a522f71
stm32_common:adc read & clear EOC on init
2020-06-02 13:02:51 -04:00
David Sidrane
37c1837ceb
PX4:stm32_common/ToneAlarmInterfacePWM.cpp Extend for STM32H7
2020-06-02 13:02:51 -04:00
Julian Oes
1cb706c411
px4_log: flush each line
...
Without this fix all PX4 output is buffered and presented at the very
end of a scripted MAVSDK test which makes the log hard to read.
2020-05-29 11:46:14 +02:00
David Sidrane
46276e11b5
NuttX with stm32h7 backports
2020-05-27 10:56:32 -04:00
Daniel Agar
8ee0a5d328
px4_work_queue: minor status changes
...
- only record start time on first run rather than init
- increase name length
- round average interval to nearest microsecond
- basic formatting consistency (google style guide)
2020-05-23 11:51:23 -04:00
David Sidrane
ef664f3c23
stm32_common:board_hw_rev_ver Fix printing of REV/VER = 10
2020-05-23 11:45:24 -04:00
Matthias Grob
a605444462
board_comnmon: indent BOARDBRICK_VALID_LIST to correct level
...
to avoid other people getting confused as well.
2020-05-18 10:52:26 -04:00