-
Notifications
You must be signed in to change notification settings - Fork 112
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
add hdzero h7 target #525
base: master
Are you sure you want to change the base?
add hdzero h7 target #525
Conversation
#define DEFAULT_CURRENT_METER_SCALE 100 | ||
#define BEEPER_INVERTED | ||
#define FLASH_SPI_INSTANCE SPI2 | ||
#define USE_SPI_GYRO |
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.
This is default
#define USE_SPI_GYRO |
#define FLASH_SPI_INSTANCE SPI2 | ||
#define USE_SPI_GYRO | ||
#define GYRO_1_SPI_INSTANCE SPI1 | ||
#define GYRO_2_SPI_INSTANCE SPI1 |
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.
No return on EOF
#define GYRO_2_SPI_INSTANCE SPI1 | |
#define GYRO_2_SPI_INSTANCE SPI1 | |
|
||
#define USE_GYRO | ||
#define USE_GYRO_SPI_MPU6000 | ||
#define USE_GYRO_SPI_MPU6500 |
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.
Why include MPU6500?
#define USE_GYRO_SPI_MPU6500 |
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.
I won't let them make a 6500 version!
TIMER_PIN_MAP( 4, LED_STRIP_PIN, 1, 0 ) \ | ||
TIMER_PIN_MAP( 5, BEEPER_PIN, 1, 0 ) | ||
|
||
#define SPI1_RX_DMA_OPT 7 |
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.
Not needed
#define SPI1_RX_DMA_OPT 7 |
#define USE_GYRO_SPI_ICM42688P | ||
#define USE_ACC | ||
#define USE_ACC_SPI_MPU6000 | ||
#define USE_ACC_SPI_MPU6500 |
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 USE_ACC_SPI_MPU6500 |
TIMER_PIN_MAP( 2, MOTOR3_PIN, 2, 0 ) \ | ||
TIMER_PIN_MAP( 3, MOTOR4_PIN, 2, 0 ) \ |
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.
Why are these on TIM8? If you move motors 3 and 4 to TIM3, only one TIMUP resource is required for burst DMA.
TIMER_PIN_MAP( 2, MOTOR3_PIN, 2, 0 ) \ | |
TIMER_PIN_MAP( 3, MOTOR4_PIN, 2, 0 ) \ | |
TIMER_PIN_MAP( 2, MOTOR3_PIN, 1, 0 ) \ | |
TIMER_PIN_MAP( 3, MOTOR4_PIN, 1, 0 ) \ |
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH | ||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC | ||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC | ||
#define DEFAULT_CURRENT_METER_SCALE 100 |
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.
Does this need to be set? Does this FC come with an ESC?
@freasy can you address the changes? or are you waiting for samples? |
Samples are on the way |
Add HDZERO H7 target