Skip to content
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 SPA06 and SPL07 baro support for Kakute series FC #604

Closed
wants to merge 1 commit into from

Conversation

jamming
Copy link
Contributor

@jamming jamming commented Nov 7, 2024

The BARO used in the KAKUTE series flight controllers is BMP280. BMP280 is now discontinued. Need to replace the baro of KAKUTE series flight controllers with SPA06/SPL07.

@vincentpoont2
Copy link

@sugaarK We are hoping to add these default support for the Holybro Kakute series.

Comment on lines 35 to +37
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310
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 USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310

This FC has no I2C resources assigned, so these defines should not be included.

Comment on lines 35 to +36
#define USE_BARO_BMP280
#define USE_BARO_DPS310
Copy link
Contributor

@ot0tot ot0tot Nov 7, 2024

Choose a reason for hiding this comment

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

Suggested change
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310

Also remove these lines further down

#define USE_BARO
#define DEFAULT_BARO_DEVICE BARO_BMP280

Comment on lines 33 to +34
#define USE_BARO_BMP280
#define USE_BARO_DPS310
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment as KAKUTEF7 target

Suggested change
#define USE_BARO_BMP280
#define USE_BARO_DPS310
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_DPS310

and remove

#define USE_BARO
#define DEFAULT_BARO_DEVICE BARO_BMP280

Copy link
Contributor

Choose a reason for hiding this comment

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

Also remove DEFAULT_BARO defines in other targets.

@sugaarK
Copy link
Member

sugaarK commented Nov 11, 2024

@sugaarK We are hoping to add these default support for the Holybro Kakute series.

no worries
good you've moved to other units instead of the clone units available

@haslinghuis
Copy link
Member

Continue in #609

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.

5 participants