David Sidrane
4e32ca45f1
sitl:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
d85452863d
rpi:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
3d96e2ef60
ocpoc:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
5fea494a2d
eagle:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
dc59e19bbb
Moved PX4_SOC_ARCH_ID from px4_micro_hal to board_common
2018-10-03 10:30:10 +02:00
David Sidrane
695a7f6839
board_common:Added missing END_DECLS from rebase
2018-10-03 10:30:10 +02:00
David Sidrane
594da6247b
board_common:Make board indenty API required.
2018-10-03 10:30:10 +02:00
David Sidrane
73552bdd64
sim:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
a96acbb04d
ocpoc:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
82dcfeb576
eagle:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
1c779d58fb
bebop:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
bc075208d5
rpi:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
a1abd1b632
sitil:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00
David Sidrane
ed9223edaf
board_identity:Added common no-arch specific board_identity API
...
This common code can be used byt posix based boars to provide
the board_identity API.
2018-10-03 10:30:10 +02:00
David Sidrane
1ac54f977e
board_common:Documentation clean up
2018-10-03 10:30:10 +02:00
David Sidrane
a16ca0ccf9
sitl:Added BOARD_OVERRIDE_PX4_GUID
2018-10-03 10:30:10 +02:00
David Sidrane
ba336bd19e
rpi:Added BOARD_OVERRIDE_PX4_GUID
2018-10-03 10:30:10 +02:00
David Sidrane
a1d5cb766a
ocpoc:Added BOARD_OVERRIDE_PX4_GUID
2018-10-03 10:30:10 +02:00
David Sidrane
cca2fd8471
eagle:Added BOARD_OVERRIDE_PX4_GUID
2018-10-03 10:30:10 +02:00
David Sidrane
7050657a6e
board_identity:Add stm32 board_get_px4_guid and board_get_px4_guid_formated API
2018-10-03 10:30:10 +02:00
David Sidrane
1c2f8bd4c4
board_identity:Fix potential buffer over flow
2018-10-03 10:30:10 +02:00
David Sidrane
f24a052355
board_common:Add PX4 GUID, deprecate other UUID API
...
The form of the PX4 GUID is as follows:
offset:0 1 2 - 17
<ARCH MSD><ARCH LSD><MSD CPU UUID>...<LSD CPU UUID>
Where <ARCH MSD><ARCH LSD> are a monotonic ordinal number assigned by
PX4 to a chip architecture (PX4_SOC_ARCH_ID). The 2 bytes are used to
create a globally unique ID when prepended to a padded CPU ID.
In the case where the CPU's UUID is shorter than 16 bytes it will be
padded with 0's starting at offset [2] until
PX4_CPU_MFGUID_BYTE_LENGTH-PX4_CPU_UUID_BYTE_LENGTH -1
I.E. For the STM32
offset:0 1 2 3 4 5 6 - 17
<ARCH MSD><ARCH LSD>[0][0][0][0]<MSD CPU UUID>...<LSD CPU UUID>
I.E. For as CPU with a 16 byte UUID
offset:0 1 2 - 17
<ARCH MSD><ARCH LSD><MSD CPU UUID>...<LSD CPU UUID>
2018-10-03 10:30:10 +02:00
Beat Küng
fb04a611c5
gps: reduce stack size
...
A buffer size of the gps drivers got reduced by 100 bytes.
2018-10-02 14:14:10 +02:00
Beat Küng
cef6cf96f8
gps: reduce delay by reducing the sleep time
...
This uses now the same sleep time logic as mavlink, depending on the
baudrate.
CPU usage on a Pixracer for different sleep times:
#num reads/sec sleep time CPU usage
17-18 2.8ms 0.233-0.31% (this PR)
12 5ms 0.155-0.3%
9-10 10ms 0.155-0.233%
6 20ms 0.155-0.233% (previous)
2018-10-02 14:14:10 +02:00
Beat Küng
979e8ad28b
gps drivers: update submodule
2018-10-02 14:14:10 +02:00
Beat Küng
0ac5f2cd8b
ulanding radar: add UART config param
2018-09-28 10:29:31 +02:00
David Sidrane
d3c37e0206
fmu:fix doumantation and pwm 8 useage
2018-09-28 07:48:32 +02:00
David Sidrane
c7edd9f31b
fmu:Add MODE_4PWM1CAP, MODE_5PWM, MODE_5PWM1CAP
...
This extends the Capture support for FMU
CHAN 5 and 6.
2018-09-28 07:48:32 +02:00
Beat Küng
f0c0b6f6e8
params: remove unused SENS_EN_* params
...
Replaced with the more general serial config params.
2018-09-25 07:53:29 +02:00
Beat Küng
babe300960
sf0x: avoid reopening the UART on startup
...
And:
- return correct return code in SF0X::init()
- remove unneeded SF0X::probe()
2018-09-25 07:53:29 +02:00
Beat Küng
b5e552924a
serial drivers/modules: add yaml config files
2018-09-25 07:53:29 +02:00
Beat Küng
546886259f
boards: remove GPS_DEFAULT_UART_PORT
...
Not required anymore.
2018-09-25 07:53:29 +02:00
Beat Küng
91a1ac1b60
sf0x: add -d param to pass the serial port
2018-09-25 07:53:29 +02:00
Beat Küng
0ebf821db4
cmake configs: minor cleanup for hott telemetry
...
it got moved to drivers/telemetry/hott
2018-09-25 07:53:29 +02:00
MaEtUgR
4f0e090e88
drv_rc_input: replace useless rc_input_values define
2018-09-21 16:26:27 +02:00
Daniel Agar
cfac2cc38e
uORB advertise through uORBDeviceMaster directly
2018-09-19 10:00:45 +02:00
Daniel Agar
b1c6701f01
px4io driver use common error string
2018-09-19 08:26:32 +02:00
Daniel Agar
878bd43ad1
heater driver use common error string
2018-09-19 08:26:32 +02:00
Daniel Agar
67f1e63362
drivers don't print accel and gyro filter frequency
2018-09-19 08:26:32 +02:00
ChristophTobler
f72e9e4385
pmw3901: set quality to zero if flow below threshold
2018-09-18 18:37:44 +02:00
David Sidrane
c1df899b6f
fxos8701cq: Fully remove the mag to facilitate calibration ( #10499 )
...
The previous removal of the mag was not complete. It just disabled publishing. This commit conditionally removes all the the mag functionality.
2018-09-17 13:07:46 -04:00
PX4 Build Bot
dd63a634b2
Update submodule devices to latest Mon Sep 17 00:37:44 UTC 2018
...
- devices in PX4/Firmware (8158cdfcf4 ): https://github.com/PX4/GpsDrivers/commit/aef48b04ff9b95350c4e5e507eea72a9e971d6a4
- devices current upstream: https://github.com/PX4/GpsDrivers/commit/657514b26a0bf1b1ea2bf723b18449b04248822c
- Changes: https://github.com/PX4/GpsDrivers/compare/aef48b04ff9b95350c4e5e507eea72a9e971d6a4...657514b26a0bf1b1ea2bf723b18449b04248822c
657514b 2018-08-02 Alexis Paques - Adding UBX_MSG_RTCM3_* for additional messages
f9cf788 2018-08-02 Alexis Paques - Adding RTCM3 class documentation reference
6009a29 2018-08-02 Alexis Paques - Adding RTCM3 available output message IDs
2018-09-17 08:16:20 +02:00
Daniel Agar
bcad940a9f
pwm_out_sim lazily publish actuator_outputs
2018-09-17 00:06:52 +02:00
Daniel Agar
3996ab1fc5
frsky_telemetry increase MAIN stack
2018-09-16 17:16:59 -04:00
David Sidrane
153d106969
fxas21002c:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
e84a7dc140
fxos8701cq:Add margin to stack from RTT-Stack check
2018-09-14 15:37:20 -04:00
David Sidrane
22a65f6c1d
fmu:Fix Safety switch breakage from bc9c25a
...
The update check is on ORB_ID(safety) but the copy
was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane
be6f6126f4
px4io:Add passive support for Enter/Exit pwm test mode
...
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
As long as the mixer in passthrough and armed the
pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane
b578419e09
Bug fix fmu hard fault on pwm info
...
A hardfault was happening on:
fmu stop
fmu mode_pwm
pwm info
The _mixer was null and being dereferenced to access the trim
setting that were moved to the mixer from the fmu.
This commit fixes that but making the getter issue a warning
and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane
73b9f09920
fmu:Add test mode
2018-09-13 08:45:36 +02:00