Beat Küng
8a9744d05a
dshot: allow boards to enable dshot only on a subset of the timers
5 years ago
Beat Küng
d0a7490222
dshot: update timer generation before DMA request
...
This reloads the timer configuration before triggering DMA. Without that,
in rare cases, there were 17 bits sent instead of 16.
The 1. bit (1. pulse) was always wrong (too much), the rest of the bits
were the correct DShot packet that was meant to be sent.
5 years ago
Beat Küng
7445c25fcc
dshot: check if DMA still in progress
...
No other functional change, just restructuring.
5 years ago
Beat Küng
182efaa757
dshot: reduce static buffer size
...
And handle failures of up_dshot_init().
On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
5 years ago
Beat Küng
69c10dcaac
dshot: move implementation to a separate directory & library
...
So that the static memory overhead is not added to targets w/o dshot
5 years ago
Beat Küng
23dbd9426a
dshot: handle dcache, flush cache before DMA transfer
5 years ago
Beat Küng
3234aca53b
px4_micro_hal: add PX4_ARCH_DCACHE_LINESIZE definition
5 years ago
Igor Mišić
5bd9659301
stm32 timers: add dshot implementation
5 years ago
Daniel Agar
3c623af903
ekf2: move to WQ with uORB callback scheduling
5 years ago
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
5 years ago
Daniel Agar
3687677095
cmake: show sitl_gazebo build output and improve rebuild
5 years ago
Kjkinney
3f9b3fb4da
px4_log: publish all PX4_INFO messages as well ( #12954 )
5 years ago
Daniel Agar
86dc4c5a00
cmake generate vscode launch.json
5 years ago
Daniel Agar
fb7521eb5e
cmake px4_base -> px4_parse_function_args
5 years ago
Daniel Agar
d27dfcd921
NuttX CMakeLists.txt extract helpers (jlink, upload, etc)
5 years ago
Julian Oes
78d3986013
platforms: fix main function signature
6 years ago
Beat Küng
d3fb610fde
mixer_module: create MixingOutput library and use in fmu
...
This should be a pure refactoring, no functional change.
6 years ago
Beat Küng
43fdcd7876
px4_middleware: remove that header and move px4::init to px4_init.h
...
delete include:
for i in $(grep -rl 'px4_middleware.h' src platforms); do sed -i '/#include <px4_middleware.h/d' $i; done
6 years ago
Beat Küng
f32abe8534
src/platforms: move remaining source files to platforms/common
6 years ago
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
6 years ago
Beat Küng
5d0e72040c
src/platforms/posix: move to platforms/posix/src/px4/common and src/drivers/driver_framework_wrapper
6 years ago
Beat Küng
fa8165a1c3
platforms/posix/src: move to platforms/posix/src/px4/common
6 years ago
Beat Küng
3bdfd8ce8d
ToneAlarmInterface: move to drivers/drv_tone_alarm
...
It belongs there since it's not a library providing the implementation, but
just declaring the interface.
6 years ago
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
6 years ago
Beat Küng
3003e7d0fc
drv_led_pwm: move to arch-specific directory
6 years ago
Beat Küng
bd1b267baa
NuttX hrt: move into arch-specific directory
6 years ago
Beat Küng
1cb6c36a00
adc: refactor into arch-specific directories
6 years ago
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
6 years ago
Daniel Agar
e8dcd8c2fc
cmake nuttx ignore linking target warning
6 years ago
roangel
e50dd7c364
replay: close replay log file after replay is finished, then exit ( #11264 )
6 years ago
Hyon Lim
0262a699c1
UVify Core board support and airframes (Draco, Draco-R, IFO) ( #12337 )
...
* also includes minor changes to make it easy to keep in sync with px4_fmu-v4
6 years ago
Julian Oes
dd2d5c029f
platforms: match usb-Hex_ProfiCNC device ( #12772 )
...
This means that we are able to detect and flash the Pixhawk Cube Black.
6 years ago
Julian Kent
d70b024ec7
GTest functional tests that include parameters and uORB messaging ( #12521 )
...
* Add kdevelop to gitignore
* Add test stubs
* Rename px4_add_gtest to px4_add_unit_gtest
* Add infrastructure to run functional tests
* Add example tests with parameters and uorb messages
* Fix memory issues in destructors in uORB manager and CDev
* Add a more real-world test of the collision prevention
6 years ago
David Sidrane
21782603b3
px4_fmu-v5x: add networking
...
* fixed dropped CONFIG_LIBC_FLOATINGPOINT=y
* fix RMII TX pinning
* update platforms/nuttx/NuttX/nuttx w/ f7 eth
6 years ago
Daniel Agar
64f105b530
Update submodule nuttx to latest Mon Aug 5 20:30:34 UTC 2019 ( #12636 )
...
- nuttx in PX4/Firmware (be76f909beadfe80415b733c020695efb042adef): b4013dcd4a
- nuttx current upstream: 14f4dc735a
- Changes: b4013dcd4a...14f4dc735a
14f4dc7 2019-08-05 David Sidrane - [BACKPORT] kinetis:i2c transfer ensure correct result returned
6 years ago
Daniel Agar
030508a71d
cmake make bloaty available everywhere and improve output
6 years ago
Daniel Agar
f7c9acbdab
Update submodule nuttx to latest Thu Aug 1 18:09:20 EDT 2019 ( #12603 )
...
- nuttx in PX4/Firmware (210dbb5b8365eb003453695aa4711044bb6d49be): 257e1730dc
- nuttx current upstream: b4013dcd4a
- Changes: 257e1730dc...b4013dcd4a
b4013dc 2019-08-01 David Sidrane - [BACKPORT] stm32l4:serial add HW HS on UART 4 & 5
4380c12 2019-08-01 David Sidrane - [BACKPORT] stm32h7:serial add HW HS on UART 4 & 5
0ff3e6c 2019-08-01 David Sidrane - [BACKPORT] stm32:serial add HW HS on UART 4 & 5
316126f 2019-07-31 David Sidrane - [BACKPORT] stm32f7:serial add HW HS on UART 4 & 5
6 years ago
Anthony Lamping
5d986f2030
posix: add argument to change the CWD ( #12482 )
6 years ago
PX4 Build Bot
ca74b3fef1
Update submodule nuttx to latest Mon Jul 29 12:38:24 UTC 2019
...
- nuttx in PX4/Firmware (0654fdcf0ec7e45cc1e1ca5cc38de6c5e36417bc): feb5b6f174
- nuttx current upstream: 257e1730dc
- Changes: feb5b6f174...257e1730dc
257e173 2019-07-26 David Sidrane - [BACKPORT] stm32f7:If only one SDMMC it is slot 0
6 years ago
David Sidrane
df0599913e
Firmwarte master with nuttx printf backport
6 years ago
Beat Küng
d95aae4619
Generic-arm-none-eabi-gcc-cortex-m7: use SP float depending on NuttX config
...
Not all m7 boards support double, as for example the STM32F745.
6 years ago
Daniel Agar
d4cd1d0d2e
NuttX stm32f7 fully re-enable dcache with write back ( #12435 )
...
- fixes https://github.com/PX4/Firmware/issues/12216
- includes latest PX4/NuttX and apps update 7.29+
6 years ago
Daniel Agar
dc10a68539
NuttX and apps update 7.29
6 years ago
Julian Oes
35074aaffd
posix: remove segfault handler
...
I could not get a core dump without removing the segfault handler, hence
this change.
6 years ago
Julian Oes
f3620f7018
Remove all leftover PX4_BACKTRACE calls
6 years ago
Beat Küng
0d71eeccbf
console buffer: write to log as 'boot_console_output' message
6 years ago
Beat Küng
d947818654
console: add simple dmesg functionality (enable only on v5)
6 years ago
Beat Küng
6e2b70cbcd
posix: restore original SEGV signal handler upon first entry of our handler
...
The current SEGV handling on posix is not useful: as soon as our handler
is left, it's triggered again, infinitely.
This patch changes to restore the original handler, so the OS can create
a core dump, etc.
6 years ago
Julian Oes
7b9562e3b1
hysteresis: move out of systemlib, move to gtest
...
This moves the hysteresis test out of the systemlib and makes it its own
small library. Since it still depends on hrt_absolute_time this does not
link yet. My attempt to get all link dependencies together failed.
6 years ago
Daniel Agar
e9ca5d5aba
PX4 general work queue
6 years ago