Add target BLUEDERRYF405#11280
Add target BLUEDERRYF405#11280sunyanmeng963 wants to merge 2 commits intoiNavFlight:maintenance-9.xfrom
Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
PR Compliance Guide 🔍All compliance sections have been disabled in the configurations. |
| DEF_TIM(TIM11, CH1, PB9, TIM_USE_BEEPER, 0, 0), // BEEPER PWM | ||
|
|
||
| // DEF_TIM(TIM9, CH2, PA3, TIM_USE_PPM, 0, 0), //RX2 | ||
| DEF_TIM(TIM5, CH3, PA2, TIM_USE_ANY, 0, 0), //TX2 softserial1_Tx |
There was a problem hiding this comment.
Suggestion: Comment out the conflicting timer definition for TIM5 on pin PA2 to resolve a resource conflict with UART2_TX_PIN. [possible issue, importance: 9]
| DEF_TIM(TIM5, CH3, PA2, TIM_USE_ANY, 0, 0), //TX2 softserial1_Tx | |
| // DEF_TIM(TIM5, CH3, PA2, TIM_USE_ANY, 0, 0), //TX2 softserial1_Tx |
| #define SOFTSERIAL_1_TX_PIN PA2 | ||
| #define SOFTSERIAL_1_RX_PIN PA2 |
There was a problem hiding this comment.
Suggestion: Reassign SOFTSERIAL_1_RX_PIN from PA2 to another pin like PA3 to avoid conflicting with SOFTSERIAL_1_TX_PIN on the same pin. [possible issue, importance: 9]
| #define SOFTSERIAL_1_TX_PIN PA2 | |
| #define SOFTSERIAL_1_RX_PIN PA2 | |
| #define SOFTSERIAL_1_TX_PIN PA2 | |
| #define SOFTSERIAL_1_RX_PIN PA3 |
PR Type
Enhancement
Description
Add new BLUEBERRYF405 flight controller target
Configure timer hardware for 11 PWM outputs
Setup SPI devices for IMU, OSD, and SD card
Define UART, I2C, and ADC peripheral configurations
Diagram Walkthrough
File Walkthrough
target.h
Complete hardware and peripheral definitionssrc/main/target/BLUEBERRYF405/target.h
target.c
Timer and PWM output hardware mappingsrc/main/target/BLUEBERRYF405/target.c
config.c
Target-specific runtime configurationsrc/main/target/BLUEBERRYF405/config.c
CMakeLists.txt
Build system configurationsrc/main/target/BLUEBERRYF405/CMakeLists.txt