Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MICOAIRH743 #623

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions configs/MICOAIR743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@

#define TIMER_PIN_MAPPING \
TIMER_PIN_MAP( 0, MOTOR1_PIN, 1, 0 ) \
TIMER_PIN_MAP( 1, MOTOR2_PIN, 1, 1 ) \
TIMER_PIN_MAP( 2, MOTOR3_PIN, 1, 2 ) \
TIMER_PIN_MAP( 3, MOTOR4_PIN, 1, 3 ) \
TIMER_PIN_MAP( 4, MOTOR5_PIN, 2, 4 ) \
TIMER_PIN_MAP( 5, MOTOR6_PIN, 2, 5 ) \
TIMER_PIN_MAP( 6, MOTOR7_PIN, 1, 6 ) \
TIMER_PIN_MAP( 7, MOTOR8_PIN, 1, 7 ) \
TIMER_PIN_MAP( 8, LED_STRIP_PIN, 1, 12 ) \
TIMER_PIN_MAP( 1, MOTOR2_PIN, 1, 0 ) \
TIMER_PIN_MAP( 2, MOTOR3_PIN, 1, 0 ) \
TIMER_PIN_MAP( 3, MOTOR4_PIN, 1, 0 ) \
TIMER_PIN_MAP( 4, MOTOR5_PIN, 2, 0 ) \
TIMER_PIN_MAP( 5, MOTOR6_PIN, 2, 0 ) \
TIMER_PIN_MAP( 6, MOTOR7_PIN, 1, 0 ) \
TIMER_PIN_MAP( 7, MOTOR8_PIN, 1, 0 ) \
TIMER_PIN_MAP( 8, LED_STRIP_PIN, 1, 0 ) \
TIMER_PIN_MAP( 9, BEEPER_PIN, 1, -1 )

#define ADC1_DMA_OPT 8
Expand All @@ -121,14 +121,13 @@
#define MAX7456_SPI_INSTANCE SPI1
#define SDIO_USE_4BIT 1
#define SDIO_DEVICE SDIODEV_1
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define BARO_I2C_INSTANCE I2CDEV_2
#define MAG_I2C_INSTANCE I2CDEV_2
#define MAG_I2C_ADDRESS 14
#define MAG_ALIGN CW90_DEG
#define MAG_ALIGN_YAW 900

#define BEEPER_INVERTED
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
haslinghuis marked this conversation as resolved.
Show resolved Hide resolved
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down