Daniel Agar
aaf5670e7d
deprecate df_bmp280_wrapper and replace with in tree bmp280
...
- deprecate DriverFramework bmp280 driver (df_bmp280_wrapper)
- update beaglebone blue and snapdragon flight eagle boards to use in tree bmp280
- update posix (really just linux) and qurt I2C wrappers
- tested on beaglebone blue
5 years ago
Daniel Agar
b292b04ac1
platforms posix link atomic
5 years ago
Daniel Agar
1edfee4fdd
mavsdk_tests: build should be independant of px4
5 years ago
Daniel Agar
9df06ffdea
posix main wait_to_exit() fix and catch SIGTERM
...
- wait_to_exist() shouldn't depend on lockstep (px4_usleep)
5 years ago
Daniel Agar
cc7a0cd69d
beaglebone blue: build librobotcontrol with cmake
5 years ago
Daniel Agar
30a73416dc
mavsdk SITL testing code coverage and upload to codecov.io
5 years ago
Lorenz Meier
742b1839d5
Simulation: Set scheduling policy RR for lockstep
...
This should ensure that all processes do still run at full load.
5 years ago
Julian Oes
16da8466e3
posix: exit if the startup script is not ok
...
In general, if anything goes wrong in the startup script, we
should fail entirely because things might not work as expected.
In particular, this prevents that we have to press Ctrl+C twice if the
simulator start call is hung waiting for the simulator to appear and
start communicating. We now press Ctrl+C once and exit straightaway
whereas before we would press it once to get the warning:
"Startup script returned with return value: 2",
and then finally exit on the second press.
5 years ago
Julian Oes
a9ca16cafe
Fix a couple of flake8 Python warnings ( #13763 )
...
* Tools: fix flake8 error
* platforms: fix flake8 error
This is just guessed.
5 years ago
Christian Clauss
6dc55f97d4
More fixes for Python 3 compatibility ( #13008 )
...
* More fixes for Python 3 compatibility
* Workaround if the six module is not pip installed
* Lose the semicolons
5 years ago
Chris Lovett
01818b505f
posix server: switch from fcntl(..., F_SETLK, ...) to flock(...) ( #13718 )
...
- Required for Windows
- Add better diagnostic output in some places.
- close the lock file descriptor where we don't need to keep it open
5 years ago
Daniel Agar
3d56f37606
vscode debug and ekf2 replay improvements
...
- create new px4_sitl_replay config specifically for replay
- ekf2 replay don't launch gazebo
- add px4_sitl_test cmake variant
- px4_sitl_test bring into sync with px4_sitl_default
- vscode replace hard coded build path with cmake setting
5 years ago
kamilritz
2a707cf669
Debug log replays with gdb in vscode
5 years ago
PX4 BuildBot
6f4b9f93fd
Update submodule nuttx to latest Thu Dec 12 14:57:56 UTC 2019
...
- nuttx in PX4/Firmware (327c7f3672ee5f066ec53dfe1554a02d1aa610da): 2e55ce8ec9
- nuttx current upstream: 9331fda0d7
- Changes: 2e55ce8ec9...9331fda0d7
9331fda0d7 2019-12-10 David Sidrane - [BACKPORT] IMXRT106x USDHC: Support regular GPIO for CD and inversion.
91c80c708b 2019-12-05 David Sidrane - [BACKPORT] imxrt106x:pinout add ALT 8 GPIO_GPT1_CAPTURE[1|2]
32f758f0e9 2019-12-03 David Sidrane - [BACKPORT] stm32f7:Add Serial Tx DMA
5 years ago
David Sidrane
74b6cc5bce
px4_fmu-v5:Use Serial TX DMA on Telem 2
5 years ago
Daniel Agar
1d3f722201
px4_work_queue: increase hp_default stack 1800 -> 1900 bytes
5 years ago
Matthias Grob
904ab16558
Fix trailing whitespace, EOF newline, indentation
5 years ago
David Sidrane
cada41f027
WorkQueueManager:Fix low stack warning introduced by stism330
5 years ago
Daniel Agar
1a395fb6d9
ST ISM330DLC IMU driver
5 years ago
Daniel Agar
a859a6b57c
VSCode SITL debug improvements
...
- added gazebo VTOL tailsitter debug target
- improved jmavsim debug target and helper tasks to work properly (build and launch directly instead of through the jmavsim_run.sh script)
- improved output console handling for helper tasks (eg gazebo and jmavsim build and run, followed by cleanup after debug)
- added miniterm.py as a task
5 years ago
PX4 BuildBot
5e95820e14
Update submodule nuttx to latest Sun Dec 1 00:38:57 UTC 2019
...
- nuttx in PX4/Firmware (22a005c9f4
): 2d7920055f
- nuttx current upstream: 398a59aaa4
- Changes: 2d7920055f...398a59aaa4
398a59aaa4 2019-11-29 David Sidrane - [BACKPORT] stm32f7:ethernet: Add some delays so that ifup() does not hog the CPU.
5 years ago
David Sidrane
44c7b90a7b
stm32h7:Bootloader fix assertion caused by USB running
...
USB was still running in transition to Firmware. This
resets the USB
5 years ago
Beat Küng
0f42ecc5c7
durandal-v1: enable dshot
5 years ago
Daniel Agar
071f159794
PX4 work queue: extend to UARTs
5 years ago
Daniel Agar
a7fbaefd83
NuttX cmake small debug helper improvements
5 years ago
Daniel Agar
a8ea55d9b6
remove all <cmath> usage
...
* the NuttX c++ library is incomplete, let's avoid including it until we have a real standard library in place
5 years ago
Daniel Agar
bc182e94e6
sensors split rc_update into new standalone module
5 years ago
Daniel Agar
2811307293
px4_work_queue: increase wq:hp_default stack 1500->1800 bytes (found by stackcheck)
5 years ago
David Sidrane
bbd37ada41
holybro_durandal-v1: update cdcacm product id
5 years ago
David Sidrane
7ca8a8dbaa
durandal-v1:Bootloader
...
Change PID to 0x4b:
Holybro obtained their own PID and VID but APM did not follow
the PX4 convention of makeing the board_id (0x8b) match the PID)
Incorporated the Upstream Bootloader state sequencing checking change.
Change the usb cout to send all chars in 1 write.
5 years ago
Beat Küng
1371887578
board config: add define for adc voltage scaling
5 years ago
Beat Küng
4b290c4903
voltage & current scaling: use px4_arch_adc_dn_fullcount() instead of 4096
...
Fixes the scaling on h7 boards (the ADC has 16 bits resolution).
5 years ago
Daniel Agar
84fe64b1c2
create new multicopter rate controller module (mc_rate_control) split out of mc_att_control
5 years ago
Daniel Agar
1c4a8e7c11
cmake NuttX fix generated launch.json (vscode debug)
5 years ago
Daniel Agar
82fac4a0a7
cmake NuttX linker print memory usage
5 years ago
David Sidrane
67f27eb26c
NuttX @ Offical release of 8.2
5 years ago
Daniel Agar
8ce2f30aa6
NuttX cmake improve dependencies between configure and runtime
...
- attempting to make the build slightly more robust to incomplete configures or other bad states.
5 years ago
Daniel Agar
df73a6667d
NuttX cmake improvements
...
- fix temporary Make.defs copy
- implement custom macros for COMPILE, COMPILEXX, ASSEMBLE, ARCHIVE to enable ccache properly (if available and enabled)
- fix NuttX mkdeps
- fix libapps race condition with context
5 years ago
David Sidrane
850821f47f
[REVISIT] Support upstream DSHOT Revist!
...
The Addition of PX4_ARCH_DCACHE_LINESIZE is fundamentally wrong.
It asserst that an STM32F4 has a cache and it does not.
This should be #if defined() on CONFIG_ARMV7M_DCACHE
5 years ago
Daniel Agar
2af262ed1d
NuttX cmake build wrapper thorough dependencies
5 years ago
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
5 years ago
David Sidrane
b2f28c977d
durandal-v1 Nuttx Based PX4 bootloader
...
durandal bootloader:Run at 480 Mhz
durandal-v1:bootloader use VBUS detection
Add Durandal bootloader to build
5 years ago
David Sidrane
65a26ec060
nxp_fmuk66-v1:Port to NuttX 8.1+
5 years ago
David Sidrane
e847698c9f
PX4 System changes Supporting STM32H7
...
stm32:ToneAlarmInterfacePWM TIM15-TIM17 have a BDTR Register
common:board_crashdump Add H7 support
stm32/board_mcu_version:Support H7
PX4 ADC:Use 32 interface and resoution abstraction
Added PX4 stm32h7 ADC driver
stm32h7:adc fix ADC ready check
fmu: handle BOARD_HAS_PWM==5
cmake: improve error handling for NuttX olddefconfig failures
WorkQueueManager:Quiet loadmon stack warning
camera_trigger:GPIO support < 6 GPIO
Adjust stack sizes (under hw stack check)
PX4 System changes Supporting STM32H7 PX4IO Driver
aerotenna_ocpoc:ADC add px4_arch_adc_dn_fullcount
init.cmake:Track Upstream change needing Make.def at config time
PX4 System changes Supporting STM32H7
NuttX CMakeLists.txt Track upstream changes
Common board_crashdump add header and px4 config
NuttX simplify callinb make libapps
Use UINT32_MAX for error return
drivers:uavcannode NuttX chip is now hardware
drivers:uavcanesc NuttX chip is now hardware
px4io:Avoid Race on AP to PX4 IO upgrade
5 years ago
David Sidrane
36a75b79a4
uavcan:Changes to support Nuttx 7.31+
...
libuavcan:Update with Kinetis NuttX 8.1+ support
Traking master uavcan changes
5 years ago
David Sidrane
522ed2d99b
NuttX based PX4 bootloader
...
stm32h7 booloader:Obey VBUS input
stm32h7 booloader:Fully deinit systic
5 years ago
Beat Küng
78944a70c3
Upgrade NuttX to 8.2
...
Nuttx with PX4 contrib of bbsram fix
Nuttx 8.31+ with BBSRAM disable dcache
Nuttx 8.2-
5 years ago
TSC21
d4ddabdf52
SITL: adds 'iris_rtps' target
5 years ago
Daniel Agar
c5520cbaca
mpu9250: start building "NuttX" driver for Linux and QuRT
5 years ago
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
5 years ago