Julien Lecoeur
89642a9203
Move src/module/systemlib/mixer to src/lib/mixer
7 years ago
garfieldG
cddea6f4b3
Fixed version firmware type ( #8250 )
...
* Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor version.
7 years ago
Julien Lecoeur
4e7bd576cb
generate_listener.py: generate one function per topic to fit function sizelimit
7 years ago
Julien Lecoeur
8f2759ba79
topic_listener: allow multi-topic messages
7 years ago
Daniel Agar
5436801435
esc_calib properly cleanup on failure
...
- fixes CID 139514
7 years ago
acfloria
3929afd617
Fix format in test_mixer.cpp
8 years ago
acfloria
9d2da611f6
Fix mixer issue with undefined return in callback and non value initialized variables.
8 years ago
Dario Röthlisberger
3edc5942e4
versioning: fix style
8 years ago
Dario Röthlisberger
e3b8c0512e
versioning: refactor unit tests
...
Use one function which tests flight and vendor version tag parsing.
8 years ago
Dario Röthlisberger
3dd4454a87
version: include FIRMWARE_TYPE in vendor version
8 years ago
Dario Röthlisberger
bb644ee087
unittests: add versioning test
8 years ago
Beat Küng
e1b970c30d
ver hwcmp: allow to specify multiple hardware identifiers
...
E.g: ver hwcmp PX4FMU_V4 PX4FMU_V5
8 years ago
David Sidrane
391d103bfd
hardfault_log:Not having a ulog file to append to is not an error
...
The hardfault keeps track of the number of reboot without a
commit to disk. A commit to disk is the act of writing the
fault data from the bbsram to the hardfault file, not the
ulog file. The sucessful commit rearms the hardfault system.
When ulog appending was added it treated the lack of a ulog
file as an error. This prevented the hardfault_log reset
from being called because the hardfault_log commit returned
an error.
if hardfault_log check
then
if hardfault_log commit
then
hardfault_log reset
fi
fi
This change treats the lack a a ulog as a non error.
8 years ago
Beat Küng
cdf17c5447
led: add MODE_FLASH
8 years ago
Daniel Agar
48f1e3ed1c
uORB generation move to msg/
8 years ago
David Sidrane
e967e02c4d
HW Rev & Ver:0 for no value, -1 for not supported
8 years ago
David Sidrane
cb21aced5e
PX4 System: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
8 years ago
David Sidrane
f4992e64f7
mtd:24xxxx_mtd add AT24C02 - AT24C16
8 years ago
David Sidrane
1af3ea322c
BUGFIX:mtd hardfault in no SPI
...
NULL check needed to be done before SPI_XXXX calls
8 years ago
David Sidrane
25c8ceaf91
mtd:spi_dev_e is now uint32_t in NuttX
...
Using new type of uint32_t for spi device
8 years ago
David Sidrane
7a4c5c3475
Added board_read_VBUS_state to board_common API
8 years ago
Daniel Agar
28a9e32753
test perf use stdout, not stdin
8 years ago
Daniel Agar
4e5b223a08
hrt test decrease time
8 years ago
Daniel Agar
af9690cf08
add simple posix tests to SITL
8 years ago
Daniel Agar
414b4d4a40
ver silence hwcmp
8 years ago
Daniel Agar
4e6ca271e7
more px4fmu-v1 cleanup ( #7981 )
8 years ago
Daniel Agar
26f00609ac
multirotor_motor_limits only publish for MC
8 years ago
Daniel Agar
a031552756
systemcmds remove extra semicolons
8 years ago
Daniel Agar
7e90716661
motor_ramp remove unreachable code ( #7973 )
8 years ago
Daniel Agar
9b5fe8c476
ignore -Wsign-compare per module
8 years ago
CarlOlsson
6135179202
generate_listener: Add support for uint16, int32 and int16 arrays
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
8 years ago
CarlOlsson
49c0947cc2
generate_listener: Add space in array output
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
8 years ago
Daniel Agar
c8bc6f961f
topic_listener move generator to same directory
8 years ago
Daniel Agar
a02caff1bc
unit_test inline implementation and remove module build
8 years ago
Daniel Agar
b70b8288b9
px4_includes cleanup incomplete list
8 years ago
sanderux
220bd82b93
Per channel PWM disarmed values
8 years ago
Peter Duerr
b845edba64
Yet another erroneous call to `px4_close` instead of `close`
...
* As indicated by @bkueng
8 years ago
Peter Duerr
6e808ad0a6
Fix additional erroneous px4_close call
...
* As indicated by @bkueng
8 years ago
Peter Duerr
73ef772537
Fix erroneous use of px4_close
...
* Close handle opened with `open` with `close` as indicated by @bkueng
8 years ago
Peter Duerr
5be23060e7
Fix resource leaks identified by cppcheck
...
* Where possible rearrange error checks to avoid branching
* Otherwise add missing `fclose`, `close`, `px4_close` calls before return
8 years ago
David Sidrane
4832ad3191
ver:Add support for HW versioning
...
1) Add hwtypecmp command to allow rc to further enumerate PX4FMU_V2
for sub types of 'V2' -FMUv2 'V2M' PixhawkMini, 'V30' Cube
2) Extend hw to report to display
HW type
HW version
HW revision
8 years ago
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.
8 years ago
Beat Küng
5a2723ab9c
test_mixer.cpp: remove bogus comments
8 years ago
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));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 years ago
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.
8 years ago
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
8 years ago
Beat Küng
a43f135ad4
minor documentation updates to some commands
8 years ago
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]
8 years ago
Beat Küng
a4ca3fc607
ver: add documentation
8 years ago
Beat Küng
68d754b65e
usb_connected: add documentation
8 years ago