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
2019-08-30 07:59:44 +02:00
Beat Küng
f32abe8534
src/platforms: move remaining source files to platforms/common
2019-08-30 07:59:44 +02:00
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
2019-08-30 07:59:44 +02:00
Beat Küng
5d0e72040c
src/platforms/posix: move to platforms/posix/src/px4/common and src/drivers/driver_framework_wrapper
2019-08-30 07:59:44 +02:00
Beat Küng
8cbb3852ba
src/platforms/qurt: move to src/drivers
2019-08-30 07:59:44 +02:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
2019-08-30 07:59:44 +02:00
Daniel Agar
ccdc2dffa9
WQ decrease att_pos_ctrl stack
2019-08-21 11:59:50 -04:00
Julian Kent
63140f1d61
Do a single setup of uORB/Parameters instead of once every test
2019-08-21 14:53:41 +02:00
Daniel Agar
7d248e0f45
px4fmu: move to WQ with uORB callback scheduling ( #12224 )
2019-08-20 20:24:12 -04:00
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
2019-08-09 15:10:09 +02:00
Silvan Fuhrer
970e362e9a
Increased stack of lp work queue as with new airspeed modudle it was getting low
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-08-09 10:55:05 +02:00
Daniel Agar
e69398c09f
introduce uORB::PublicationQueued and transition most orb_advertise_queue usage
2019-08-04 10:08:09 -04:00
Daniel Agar
136962d125
uORB Subscription callbacks with WorkItem scheduling on publication ( #12207 )
2019-06-17 16:26:06 +02:00
David Sidrane
f96c47ae1b
stm32f7 bootloader update support ( #11394 )
...
* micro_hal: F7 add flash
* micro_hal: F7 non up_progmem functions
* bl_update: Add F7 Support
2019-06-15 21:46:46 -04:00
Daniel Agar
5f20d3cf3b
Jenkins HIL increase boot timeout for stackcheck build
...
- px4_fmu-v5_stackcheck remove extra drivers (to try and get the system
usuable)
2019-06-15 16:59:04 -04:00
Julian Oes
bece63866d
platforms: remove px4_backtrace
2019-06-05 08:16:19 +02:00
Julian Oes
f3620f7018
Remove all leftover PX4_BACKTRACE calls
2019-06-05 08:16:19 +02:00
Daniel Agar
26e041c43c
WQ increase stacks from 1200 to 1250 bytes
2019-06-04 20:24:51 -04:00
Beat Küng
0d71eeccbf
console buffer: write to log as 'boot_console_output' message
2019-06-04 11:57:54 +02:00
Beat Küng
d947818654
console: add simple dmesg functionality (enable only on v5)
2019-06-04 11:57:54 +02:00
Julian Oes
b135503447
wqueue: check before dereferencing
...
This was found by coverity.
2019-05-29 08:57:46 -04:00
TSC21
bd87bee632
px4_posix.h: add px4_exit()
2019-05-27 15:22:37 +02:00
Daniel Agar
e9ca5d5aba
PX4 general work queue
2019-05-24 12:58:55 -04:00
Bart Slinger
ebf8bc898a
fix bebop upload script
2019-05-11 14:39:42 +01:00
Julian Oes
0a978f51e6
px4_atomic: use volatile hack for Snappy
...
It looks like the atomic builtins are not available using QuRT and the
Hexagon toolchain, so our best bet is to use `volatile` for the atomics.
2019-05-06 12:06:01 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
Daniel Agar
e2bf4b1894
List container improvements and testing
...
- support range based for loops
- add remove() method to remove a node
- add clear() to empty entire list and delete nodes
- add empty() helper
2019-03-01 21:01:04 -05:00
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
2019-02-22 18:31:27 +00:00
Daniel Agar
184aa2861a
PX4_ISFINITE use builtin everywhere
2019-02-21 14:56:08 -05:00
Beat Küng
ab6ab97aa2
px4_module: document that the subcategory is optional
2019-02-08 09:29:46 +01:00
Beat Küng
4452669614
module documentation: add support for subcategories
2019-02-08 09:29:46 +01:00
Beat Küng
d8b013355c
PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value
2019-02-08 09:29:46 +01:00
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
2019-01-30 10:54:53 -05:00
Beat Küng
2f4f4c6623
px4_module: explicitly call the constructor of _task_should_exit
...
Workaround for a GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930 )
Triggered with the bebop toolchain.
2019-01-30 10:24:06 -05:00
Beat Küng
481bfc6308
px4_module: use px4_atomic_t
2019-01-30 10:24:06 -05:00
Beat Küng
b6e2ac74de
px4_atomic: add an atomic interface based on GGC's builtin atomics
2019-01-30 10:24:06 -05:00
Daniel Agar
1f4c3fedba
deprecate samv7 support and atmel same70xplained board
2019-01-25 10:54:53 -05:00
David Sidrane
cf09a8e933
px4_micro_hal:Upstream nuttx GPIO_OUTPUT_ZER0->GPIO_OUTPUT_ZERO
2019-01-25 06:32:37 -08:00
David Sidrane
3f0c9d5df5
px4_micro_hal:Fix typo
2019-01-25 06:32:37 -08:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Daniel Agar
376e078c24
platforms delete PX4_ROS and obsolete headers
2019-01-23 18:25:18 -05:00
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
2019-01-22 14:13:20 -05:00
Julian Oes
29bfdb0c88
platforms: fix linking for qurt ( #11115 )
2018-12-29 16:21:52 -05:00
Julian Oes
aac7b8d7eb
platforms: fix NuttX build
2018-12-22 10:32:18 +01:00
Julian Oes
14e5ebbbbc
platforms: fix clock build for macOS (yet again)
2018-12-22 10:32:18 +01:00
Julian Oes
547dd8511b
platforms: use define for lockstep scheduler
...
Instead of using the define __PX4_POSIX_SITL it makes more sense to have
a define just to determine if the lockstep scheduler should be used.
2018-12-22 10:32:18 +01:00
Julian Oes
4efe4b0d15
platforms: reorg after rebase on new board config
...
The new board config changed everything, so I needed to move the
lockstep_scheduler repo.
2018-12-22 10:32:18 +01:00
Julian Oes
185ddb2ab6
lockstep_scheduler: format to PX4 style
...
Consistency over taste :(.
2018-12-22 10:32:18 +01:00
Julian Oes
fb9f72d029
lockstep_scheduler: modernize warnings
2018-12-22 10:32:18 +01:00