Commit Graph

1273 Commits

Author SHA1 Message Date
Beat Küng 316085c154 camera_capture: remove board-specific ifdef 2020-08-04 13:37:40 +02:00
Daniel Agar a93052f9b2 boards/spracing/h7extreme: delete unused stackcheck build 2020-08-03 15:56:33 -04:00
Igor Mišić 7eaa48e36f New board: SP Racing H7 Extreme
Authored-by: igor.misic <igor.misic@rimac@automobili.hr>
2020-08-03 15:32:58 -04:00
David Sidrane e67486d603 nxp:Add support for rev E HW nxp_fmuk66-e 2020-07-31 09:46:27 -04:00
David Sidrane f8b6de24c7 nxp_fmurt1062-v1:Assign board_id 2020-07-31 09:46:27 -04:00
Daniel Agar cfbf69f2a7 boards: rename Hex -> CubePilot
- hex_cube-orange_default -> cubepilot_cubeorange_default
 - hex_cube-yellow_default -> cubepilot_cubeyellow_default
2020-07-26 13:55:41 -04:00
Daniel Agar 62fe6d59cc boards: hex cube yellow fix STM32F7 selection (STM32F765II -> STM32F777VI) 2020-07-24 12:03:25 -04:00
Mirko Denecke 7ac66bae4f hex io firmware remove double definition of GPIO_HEATER_OFF 2020-07-23 09:41:05 -04:00
Mirko Denecke b7389119b3 px4 io firmware remove double definition of GPIO_HEATER_OFF 2020-07-23 09:41:05 -04:00
Mirko Denecke 01e9599e93 HEX Cube Yellow: enable platform-specific IO firmware with inverted heater pin. 2020-07-22 10:50:47 -04:00
Mirko Denecke 44e2c326e0 HEX Cube Orange: enable platform-specific IO firmware with inverted heater pin. 2020-07-22 10:50:47 -04:00
Mirko Denecke 57968c6e27 Add platform-specific IO firmware for HEX autopilots. 2020-07-22 10:50:47 -04:00
rolandash b8f3b97bad Enable PMW3901 on MindPX/MindRacer. (#15375)
* enable pmw3901 on MindPX/MindRacer.

* remove useless line.
2020-07-19 16:09:57 +01:00
Daniel Agar 3dd7d0c292 boards: fmu-v5 debug variant disable unnecessary modules to save flash
- partially sync with fmu-v5 stackcheck build
2020-07-18 13:41:26 -04:00
Daniel Agar e3d31a881e boards: NuttX disable posix message queues 2020-07-17 17:00:21 -04:00
Daniel Agar b277840233 boards: create px4_fmu-v5_debug build with assertions enabled 2020-07-06 11:13:15 -04:00
Beat Küng 03e51076b0 v5x: fix icm20602 sensor orientation
and reorder baro startup, so that the other one is used by default.
2020-07-06 11:02:48 +02:00
Jari van Ewijk fe7fcb101f NXP FMUK66 - Fix VDD_3V3_SENSORS_EN polarity 2020-06-29 07:45:47 -07:00
Beat Küng 157ef43e28 replay: use lockstep scheduler 2020-06-23 11:53:55 -04:00
David Sidrane df73662d66 nxp_fmuk66-v3:Add Full networking support 2020-06-22 18:43:03 -04:00
Mirko Denecke 147fb0afa4 Hex/Proficnc CubeOrange: fix default config for IMU heating 2020-06-22 13:12:08 -04:00
Mirko Denecke d9f813a443 Hex/Proficnc CubeYellow: fix default config for IMU heating 2020-06-22 13:12:08 -04:00
Daniel Agar d9102ce54c imu/invensense/icm20948: sync with other recent invensense improvements
- clenaup ak09916 with simplifed setup and health check
2020-06-22 10:11:22 -04:00
David Sidrane 28a695dce4 px4_fmu-v6x:imu/bmi088->imu/bosch/bmi088 2020-06-19 19:13:20 -04:00
JacobCrabill 62799d9aca UAVCAN: Add STM32H7 FDCAN Driver
Took the existing uavcan_stm32 driver and replaced all bxCAN code with
the equivalent for FDCAN following ST Reference Manual RM0433.

Note: There is still a bug somewhere in regards to FDCAN2 (probably
incorrect setup of the message RAM? Not sure.)  But (FD)CAN1 is fully
functional (Classic CAN only, no CAN-FD).

Also TODO: Configure CAN filters.  Right now there are no filters; all
incoming messages are accepted.
2020-06-18 18:55:21 -04:00
JacobCrabill 08d2226043 CubeOrange: Move console back to CONS (UART7) 2020-06-18 18:55:21 -04:00
Daniel Agar 0a63df25a6 create fake_magnetometer "driver" to publish magnetic field in body frame
- this can be helpful for orienting new unknown magnetometers
 - requires attitude and GPS position
2020-06-18 16:21:30 -04:00
Daniel Agar e819f99064 new Bosch BMI055 IMU driver using FIFOs and DRDY
- accel & gyro FIFOs enabled
 - FIFO watermark on data ready interrupt
 - sensor side filtering completely disabled
 - gyro now respects `IMU_GYRO_RATEMAX` (up to 2 kHz)
 - saves a few % cpu (at default rate)
2020-06-15 10:19:14 -04:00
CUAVcaijie 1c02c37955 boards/cuav/x7pro: RC03 RM3100 moved from SPI1 to SPI2 2020-06-11 21:38:55 -04:00
CUAVcaijie dee56e78aa boards/cuav/x7pro: fix X7 LED SAFETY configuration
* keep the naming identical to the pinout
2020-06-11 21:32:53 -04:00
Daniel Agar 13e34b32e6 new Bosch BMI088 IMU driver using FIFOs and DRDY 2020-06-11 12:25:13 -04:00
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