mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 11:29:56 +03:00
Merge pull request #8812 from MATEKSYS/MATEKF405SE_42688
add icm42688p support in MATEKF405SE target
This commit is contained in:
commit
feb65f152d
5 changed files with 15 additions and 4 deletions
|
@ -228,6 +228,13 @@ All flags are reseted on ARM and DISARM event.
|
|||
|
||||
## Examples
|
||||
|
||||
### When more than 100 meters away, increase VTX power
|
||||

|
||||
|
||||
### When more than 600 meters away, engage return-to-home by setting the matching RC channel
|
||||

|
||||
|
||||
|
||||
### Dynamic THROTTLE scale
|
||||
|
||||
`logic 0 1 0 23 0 50 0 0 0`
|
||||
|
|
BIN
docs/assets/images/rth_home_distance.jpg
Normal file
BIN
docs/assets/images/rth_home_distance.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
docs/assets/images/vtx_home_distance.png
Normal file
BIN
docs/assets/images/vtx_home_distance.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -37,11 +37,9 @@ void targetConfiguration(void)
|
|||
pinioBoxConfigMutable()->permanentId[1] = BOX_PERMANENT_ID_USER2;
|
||||
#endif
|
||||
|
||||
serialConfigMutable()->portConfigs[1].functionMask = FUNCTION_MSP;
|
||||
serialConfigMutable()->portConfigs[1].msp_baudrateIndex = BAUD_57600;
|
||||
//serialConfigMutable()->portConfigs[1].functionMask = FUNCTION_MSP;
|
||||
//serialConfigMutable()->portConfigs[1].msp_baudrateIndex = BAUD_57600;
|
||||
|
||||
//featureSet(FEATURE_PWM_OUTPUT_ENABLE); // enable PWM outputs by default
|
||||
//mixerConfigMutable()->mixerMode = MIXER_FLYING_WING; // default mixer to flying wing
|
||||
mixerConfigMutable()->platformType = PLATFORM_AIRPLANE; // default mixer to Airplane
|
||||
|
||||
serialConfigMutable()->portConfigs[7].functionMask = FUNCTION_TELEMETRY_SMARTPORT;
|
||||
|
|
|
@ -42,6 +42,12 @@
|
|||
#define MPU6000_CS_PIN PA4
|
||||
#define MPU6000_SPI_BUS BUS_SPI1
|
||||
|
||||
// ICM42688P
|
||||
#define USE_IMU_ICM42605
|
||||
#define IMU_ICM42605_ALIGN CW0_DEG_FLIP
|
||||
#define ICM42605_CS_PIN PA4
|
||||
#define ICM42605_SPI_BUS BUS_SPI1
|
||||
|
||||
// *************** I2C /Baro/Mag *********************
|
||||
#define USE_I2C
|
||||
#define USE_I2C_DEVICE_1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue