HAL CHIBIOS: Solo stock cube child of fmuv3 instead of CubeBlack

CubeBlack-Solo hardware def to use FMUv3 as its parent rather than CubeBlack.  Since this older cube doesn't have the same hardware as a new CubeBlack, it is causing conflicts.  Nearly everything is the same.
This commit is contained in:
Matt Lawrence 2019-04-28 07:23:19 -04:00 committed by Peter Barker
parent 68769e24c1
commit f7383179e8
4 changed files with 17 additions and 14 deletions

View File

@ -1,13 +0,0 @@
# CubeBlack-solo variant of the CubeBlack Flight Controller
The `CubeBlack-solo` build is identical to the CubeBlack build, but includes a large set of default parameters required by the Solo.
- For use in ArduCopter 3.7 and higher. Not compatible with any previous versions of ArduCopter or with other vehicle types.
- For data on the Hex CubeBlack flight controller, see the [Hex CubeBlack hwdef readme](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/README.md)
- For the parameter list used by this build, see [Tools/Fram_params/Solo_Copter-3.7_BlackCube.param](https://github.com/ArduPilot/ardupilot/blob/master/Tools/Frame_params/Solo_Copter-3.7_BlackCube.param)
### Using this build in waf
- `./waf configure --board CubeBlack-solo`
- `./waf copter`
- The completed firmware binary will be located in `/ardupilot/build/CubeBlack-solo/bin/arducopter.apj`

View File

@ -0,0 +1,11 @@
# CubeSolo variant of the FMUv3
The `CubeSolo` build is based on FMUv3, but includes a large set of default parameters required by the Solo. Among many other things, this does include the slew rate limiting for protecting the Solo's ESCs.
For the parameter list used by this build, see [Tools/Fram_params/Solo_Copter-3.7_BlackCube.param](https://github.com/ArduPilot/ardupilot/blob/master/Tools/Frame_params/Solo_Copter-3.7_BlackCube.param)
### Using this build in waf
- `./waf configure --board CubeSolo`
- `./waf copter`
- The completed firmware binary will be located in `/ardupilot/build/CubeSolo/bin/arducopter.apj`

View File

@ -3,7 +3,12 @@
# this is based on the CubeBlack hwdef, with Solo's required parameter defaults
# do not use this hwdef with any configuration other than a 3DR Solo with a stock or black cube running Copter 3.7.
include ../CubeBlack/hwdef.dat
include ../fmuv3/hwdef.dat
env OPTIMIZE -O3
SPIDEV icm20948_ext SPI4 DEVID1 MPU_EXT_CS MODE3 4*MHZ 8*MHZ
SPIDEV icm20602_ext SPI4 DEVID3 GYRO_EXT_CS MODE3 4*MHZ 8*MHZ
# pull Solo's default parameters from /Tools/Frame_params
# these are parameters the Solo requires for proper operation that are differnet from the 3.7 standard defaults.