Stephan Brown
bf57e86dc2
param: Fix an off by 1 issue and some style fixes.
2017-01-06 09:58:58 +01:00
Stephan Brown
fe8deeeed9
param: Add a system command for finding parameters by name.
2017-01-06 09:58:58 +01:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
David Sidrane
5e8d6375c9
Back Port nuttx_v3 FLASH based parameter hooks
2016-07-13 20:42:05 +02:00
Julian Oes
f24ca14122
param: whitespace
2016-06-07 22:10:56 +02:00
Julian Oes
0acf0b3c69
param: be less verbose on startup
2016-06-07 22:10:56 +02:00
Kabir Mohammed
69976caca9
param : fix shell handler instructions ( #4716 )
2016-06-02 06:37:19 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04: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
jwilson
4adfea7fa9
Resolved shared memory parameter problems and removed additional debug code.
2016-02-19 16:59:49 +01:00
Julian Oes
3cda3610d0
param: workaround for QURT
...
There is no such thing as set_param_no_autosave on QURT, therefore just
save it anyway. On the Snapdragon the overhead should not be a problem.
2016-02-19 16:59:48 +01:00
Mark Charlebois
a1a615b907
Added param shared memory support
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Lorenz Meier
08ef2e8a1c
Param command: Increase stack as needed
2016-01-22 11:58:18 +01:00
Lorenz Meier
15b72045ce
Param command: Auto-save after set
2016-01-22 11:36:14 +01:00
Daniel Agar
2529f07d44
restore format check
2015-10-06 18:28:30 -04:00
Lorenz Meier
74a9850439
Param: Be less verbose
2015-09-20 16:40:33 +02:00
Lorenz Meier
7c3725772a
Param: Be less verbose when nothing changes
2015-09-20 15:22:15 +02:00
Lorenz Meier
4fb6e135d6
param: report open failure
2015-09-12 16:57:50 +02:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Daniel Agar
11027836c6
format src/systemcmds/param
2015-09-05 12:21:11 -04:00
Lorenz Meier
8dc3c0025a
param command: Support greater comparison
2015-08-08 14:13:45 +02:00
Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
Lorenz Meier
475c28803e
param command: Fix error handling if param is not found
2015-06-25 09:28:22 +02:00
Lorenz Meier
4c975a11e5
param command: Complete help text
2015-06-23 09:33:07 +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
cb231e89f6
QuRT: Changes to enable qurt target to build
...
QuRT doesn't support unlink and does not provide getpid().
The DSPAL layer provides access to usleep so an implementation is
no longer needed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:22:00 -07:00
tumbili
f4a25097c1
use open/close instead of px4_open/px4_close for parameter file
2015-06-01 23:01:48 +02:00
Mark Charlebois
60080dd9e7
QuRT: fixed print of INT32_t type
...
In QuRT, this is a long but the variable was being printed with "%d"
Need to cast variable as long and use "%ld"
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-19 11:10:06 -07:00
Lorenz Meier
e5fad077df
Merge master into linux
2015-05-18 23:28:57 +02:00
Lorenz Meier
c06ba047e2
param lib: Fix index used routine
2015-05-18 23:15:20 +02:00
Mark Charlebois
6db77dc8bb
Experimental virtual file support
...
QuRT does not have a filesystem, so creating a virtual filesystem
that could be implemented as an in-memory file or a remote file
over fastRPC.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 22:12:45 -07:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
6755c0de01
param cmd: Show used and normal list indices
2015-04-27 09:04:07 +02:00
Mark Charlebois
8737d77947
QuRT and POSIX changes - part 2
...
Second staged group of changes for QuRT and related POSIX changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:01:36 -07:00
Mark Charlebois
e3f137ce23
Fixed gcc 4.8 warnings
...
Disabled gcc warnings that are tripped by Eigen.
Removed signal code that is not needed in Linux port and was
causing gcc warnings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois
977036faf9
Linux: changed param to nit use errx or exit
...
Thread based implementaton can't call errx or exit
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Lorenz Meier
4c6ddf9372
Param command: Add functionality to view active params
2015-03-28 13:07:01 -07:00
Lorenz Meier
fe12bffefa
param subsystem: Only send the instantiated parameters via telemetry
2015-03-28 13:07:01 -07:00
Lorenz Meier
38ad35fd77
param tool: Fix code style
2015-02-10 08:40:41 +01:00
Andreas Antener
f2c1d6d66d
implemented reset excludes in systemcmd "param", updated autoconfig parameter doc
2015-02-10 08:39:46 +01:00
Lorenz Meier
f7b79bfaf2
Param interface: Allow to check return value of param_reset. Reset test param prior to running test
2015-02-08 16:39:37 +01:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Lorenz Meier
ea4de4adc3
param command: fix warnings
2014-07-08 13:54:01 +02:00
Don Gagne
680ebf29c3
Fix compiler warnings
2014-07-07 15:11:46 -07:00
Don Gagne
b9299e68d4
Compiler warning fixes
2014-07-05 13:35:12 -07:00
Lorenz Meier
d0b78aa8a0
Add param command which does not reset the autostart params to not hamper auto-config
2014-07-01 13:42:32 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Lorenz Meier
b2945fda53
param command: Reduce stack size to 1800 after careful testing
2014-05-15 09:03:05 +02:00
Lorenz Meier
c646a8ff1d
Let the param set command default to non-failing, because unknown params are in the script default init not a reason to give up on the complete boot
2014-05-14 14:23:16 +02:00