-
Notifications
You must be signed in to change notification settings - Fork 150
add GEPRC_TAKER_F405AIO #748
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
base: master
Are you sure you want to change the base?
Conversation
#define LED0_PIN PC14 | ||
#define LED1_PIN PC15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LED pins should not use PC13, PC14 or PC15
See https://betaflight.com/docs/development/manufacturer/manufacturer-design-guidelines#3146-leds
TIMER_PIN_MAP( 1, PA8 , 1, 1) \ | ||
TIMER_PIN_MAP( 2, PA9 , 1, 1) \ | ||
TIMER_PIN_MAP( 3, PA10, 1, 1) \ | ||
TIMER_PIN_MAP( 4, PC8 , 2, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing timer, dma for LED_STRIP_PIN (PB1)
#define MAG_I2C_INSTANCE (I2CDEV_1) | ||
#define BARO_I2C_INSTANCE (I2CDEV_1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#define MAG_I2C_INSTANCE (I2CDEV_1) | |
#define BARO_I2C_INSTANCE (I2CDEV_1) | |
#define BARO_I2C_INSTANCE I2CDEV_1 | |
#define MAG_I2C_INSTANCE I2CDEV_1 |
#define GYRO_1_SPI_INSTANCE SPI1 | ||
#define GYRO_1_ALIGN CW180_DEG | ||
#define GYRO_1_ALIGN_YAW 2700 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole file has one space in front of every line after license.
#define FLASH_SPI_INSTANCE SPI3 | ||
#define GYRO_1_SPI_INSTANCE SPI1 | ||
#define GYRO_1_ALIGN CW180_DEG | ||
#define GYRO_1_ALIGN_YAW 2700 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only GYRO_[12]_ALIGN CUSTOM uses RPY related defines
#define GYRO_1_ALIGN_YAW 2700 |
#define MOTOR1_PIN PA8 | ||
#define MOTOR2_PIN PA9 | ||
#define MOTOR3_PIN PA10 | ||
#define MOTOR4_PIN PC8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using two GPIO ports is not optimal. See https://betaflight.com/docs/development/manufacturer/manufacturer-design-guidelines#32-resource-selection-considerations
No description provided.