-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 STM32F411SX1280 unified target #11648
Conversation
AUTOMERGE: (FAIL)
|
Tested with CRAZYBEEF4SX1280 - works on the bench. |
#define RX_EXPRESSLRS_TIMER_INSTANCE TIM5 | ||
#define RX_CHANNELS_AETR | ||
|
||
#else // STM32F411SX1280 |
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.
non-SX1280 normal STM32F411 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.
All targets except this one include support for other RC protocols.
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.
non-SX1280 normal unified target
but yeah that's only a comment
@@ -218,6 +241,40 @@ | |||
// to be supplied when the board is configured for the first time | |||
#define USE_UNIFIED_TARGET | |||
|
|||
// Only enable ELRS support on STM32F411SX1280 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.
what if someday a vendor wanna make a SX1280 SPI FC based on other chip, for example F745?
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.
If it has more than 512K of flash then SPI ELRS support will be included. If somebody makes an F722 FC with SPI ELRS then we’ll need to add an STMF7SX1280 target.
@@ -78,6 +78,29 @@ | |||
#define TARGET_IO_PORTD 0xffff | |||
#define TARGET_IO_PORTE 0xffff | |||
|
|||
#elif defined(STM32F411SX1280) | |||
#define TARGET_BOARD_IDENTIFIER "S4SX" |
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.
S41S
or S41X
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 sure if any standard for the definition of these four character identifiers exists.
BETAFPVF4SX1280 found no problems. |
Can you add iflightf411sx1280 to this? |
@turboed13b This is a unified target, so it is usable on all F411 boards with onboard sx1280. |
@turboed13b If you have this FC, then please follow the instructions at https://github.com/betaflight/betaflight/blob/master/docs/TargetMaintenance/CreatingAUnifiedTarget.md. Use the image above as you do this. Then raise a PR to add the unified config as @KarateBrot requests above. @XING-IF This would require your blessing. |
@SteveCEvans Can you add icm42688P driver? |
@GEME-Cyi The ICM-42688-p is already supported in Betaflight Edit: Misunderstanding, sorry. I didn't know that the f411 was excluded from using that gyro. |
See #11664 |
This adds unified target support for STM32F411 targets using the SX1280 SPI RX, such as the BETAFPVF4SX1280 and CRAZYBEEF4SX1280.
betaflight_4.3.0_STM32F411SX1280_6d17f3f.zip
See betaflight/unified-targets#623