Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Matthias Grob
e843090383
Replace a lot of memset with {} initializers
2019-10-15 10:01:03 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04: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
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
f2cd5e3e9f
move src/firmware/ to platforms
2018-01-05 14:21:31 -05:00
Daniel Agar
1468d4ed39
muorb add generation dependency
2018-01-01 10:19:00 -05:00
Daniel Agar
b1b951aace
astyle src/modules/muorb
2017-01-29 01:18:32 +01:00
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
2017-01-16 08:25:58 -08:00
Mark Charlebois
f529069368
Fixed code format issues
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-09 15:41:54 -08:00
Mark Charlebois
b08e70b65a
Enabled topic_unadvertised
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-09 15:41:54 -08:00
Mark Charlebois
62a3e07423
orb_exists support for muorb
...
Also added builtin command wait_for_topic
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-09 15:41:54 -08:00
Beat Küng
b8e247a018
muorb: add drv_hrt.h include for hrt_absolute_time
2016-08-24 21:24:35 +02:00
James Goppert
818840b576
Path cleanup, low impact changes ( #5340 )
...
* Low impact changes from path_cleanup branch.
This is a step towards minimizing the diff with path_cleanup branch.
* Update ecl.
* Revert matrix update.
* Revert ecl and matrix.
* Update sitl gazebo.
* Revert sitl_gazebo and matrix changes.
2016-08-18 15:37:23 -04:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb3 .
2016-08-05 21:29:49 +02:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
Beat Küng
8a12dee125
cmake: remove all module.mk files & cmake conversion script ( #4918 )
...
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
jwilson
9794bb2f2f
Running fix_code_style.sh on the requested source files.
2016-06-22 08:57:06 +02:00
jwilson
acc1f04b67
Unfortunately, lot's of whitespace changes, required to satisfy unspecified code style format errors.
2016-06-22 08:57:06 +02:00
jwilson
a73ac821ab
Fixes shared memory locking bug and eliminates the need for an AppsProm driver to reserve a shared memory region.
2016-06-22 08:57:06 +02:00
Julian Oes
f8020a4063
muorb: removed printf
2016-06-07 22:10:56 +02:00
Mark Charlebois
6ac0eabb5a
Changes required to support Hexagon SDK 3.0
...
The inc and lib directories were renamed to incs and libs.
This requires an updated cmake_hexagon and come changes to qurt paths in
PX4.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-06-01 23:50:28 +02:00
Julian Oes
c32310b6b4
muorb: improve comment
2016-04-08 15:51:16 +02:00
Julian Oes
8422280f18
muorb: typo and added comment for magic number
2016-04-08 15:51:16 +02:00
Julian Oes
2bce8f2803
muorb: abs time on aDSP in sync with Linux side
...
This adds a call on startup of the muorb on the aDSP side to use an
offset for hrt_absolute_call(). This means that the hrt_absolute_call()
on the appsproc (Linux) side should now match the one on the aDSP
(QURT) side.
The accuracy still needs to be determined.
2016-04-08 15:51:16 +02:00
Julian Oes
51ff00b786
muorb: astyle
2016-02-19 16:59:48 +01:00
Julian Oes
3a8feaf617
muorb: clean up of forgotton merge conflict
2016-02-19 16:59:48 +01:00
Julian Oes
e4398bc87c
muorb: don't start muorb with stop command
...
Previously using 'muorb stop' would in fact start at least part of the
muorb which is not what it's expected to do.
2016-02-19 16:59:46 +01:00
Mark Charlebois
791ec37f43
Code formatter fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:46 +01:00
Mark Charlebois
caa94d58a6
Manually integrated Jim's changes from integrate2_jim branch
...
Signed-off-by: Jim Wilson <jywilson99@hotmail.com >
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:46 +01:00
Mark Charlebois
ae0d0e67cc
Added rpcmem.a to posix_eagle_release build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
8b22bde071
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
014f15d8b0
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
e775e7bd05
Fixed copyright header
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
a002d6eabd
Added rpcmem.a to posix_eagle_release build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
5846a22a8f
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
01d0543e0a
Provide impelmentation of px4muorb_KraitRpcWrapper
...
The Terminate function is not properly implemented yet.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
7389ea7648
Merge fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
9f3bf8e9f4
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:41 +01:00
nopeppermint
78f9bb79f1
more spelling mistakes
2016-01-11 08:38:09 +01:00
Lorenz Meier
5f9da470bb
Do not redefine GNU source in modules
2015-12-01 13:49:55 +01:00
Lorenz Meier
360e3c03b6
Krait: Add missing header
2015-12-01 13:41:24 +01:00
Lorenz Meier
752d091ecc
muorb: Update code style
2015-10-19 13:51:36 +02:00
Mark Charlebois
1bba87c264
qurt: Changes for cmake build
...
Added build stubs.
Fixed missing module (platforms/common) which was causing missing generated message errors.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-09-11 17:43:25 -07:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Mark Charlebois
54bae34a2c
Build fixes for qurt after rebase on PX4 master
...
Removed the re-definitions of the usage method in the posix/main.cpp file.
Added qurt_external_hook interface to call externally linked module.
Fixed code format to comply with PX4 style.
Added usage information to main app and handled cases for unknown arguments.
Fixed the orb_priority interface to use int32_t instead of int.
Fixes to get hil working with led changes.
Added the config_eagle_adsp.mk file and update the make files to to use new
include/lib paths
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-09-04 11:09:29 -07:00
Mark Charlebois
5120708b38
muorb: code cleanup
...
Fixed comments and code formatting
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-30 22:19:46 -07:00
Mark Charlebois
b7f1dd9858
muorb: file rename and updates
...
Changed muorb_fastrpc.cpp to px4muorb.cpp to match the name of the
library that implements the FastRPC calls.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-24 20:13:17 -07:00
Mark Charlebois
60ec1c897a
QuRT: Added muorb files
...
muorb is used to proxy messages between the Krait and DSP.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 11:12:50 -07:00