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
a2c16a3b5e
Another attempt to fix the build problem in the shmem code.
2016-06-22 08:57:06 +02:00
jwilson
701d6314d2
Fixes build problem in the shmem code.
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
Beat Küng
29eac9b7cb
px4_log.c: fix code style
2016-06-09 15:25:11 +02:00
Beat Küng
513900fb16
printf log: colorize output under POSIX & tty output according to the log level
2016-06-09 15:25:11 +02:00
Beat Küng
fcab80bfee
getprogname: rename to px4_get_taskname
2016-06-09 15:22:29 +02:00
Julian Oes
9079b54001
POSIX: be less verbose on startup
2016-06-07 22:10:56 +02:00
Beat Küng
26feb018d9
getprogname on posix: fix locking (mutex was not unlocked in some cases)
2016-05-27 19:33:55 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Beat Küng
42a9d5651f
platform: some code cleanup for px4_{posix,qurt}_tasks.cpp
...
- __BEGIN_DECLS is for declarations not definitions
- getprogname() declaration is in err.h
2016-05-11 15:56:50 +02:00
Beat Küng
77c61260df
px4_task_spawn_cmd: handle case properly when running out of unused taskmap items
2016-05-11 15:56:50 +02:00
Beat Küng
d3068b4337
px4_task_spawn_cmd: fix memory leak on posix
2016-05-11 15:56:50 +02:00
Lorenz Meier
34ba80ea9d
Remove attributes warning for Snapdragon
2016-05-05 14:09:18 +02:00
Lorenz Meier
084dfb4026
Fix Snapdragon no-packed
2016-05-05 14:02:31 +02:00
jwilson
c87a8bedb6
Adding config changes to allow PX4 to be built for the Excelsior board.
2016-05-05 08:34:31 +02:00
Beat Küng
44a0981c14
fix px4_task_spawn_cmd: unlock mutex if pthread_create fails
2016-05-03 17:34:42 +02:00
Beat Küng
99a682e7a7
fix px4_task_spawn_cmd: memory leak, if one of the pthread_* calls fails
2016-05-03 17:34:42 +02:00
Julian Oes
e3c9135ac2
param_shmem: fix bug where params didn't stick
...
There was the case where a param was changed on the Linux side but the
change did not get saved on the DSP side because the param was not in
the local list of changed params on the DSP side. On save, the param
index is now refreshed, and param_get is called on all params that have
changed. This is a hacky workaround but resolves the problem for now.
2016-04-26 10:21:01 +02:00
Julian Oes
5e5af9c37f
posix px4_layer: fix Mac build
2016-04-25 06:21:36 -07:00
Julian Oes
ee57055b99
posix px4_layer: fix linking error on QURT
2016-04-25 06:21:36 -07:00
Julian Oes
a302e79bb6
param_shmem: be less chatty, printf cleanup
2016-04-24 20:03:10 +02:00
Daniel Agar
3a209d71af
fix clang size error
2016-04-11 18:01:48 +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
9c8f67dfb8
platforms: fix build for QURT
2016-04-06 11:18:24 +02:00
Lorenz Meier
9c9ca9211f
HRT fix for negative time instrumentation
2016-04-05 19:09:30 -07:00
Lorenz Meier
5828c7fa4f
system_time: Use more strict time
2016-04-05 19:09:30 -07:00
Lorenz Meier
0baa625681
Adjustements and improvements in the simulation interface
2016-04-05 19:09:30 -07:00
Daniel Agar
ce8eb0edd8
unit tests -Werror
2016-03-14 09:15:02 +01:00
Julian Oes
022ced3648
shmem: don't do locking for now
...
The locking seems to be broken, therefore refrain from using it.
2016-03-09 11:07:34 -08:00
Julian Oes
070e71ed55
px4_layer: astyle
2016-03-09 09:53:27 -08:00
Julian Oes
8b19d249b2
px4_layer: better printfs for shmem_posix.c
2016-03-09 09:53:27 -08:00
Julian Oes
3e964ef85d
POSIX config: param shem define was lost
2016-03-09 09:53:27 -08:00
Lorenz Meier
be3863d99f
Fix formatting
2016-02-21 20:41:00 +01:00
Lorenz Meier
9f5469ab1f
Workaround for stack size setting on OS X
2016-02-21 20:28:24 +01:00
jwilson
75fad09263
Fixed problem causing a failure to obtain the shared memory lock on the AppsProc.
2016-02-19 16:59:49 +01:00
Julian Oes
8f26735255
POSIX: add px4_clock_settime stub for Mac
2016-02-19 16:59:48 +01:00
Julian Oes
68a85a7215
px4_layer: astyle
2016-02-19 16:59:48 +01:00
Julian Oes
928a31b59a
QURT: use drv_hrt.c from POSIX
2016-02-19 16:59:47 +01:00
Mark Charlebois
d29a2ecfac
Set stack size to minimum valid size if less requested
...
The stack size cannot be less than PTHREAD_STACK_MIN.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:47 +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
ff0618a8ff
Set the stack size for qurt
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
2c4187f21f
Resolved missing symbols for qurt build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
dab1f835c7
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
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
a495e3442c
Resolved missing symbols for qurt build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00