336 Commits

Author SHA1 Message Date
Nate Weibley
8a4699c656 Fix style 2015-10-12 15:26:11 -04:00
Nate Weibley
d7274ac5f0 Enable hash check of used parameters to verify integrity of GCS local copy 2015-10-12 13:40:14 -04:00
Lorenz Meier
cf4e256b83 Systemlib: Disable params in build 2015-10-10 16:20:59 +02:00
Daniel Agar
2529f07d44 restore format check 2015-10-06 18:28:30 -04:00
Lorenz Meier
fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert
2a60ffd554 Added stdc_format_macros for all inttypes.h includes. 2015-09-24 17:44:27 -04:00
James Goppert
ed876b95c3 Added stdc_format_macros to err. 2015-09-24 16:54:45 -04:00
Lorenz Meier
b3a8ba4e92 param: Move to POSIX semaphore abstraction 2015-09-20 00:29:22 +02:00
James Goppert
567431602a Adds alias __errno to linker file fixed link, need to understand why. 2015-09-14 19:55:53 -04:00
James Goppert
f43ccdaea1 Make parameters a separate library. 2015-09-13 18:55:48 -04:00
James Goppert
19c84126a4 Fixed parameter generation dependencies. 2015-09-13 18:30:32 -04:00
Mark Charlebois
fc3acdb2c1 cmake: param refactoring
Use a struct to contain all the parameters so the ordering in
memory is not machine dependent.

Add number of parameters to the param struct. The struct actually
allows direct accessing by the member name if desired.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 12:41:00 -07:00
Mark Charlebois
b9ef1ee6ed param: Build param without linker script
Changed to enable the posix_sitl_simple target to build and run

param show *

without using a linker script

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 02:33:42 -07:00
James Goppert
bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00
James Goppert
fbebeab1b4 Added mixer generation. 2015-09-08 19:27:38 -04:00
Mark Charlebois
c16c6a00e3 Clean up location of nuttx specific template
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:08:50 -07:00
Mark Charlebois
eb40a6de77 cmake: qurt modules now build but do not link
Managed to get the deps set up to build the qurt modules using a
config file for the list of modules.

NuttX link options are being set somewhere that break the qurt build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-08 14:07:43 -07:00
James Goppert
1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier
fba569f12c Fix code style for system lib 2015-09-06 11:59:50 +02:00
tumbili
4d35291649 avoid division by zero 2015-09-03 09:56:07 +02:00
Andrew Tridgell
4eaa18e6f9 perf_counter: fixed write to correct fd for perf output
this fixes perf output for nsh over MAVLink
2015-08-28 21:57:09 +02:00
Lorenz Meier
3724947046 Fix circuit breaker param typo 2015-08-28 12:18:25 +02:00
Lorenz Meier
4aec25724e Condition the print load systemlib build correctly for all OS 2015-08-23 13:38:37 +02:00
Lorenz Meier
24af256516 Fix print load for non-NuttX configs 2015-08-22 23:06:01 +02:00
Lorenz Meier
6fda74dbd6 print load: Fix struct visibility 2015-08-22 22:55:49 +02:00
Lorenz Meier
2c4e72a081 Add missing decls to print load 2015-08-22 22:55:41 +02:00
Lorenz Meier
90d8b22f4f Compile fix for POSIX for load print routines 2015-08-22 21:20:15 +02:00
Lorenz Meier
cd4a47191f Merge branch 'beta' into beta_merge4 2015-08-22 21:12:55 +02:00
Lorenz Meier
10047964e3 Fix compile error on load print struct 2015-08-22 21:12:26 +02:00
Lorenz Meier
c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier
86e2e7e2a6 print load: Initialize to empty string, not null pointer 2015-08-22 19:21:54 +02:00
Lorenz Meier
b70c9a84c6 systemlib: Add ability to dump memory usage 2015-08-22 15:26:28 +02:00
Lorenz Meier
ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier
cab6d8b770 System lib: Remove unused variable from CPU load tracking 2015-08-10 17:07:30 +02:00
Lorenz Meier
2a8402edb1 Merged beta into master 2015-07-09 15:55:31 +02:00
Lorenz Meier
7b14a0258e pwm limit: Fix author list 2015-07-07 09:50:07 +02:00
Lorenz Meier
ef4946f81b PWM limit: Avoid writing back into state struct 2015-07-06 12:08:31 +02:00
Lorenz Meier
433c9bf42d PWM limit lib: Support pre-arming 2015-07-06 12:08:31 +02:00
Lorenz Meier
5f586fc354 Mixer library: Fix code style 2015-07-06 10:21:44 +02:00
Lorenz Meier
234990fbe4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware 2015-07-02 01:00:06 +02:00
Mark Charlebois
1e46f44123 POSIX: ported systemcmds/tests
Most of the systemcmds tests run in the posix build. The UART tests
fail for me as I do not have a UART connected.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Lorenz Meier
cde8d72694 PWM output limiter: Improve comments. 2015-06-30 09:51:19 +02:00
Lorenz Meier
3bad91dd3b systemlib: Fix param access for used params 2015-06-25 09:28:04 +02:00
Lorenz Meier
9365c5a438 systemlib: Remove file present 2x from Makefile 2015-06-21 18:59:28 +02:00
Mark Charlebois
872a26e6da Fixed passed ot open() for O_CREAT
In nuttx the mode parameter to open is not required but in Linux,
and per the POSIX spec, mode is required if the O_CREAT flag is
passed.

The mode flags are different for NuttX and Linux so a new set of
PX4 defines was added:

PX4_O_MODE_777 - read, write, execute for user, group and other
PX4_O_MODE_666 - read, and write for user, group and other
PX4_O_MODE_600 - read, and write for user

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:40 +02:00
Mark Charlebois
c6b36073fe POSIX: ifdef getreg32() calls in mcu_unique_id()
mcu_unique_id() reads registers at an invalid address in non-nuttx builds.
Added ifdef to return a dummy value for non-nuttx builds.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:27 +02:00
Lorenz Meier
c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
David Sidrane
9585bb4a3c Missing slash 2015-06-12 07:54:51 -10:00
David Sidrane
428611119f Merged GIT version changes 2015-06-12 19:32:55 +02:00
David Sidrane
17fddb1556 Back Port of Git Versioning - without side effects Part 1 2015-06-12 06:49:15 -10:00