Beat Küng
9d924bea3f
reboot command: add lock/unlock commands to test the shutdown lock
...
If needed it could be used in scripts as well.
2017-07-29 23:10:47 +02:00
Beat Küng
5a2723ab9c
test_mixer.cpp: remove bogus comments
2017-07-21 19:59:45 +02:00
Julien Lecoeur
61d6903b40
Fix -Werror=stringop-overflow on gcc 7
...
The error was:
Firmware/src/systemcmds/hardfault_log/hardfault_log.c:312:7: error: specified bound 30 equals the size of the destination [-Werror=stringop-overflow=]
strncat(marker, sp_name, sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-07-18 08:24:37 +02:00
David Sidrane
4349f49610
PX4 System:Expunge the nuttx adc structure from the system
...
This PR is preliminary ground work for FMUv5.
PX4 does not use the NuttX adc driver. But used the same format
for the data returned by the nuttx ADC driver.
There was a fixme:in src/platforms/px4_adc.h "this needs to be
a px4_adc_msg_s type" With this PR the need for
src/platforms/px4_adc.h goes away as the driver drv_adc.h now
describes the px4_adc_msg_t.
2017-07-17 22:28:29 +02:00
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
2017-07-14 11:57:11 +02:00
Beat Küng
a43f135ad4
minor documentation updates to some commands
2017-07-14 11:57:11 +02:00
Beat Küng
05c3b711f3
fix bl_update: move definition of print_usage into the ifdef
...
fixes the compile error:
error: 'print_usage' defined but not used [-Werror=unused-function]
2017-07-14 11:57:11 +02:00
Beat Küng
a4ca3fc607
ver: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
68d754b65e
usb_connected: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
8e965a7a2a
topic_listener: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
1b4467f674
sd_bench: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
06178392ce
reboot: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
16e0e1f7ca
perf: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
ba1a483cd6
nshterm: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
65b11d39a9
mtd: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
e362f760c4
motor_test: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
4839ed8498
motor_ramp: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
3a880a09d6
mixer: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
b18a148129
led_control: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
50d1ed99b0
i2c commmand: remove errx
2017-07-14 11:57:11 +02:00
Beat Küng
6b99b3412e
esc_calib: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
0fdd2b9fea
dumpfile: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
7893623d75
fix dumpfile: specify stack size
2017-07-14 11:57:11 +02:00
Beat Küng
4ea44e51b7
config.c: add documentation & do cleanup (remove err(), ...)
...
Also changes the order of the arguments for consistency.
2017-07-14 11:57:11 +02:00
Beat Küng
be25c337f9
bl_update: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
872049dc57
pwm.cpp: extend documentation for Oneshot
2017-07-14 11:57:11 +02:00
Beat Küng
fac6a829c4
pwm.cpp: fix issues by clang tidy (nullptr & void)
2017-07-14 11:57:11 +02:00
Beat Küng
37ff267b68
param.cpp: fix issues by clang tidy (nullptr & void)
2017-07-14 11:57:11 +02:00
Beat Küng
b32b0d9b17
hardfault_log: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
d309617998
param.c: rename to cpp and add module documentation
...
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng
647bdef855
pwm.c: rename to pwm.cpp and add module documentation
...
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng
c22b79ece5
pwm.c: fix wrong comment
2017-07-14 11:57:11 +02:00
Beat Küng
2ad7194ed3
pwm command: update usage
2017-07-14 11:57:11 +02:00
Beat Küng
9e4d1235ac
pwm command: fix -e param (it was just ignored)
...
to keep the behavior the same, remove the -e flags from all pwm commands
that use it in the scripts.
2017-07-14 11:57:11 +02:00
Beat Küng
7b7836de05
param command: update usage
2017-07-14 11:57:11 +02:00
Beat Küng
c1788c4e43
top: add module description & usage
2017-07-14 11:57:11 +02:00
David Sidrane
b5275ecd52
ver:The recent changes to version.c return values in base10
...
This is part 2 of the fix. The tool that extracts the nuttx
git tag was broken by a new tag added the did not match
the form nuttx-M.mm. To the value was printed as
OS: NuttX
OS version: 0.0.0 c0 (192)
Once that issue was fixed, it was apparent that recent
changes to version.c return the values as base 10, before
it was hex. This fixes the formatting.
2017-07-14 10:46:30 +02:00
Beat Küng
2cf88156a9
cmake: remove -Os from COMPILE_FLAGS in px4_add_module()
...
This is already added to the global list, and we already removed this
flag previously, but some of them sneaked back in.
2017-07-13 16:53:28 +02:00
José Roberto de Souza
ac7127ff0f
systemcmds: dataman: Check for errors in tasks
2017-07-13 15:21:26 +02:00
José Roberto de Souza
10f54e718e
modules: dataman: Optimize memory usage
...
Use the size of each item type instead of the biggest one.
In AeroFC that runs is constrained mode it was using 7860 bytes
and now it uses 6930 bytes almost 1KB less.
2017-07-13 15:21:26 +02:00
Lorenz Meier
6a3e27fe18
PWM command: Be less verbose
2017-07-11 08:15:44 +02:00
Beat Küng
209f220288
hardfault_log: move hardfault_store_ulog_filename to logger module
2017-07-07 17:06:48 +02:00
Beat Küng
eac657f4b3
hardfault_log: append crash log to last ULog file upon commit
...
This keeps the separate .txt around, since it's possible that the ULog file
gets corrupt during the crash.
2017-07-07 17:06:48 +02:00
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
2017-07-07 17:06:48 +02:00
Julien Lecoeur
fc860140f1
Fix internal compiler error with GCC 7
...
Here is the error message:
PX4/Firmware/src/systemcmds/tests/test_matrix.cpp:641:1: internal compiler error: in trunc_int_for_mode, at explow.c:55
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
2017-06-26 15:50:44 +02:00
Daniel Agar
4937449890
move parameter unittest into systemcmds
2017-06-12 12:18:53 -04:00
Daniel Agar
0d0cbd8243
clang-tidy ignore cert-flp30-c only in tests
2017-06-02 19:35:18 -04:00
Daniel Agar
94f5df8611
param and pwm ignore -Warray-bounds for clang
2017-06-02 19:35:18 -04:00
Daniel Agar
5d626bd940
clang-tidy remove redundant init
2017-06-02 19:35:18 -04:00
David Sidrane
f66f024e3a
ver:Print vMM.mm.pp format
2017-05-03 08:18:47 +02:00