Skip to content

Fix FlywooF745 HEX target for BF4.5+ #740

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
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
22 changes: 14 additions & 8 deletions configs/FLYWOOF745HEX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
#define MOTOR4_PIN PE11
#define MOTOR5_PIN PE9
#define MOTOR6_PIN PA3
#define MOTOR7_PIN PB4
#define MOTOR8_PIN PB5
//#define MOTOR7_PIN PB4
//#define MOTOR8_PIN PB5
#define RX_PPM_PIN PE13
#define LED_STRIP_PIN PD12
#define UART1_TX_PIN PA9
Expand Down Expand Up @@ -85,23 +85,29 @@
#define USB_DETECT_PIN PA8

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

//TIMER_PIN_MAP( 7, MOTOR7_PIN, 1, 0) \
//TIMER_PIN_MAP( 8, MOTOR8_PIN, 1, 0) \
//TIMER_PIN_MAP( 9, LED_STRIP_PIN, 1, 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//TIMER_PIN_MAP( 9, LED_STRIP_PIN, 1, 0)


#define ADC1_DMA_OPT 1
#define SPI1_TX_DMA_OPT 0
#define SPI1_RX_DMA_OPT 1
#define SPI4_TX_DMA_OPT 0
#define SPI4_RX_DMA_OPT 1

#define MAG_I2C_INSTANCE I2CDEV_1
#define BARO_I2C_INSTANCE I2CDEV_1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_AUTO
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 175
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down