CUAVcaijie
b6ec00c079
boards/cuav/x7pro: Fix HIPOWER enabled state
2020-06-11 12:05:37 -04:00
CUAVcaijie
9270b26c63
IO's RGB status light is modified to PWM breathing light
2020-06-11 12:02:49 -04:00
CUAVcaijie
67554acf9e
x7 add led_pwm driver
2020-06-11 12:02:49 -04:00
CUAVcaijie
37fb4dbb64
Enable safety button
2020-06-10 09:14:25 -04:00
Mirko Denecke
10afcdce2e
Hex/Proficnc Cube Yellow: align firmware location in flash memory to be able to use the default bootloader
2020-06-10 09:08:11 -04:00
Daniel Agar
6f6efd60b7
boards: centralize optional external I2C sensor start
...
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00
Beat Küng
590b65ebfb
Revert "kakutef7 spi: disable IMU drdy"
...
This reverts commit 2069576a6e .
PR #15004 fixed the problem.
2020-06-09 09:11:51 -04:00
David Sidrane
82b87adfb3
px4_fmu-v6x:default phy is LAN8742
2020-06-09 08:14:22 +02:00
David Sidrane
0bb8d7a065
px4_fmu-v5x p4 (-06) default to suporting LAN8742Ai
2020-06-09 08:12:44 +02:00
Daniel Agar
5e7d2e830d
boards: delete old board.h boilerplate
2020-06-08 19:10:33 -04:00
Daniel Agar
5507c15bdc
boards: move rgbled_pwm startup to appropriate boards
2020-06-08 16:49:46 -04:00
Mirko Denecke
cf02b88d51
Initial Hex/Proficnc Cube Yellow support
2020-06-08 08:22:40 -04:00
David Sidrane
626895eadc
px4_fmu-v5x:Wrong Bit was being tested for mode.
...
@TSC21 - this will fix you build
2020-06-05 18:59:48 -04:00
Daniel Agar
31fe7af454
selectively increase optimization -Os -> -O2
...
- targetted at modules/libraries that benefit without drastically
increasing flash usage
- ignored on boards with CONSTRAINED_FLASH set
2020-06-04 20:59:52 -04:00
Beat Küng
2069576a6e
kakutef7 spi: disable IMU drdy
...
It cause bad transfers on a Kopis 2, though not on a bench KakuteF7 unit.
Not sure if this is a single case.
nsh> icm20689 status
INFO [SPI_I2C] Running on SPI Bus 4
INFO [icm20689] FIFO empty interval: 1000 us (1000.000 Hz)
icm20689: transfer: 46375 events, 6790549us elapsed, 146.43us avg, min 54us max 1709us 81.564us rms
icm20689: bad register: 0 events
icm20689: bad transfer: 4284 events
icm20689: FIFO empty: 0 events
icm20689: FIFO overflow: 1 events
icm20689: FIFO reset: 2 events
icm20689: DRDY interval: 375585 events, 124.93us avg, min 99us max 250us 2.322us rms
INFO [drivers_accelerometer] /dev/accel device instance: 0
INFO [drivers_accelerometer] calibration scale: 1.02174 0.99918 0.98338
INFO [drivers_accelerometer] calibration offset: 0.76124 -0.00725 -0.16437
INFO [drivers_gyroscope] /dev/gyro device instance: 0
INFO [drivers_gyroscope] calibration offset: -0.08153 0.02432 0.00050
2020-06-04 20:58:40 -04:00
Daniel Agar
d1c12ac7cf
boards: mRo Control Zero fix IMU rotations
2020-06-04 11:34:31 -04:00
Mirko Denecke
4a637a5c54
Hex CubeOrange: enable DMA for SPI1
2020-06-04 10:25:52 -04:00
Mirko Denecke
61a2dd8ec6
Hex CubeOrange: limit slew rate so IMU works with DMA
2020-06-04 10:25:52 -04:00
Mirko Denecke
b4e39f91a4
Hex CubeOrange: no LSE available
2020-06-03 21:09:50 -04:00
Mirko Denecke
3e4179cc88
Hex CubeOrange: fix comment calc of PLL
2020-06-03 21:09:50 -04:00
Daniel Agar
6c96748e54
boards: pixhawk mini add unused MPU9250 CS & DRDY pins
2020-06-03 04:03:27 -07:00
David Sidrane
73bb18a053
px4_fmu-v6x: Limit Slew rate So IMU works with DMA
...
The defualt in NuttX is OSPEED of 50Mhz. This is realy a slew
rate control. At the default high slew rate the overshoot was
.7 Volts. On a ICM20649 this was causing the device to output
garbage. All 0s
N.B. A passive scope or Logic analyser's probes load will mask
the failure. Useed a FET probe to verify the issue.
2020-06-02 13:02:51 -04:00
David Sidrane
5d90c31632
Added PX4 FmuV6X
2020-06-02 13:02:51 -04:00
Mirko Denecke
86cd1d0802
Hex CubeOrange: fix comment for TONE_ALARM_CHANNEL pin
2020-05-29 23:44:17 +01:00
Mirko Denecke
b5ff82bccc
Hex CubeOrange: remove CAN Silence Silent mode pins
2020-05-29 23:44:17 +01:00
Mirko Denecke
fd600d7eed
Hex CubeOrange: remove LSM303D
2020-05-29 23:44:17 +01:00
Matthias Grob
88c21337fa
Make all battery sensor drivers report their sample interval
...
To make use of the time abstraction in the leaky integrator.
2020-05-25 11:04:24 +02:00
Daniel Agar
1c0925a189
Hex/Proficnc Cube Orange support
...
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com >
Co-authored-by: Jacob Crabill <jacob@flyvoly.com >
2020-05-23 18:31:46 -04:00
Julian Kent
dd9c82eb20
systemcmds/gpio: Add nsh command to manipulate/read GPIO
...
* Add basic GPIO test app for R/W on pins from nuttx shell
* Add gpio command to fmu-v3 and fmu-v4
* Sanitize gpio commands by pin configs, --force to override
2020-05-23 11:47:40 -04:00
David Sidrane
04db5391fc
px4_fmu-v5x:Fix PG11 assignment
2020-05-23 11:46:00 -04:00
David Sidrane
b2153c7f2f
px4_fmu-v5x:PG6 is free GPIO
2020-05-23 11:46:00 -04:00
David Sidrane
7f84ed57dd
px4_fmu-v5x:Using SE050 not A71CH
2020-05-23 11:46:00 -04:00
David Sidrane
637578b8be
px4_fmu-v5x:Correct trace connector description
2020-05-23 11:46:00 -04:00
Daniel Agar
951969ba00
drivers/imu/invensense: new ICM20948 driver on SPI with AK09916 mag
2020-05-22 00:09:30 -04:00
Beat Küng
9c6f42a867
v5x defconfig: increase TELEM2 UART TX buffer size to 3000
...
Required for very high-rate log streaming @3MBit baudrate.
2020-05-20 09:12:50 +02:00
Daniel Agar
678c3fe8e4
boards: px4_fmu-v5_optimized don't build all mags
2020-05-07 15:21:15 -04:00
Daniel Agar
1cce549b2b
boards: holybro_durandal-v1_stackcheck don't build all mags
2020-05-07 15:21:15 -04:00
Daniel Agar
04113b4d57
commander: changes when USB connected
...
- skip avionics rail voltage check when USB connected
- skip forced reboot on USB disconnect if circuit breaker set
- avionics voltage preflight check don't silently fail if system_power unavailble
- explicitly set supply check circuit breaker (CBRK_SUPPLY_CHK)
2020-05-06 13:53:54 -04:00
Daniel Agar
746a8f5cf9
commander: reboot/shutdown usability fixes
...
- always check with state machine before reboot/shutdown
- respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button)
- px4_shutdown_request add optional delay and always execute from HPWORK
- px4_shutdown_request split out px4_reboot_request
2020-05-06 13:53:54 -04:00
Daniel Agar
28d2aca699
boards: include all procfs entries on boards that aren't flash constrained
2020-05-01 20:59:57 -04:00
Daniel Agar
8d0c92003a
boards: remove all CONFIG_NXFONTS_DISABLE*
2020-05-01 20:59:57 -04:00
Daniel Agar
d89b7804f7
boards: initial CUAV X7Pro support (not complete)
...
- this is booting and functional, but still missing a few things
- still needs full PWM output, verification of all sensor rotations and IO, etc
2020-05-01 20:59:28 -04:00
Daniel Agar
76cfd8fa39
boards: add nxp fmuk66-v3 and rddrone-uavcan146 socketcan builds
2020-04-30 15:04:08 -04:00
Daniel Agar
3e5f85b47b
uavcannode: add distance_sensor (all possible instances)
2020-04-30 14:52:06 -04:00
Jakub Kákona
dfa5ca1710
FlightGear simulator support ( #14539 )
...
- Add flightgear_bridge submodule.
- Add traget px4_sitl_nolockstep with disabled LOCKSTEP simulation.
- Add flightgear viewer targets and startup scripts
- Add a few possible vehicles plane (rascal), autogyro (tf-g1), and rover (tf-r1))
Co-authored-by: Vit Hanousek <vithanousek@seznam.cz >
2020-04-29 08:46:59 +02:00
Beat Küng
34c75f2d36
boards: temporarily disable UART TX DMA
...
work-around for https://github.com/PX4/Firmware/issues/14659 .
This can be reverted when fixed properly.
2020-04-27 08:47:46 -04:00
Daniel Agar
5739cf27e5
boards: delete obsolete commented config systemcmd
2020-04-26 22:34:34 -04:00
Roman Dvořák
75fe3bee8c
drivers/rpm: add simple RPM message simulator (dummy publisher)
2020-04-25 09:10:11 -04:00
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
2020-04-15 23:33:41 -04:00
Daniel Agar
7c7ee115e3
boards: px4_io-v2 defconfig optimizations to save memory
...
* disable CONFIG_ARMV7M_MEMCPY to save flash
* disable CONFIG_LIB_BOARDCTL
* remove unnecessary pthread and task settings
* reduce preallocated watchdogs
* reduce console buffer size
* reduce IDLE thread stack
* reduce user main stack
Co-Authored-By: David Sidrane <David.Sidrane@Nscdg.com >
2020-04-15 23:17:44 -04:00