Skip to content

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Michael-Oxbot
Copy link

No description provided.

Copy link
Member

@haslinghuis haslinghuis left a 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 ?

@Michael-Oxbot
Copy link
Author

Should Bluetooth be disabled upon arming ?

BLE will be turned off when armed.

@haslinghuis haslinghuis requested a review from ot0tot May 3, 2025 13:15
Comment on lines 75 to 83
#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)
Copy link
Contributor

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.

Suggested change
#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)

Copy link
Author

Choose a reason for hiding this comment

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

Revised


#define ADC1_DMA_OPT 5
#define ADC3_DMA_OPT 6
#define TIMUP2_DMA_OPT 7
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#define TIMUP2_DMA_OPT 7
#define TIMUP5_DMA_OPT 7

Copy link
Author

Choose a reason for hiding this comment

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

Revised

Comment on lines 89 to 90
#define BARO_I2C_INSTANCE I2CDEV_2
#define MAG_I2C_INSTANCE I2CDEV_1
Copy link
Contributor

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.

Suggested change
#define BARO_I2C_INSTANCE I2CDEV_2
#define MAG_I2C_INSTANCE I2CDEV_1

Copy link
Author

Choose a reason for hiding this comment

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

Revised

#define USE_FLASH
#define USE_FLASH_M25P16
#define USE_MAX7456
#define USE_FLASH_W25Q128FV
Copy link
Contributor

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

Suggested change
#define USE_FLASH_W25Q128FV

Copy link
Author

Choose a reason for hiding this comment

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

Revised

#define USE_FLASH
#define USE_FLASH_M25P16
#define USE_MAX7456
#define USE_FLASH_W25Q128FV
Copy link
Contributor

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

Suggested change
#define USE_FLASH_W25Q128FV

Copy link
Author

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 \
Copy link
Contributor

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

Copy link
Author

Choose a reason for hiding this comment

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

Revised

@haslinghuis haslinghuis requested a review from ot0tot May 7, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants