David Sidrane
487fbdf009
Use BOARD_EEPROM_WP_CTRL signal to control EEPROM WP signal if defined
...
Erases and write operations will use the BOARD_EEPROM_WP_CTRL
macro to remove the Write protection and restore it.
2017-01-20 22:55:04 +01:00
Beat Küng
e7db0ed098
test_mixer & mixer: use memmove instead of memcpy
...
Both, src & dst use the same array, thus potentially overlapping.
Behavior of memcpy in that case is undefined.
2017-01-18 18:23:42 +01:00
Lorenz Meier
b6e18a1479
Mixer test: More instrumentation to catch repro cases in CI
2017-01-14 20:42:54 +01:00
Lorenz Meier
26625b3a5d
Servo test: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
a905babe95
PPM LoopbackTest: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
b9e32d7a34
mixer test: Fix string handling
...
Some strings were not enforcing NUL termination.
2017-01-14 07:47:03 -08:00
Lorenz Meier
6927fcb5c0
Mixer test: Fix string termination corner case
2017-01-14 07:47:03 -08:00
Lorenz Meier
cf5f5bfad9
Fix code style for param
2017-01-12 10:57:11 -08:00
Mark Charlebois
b14959e165
Fixed param output for QuRT
...
QuRT doesn't support printf, so the messages don't appeat in mini-dm.
This problem is also present in many other parts of the PX4 code.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-12 10:57:11 -08:00
Daniel Agar
056cd30629
Servo test: fix style
2017-01-12 03:02:05 -05:00
Lorenz Meier
61d7f22aba
Servo test: Ensure we only close an open FD
2017-01-12 02:31:15 +01:00
Lucas De Marchi
26d107923b
motor_test: fix use of negative channel
2017-01-10 08:34:53 +01:00
Lucas De Marchi
c3b462b3d6
motor_test: fix getopt call
...
This was trying to use optarg when it should instead use myoptarg.
2017-01-10 08:34:53 +01:00
Stephan Brown
5a6084de07
param: Add a missing include.
2017-01-06 09:58:58 +01:00
Stephan Brown
e57f6221b2
Rearrange parameter unit tests so they are in alphabetical order.
2017-01-06 09:58:58 +01:00
Stephan Brown
67a484ac34
Make parameter generation also depend on the scripts that run. Address some review comments.
2017-01-06 09:58:58 +01:00
Stephan Brown
92b2395ff6
param: Fix another off by 1 error and a formatting issue.
2017-01-06 09:58:58 +01:00
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
Andreas Antener
35740b0b59
Mixer test: fix paths for nuttx
2017-01-03 20:32:33 -05:00
Lorenz Meier
3229c4183a
Mixer test: Condition strncpy properly
2017-01-03 20:32:33 -05:00
Lorenz Meier
9e95d88574
Use system define for path length buffer
2017-01-03 20:32:33 -05:00
Lorenz Meier
c6b6d04a19
UART tests: Move shell and fix config restore command
2017-01-03 20:32:33 -05:00
Lorenz Meier
0d5089e3bf
Mixer test: Improve portability
2017-01-03 20:32:33 -05:00
Lorenz Meier
5247f17576
Mixer test: use real defines from IO firmware
...
We use the real defines now and test them against every mixer on the system. This means we should catch transfer errors now before even hitting master.
2017-01-03 20:32:33 -05:00
Lorenz Meier
d0dbddea1b
Extend mixer test case with complex mixer
2017-01-03 20:32:33 -05:00
Lorenz Meier
0810bcfe8e
Polish mixer test, remove any too verbose output
2017-01-03 20:32:33 -05:00
Lorenz Meier
c27728a7aa
Test VTOL test mixers
2017-01-03 20:32:33 -05:00
Lorenz Meier
fb8243d5e1
Mixer test: Fix test, failing right now but showing the real issues
2017-01-03 20:32:33 -05:00
Beat Küng
000d965a5e
fix test_uart_loopback: 0 is a valid file descriptor
2017-01-03 14:44:45 +01:00
Lorenz Meier
9f3fe2a802
Fix unit tests leaking resources
...
This was harmless but none the less is not good style and needs fixing.
2017-01-03 14:44:45 +01:00
Daniel Agar
28971caaf3
partially restore mavlink_tests
2017-01-02 10:14:41 +01:00
Daniel Agar
74231e6656
split tests for SITL ctest
2017-01-02 10:14:41 +01:00
Lorenz Meier
ca096c1257
PWM command: Allow robust error code returns
2016-12-26 15:34:53 +01:00
Simone Guscetti
304afa5629
Changed getopt with px4_getopt which was causing motor_test to always go to the usage function
2016-12-22 11:08:21 +01:00
Lorenz Meier
11ef348a34
PWM: Use same stack size as mixer to limit fragmentation
2016-12-21 11:44:47 +01:00
Beat Küng
5e9bdff205
version: remove FW_GIT & FW_BUILD_URI, use the correct methods instead
...
This is cleanup after rebasing
2016-12-21 11:35:10 +01:00
Beat Küng
41dc34204c
version cleanup: move all version information into version.c and use a common API
...
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
c662113527
board_name.c: remove the file and HW_ARCH macro, use px4_board_name() instead
...
boards define BOARD_NAME, so board_name() is not necessary. HW_ARCH was
just a wrapper around board_name().
This patch simplifies to having only one common method px4_board_name().
2016-12-21 11:35:10 +01:00
David Sidrane
b7521e1b38
Adding Test for sending break on u[s]arts
2016-12-21 08:34:22 +01:00
David Sidrane
c9f10107c0
Nuttx Upgrade:Adds sem_setprotocol
2016-12-21 08:34:21 +01:00
David Sidrane
d09cd77777
Adding hardfault logging application
2016-12-21 08:34:20 +01:00
David Sidrane
dcc2d1c3d1
I2C changes for upstream NuttX per trasaction freq control
2016-12-21 08:34:20 +01:00
David Sidrane
fd7d399958
Upstream Nuttx restructured directories use micro_hal
2016-12-21 08:34:20 +01:00
Lorenz Meier
92c35f26be
Tests: Correct use of unsubscribe
2016-12-19 20:39:03 +01:00
Lorenz Meier
cc92339602
pwm command: Fix off-by-one in param parsing
2016-12-13 09:18:59 +01:00
Mark Whitehorn
88126e560f
remove trim command: replaced by trim parameters
2016-12-10 12:56:39 +01:00
Mark Whitehorn
6257d9bde1
remove pwm "trim" command; replaced by parameter values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
86252e19e6
clean up other build targets
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
619efa7b45
[PX4IO/PWM driver] Added trim values to the PWM output drivers
2016-12-10 12:56:39 +01:00