-
Notifications
You must be signed in to change notification settings - Fork 150
Add oxbot Champ_H743ICM and Champ_H743MPU #766
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
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.
Should Bluetooth be disabled upon arming ?
BLE will be turned off when armed. |
configs/CHAMP_H743ICM/config.h
Outdated
#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, RX_PPM_PIN, 2, -1) \ | ||
TIMER_PIN_MAP(5, LED_STRIP_PIN, 1, 4) \ | ||
TIMER_PIN_MAP(6, CAMERA_CONTROL_PIN, 1, -1) \ | ||
TIMER_PIN_MAP(7, GYRO_1_CLKIN_PIN, 1, -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.
RX_PPM timer conflicts with DShot bitbang on TIM8. Move motors to TIM5, RX PPM to TIM3, and add support for passive buzzers on TIM2.
#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, RX_PPM_PIN, 2, -1) \ | |
TIMER_PIN_MAP(5, LED_STRIP_PIN, 1, 4) \ | |
TIMER_PIN_MAP(6, CAMERA_CONTROL_PIN, 1, -1) \ | |
TIMER_PIN_MAP(7, GYRO_1_CLKIN_PIN, 1, -1) | |
#define TIMER_PIN_MAPPING \ | |
TIMER_PIN_MAP(0, MOTOR1_PIN, 2, 0) \ | |
TIMER_PIN_MAP(1, MOTOR2_PIN, 2, 1) \ | |
TIMER_PIN_MAP(2, MOTOR3_PIN, 2, 2) \ | |
TIMER_PIN_MAP(3, MOTOR4_PIN, 2, 3) \ | |
TIMER_PIN_MAP(4, RX_PPM_PIN, 1, -1) \ | |
TIMER_PIN_MAP(5, LED_STRIP_PIN, 1, 4) \ | |
TIMER_PIN_MAP(6, CAMERA_CONTROL_PIN, 1, -1) \ | |
TIMER_PIN_MAP(7, GYRO_1_CLKIN_PIN, 1, -1) \ | |
TIMER_PIN_MAP(8, BEEPER_PIN, 1, -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.
Revised
configs/CHAMP_H743ICM/config.h
Outdated
|
||
#define ADC1_DMA_OPT 5 | ||
#define ADC3_DMA_OPT 6 | ||
#define TIMUP2_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.
#define TIMUP2_DMA_OPT 7 | |
#define TIMUP5_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.
Revised
configs/CHAMP_H743ICM/config.h
Outdated
#define BARO_I2C_INSTANCE I2CDEV_2 | ||
#define MAG_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.
Schematic has only I2C2 defined, but these pins do not appear to be accessible on the FC.
#define BARO_I2C_INSTANCE I2CDEV_2 | |
#define MAG_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.
Revised
configs/CHAMP_H743MPU/config.h
Outdated
#define USE_FLASH | ||
#define USE_FLASH_M25P16 | ||
#define USE_MAX7456 | ||
#define USE_FLASH_W25Q128FV |
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 needed for W25Q128JVPIQ in quad SPI mode
#define USE_FLASH_W25Q128FV |
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.
Revised
configs/CHAMP_H743ICM/config.h
Outdated
#define USE_FLASH | ||
#define USE_FLASH_M25P16 | ||
#define USE_MAX7456 | ||
#define USE_FLASH_W25Q128FV |
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 needed for W25Q128JVPIQ in quad SPI mode
#define USE_FLASH_W25Q128FV |
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.
Revised
#define CAMERA_CONTROL_PIN PE5 | ||
#define BEEPER_PIN PA15 | ||
|
||
#define TIMER_PIN_MAPPING \ |
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.
See comments on the ICM target
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.
Revised
No description provided.