You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This description is generated by an AI tool. It may have inaccuracies
Add complete FLYCOLORF4 flight controller target support
Configure 8 PWM outputs and LED strip functionality
Set up SPI buses for gyro, flash, and OSD
Enable 6 UART ports and I2C for sensors
Changes diagram
flowchart LR
A["New Target"] --> B["Hardware Config"]
B --> C["Timer Setup"]
B --> D["SPI/I2C Buses"]
B --> E["Sensor Support"]
C --> F["8 PWM Outputs"]
C --> G["LED Strip"]
D --> H["Gyro/Flash/OSD"]
E --> I["Baro/Mag/ADC"]
Loading
Changes walkthrough 📝
Relevant files
New target
target.h
Complete hardware configuration for FLYCOLORF4
src/main/target/FLYCOLORF4/target.h
Define hardware configuration for FLYCOLORF4 target
Configure SPI buses for gyro, flash memory, and OSD
Set up 6 UART ports and I2C for sensors
Enable ADC channels for battery, current, and RSSI
LED strip is configured to use pin PA10 which is already assigned to UART1_RX_PIN. This will cause a hardware conflict and prevent proper operation of both features.
Inconsistent spacing and formatting in the timer hardware array. Some lines have trailing spaces and inconsistent indentation which affects code readability.
The LED strip pin PA10 conflicts with UART1 RX pin defined earlier. This will cause hardware conflicts and prevent proper operation of either the LED strip or UART1.
Why: The suggestion correctly identifies a critical hardware pin conflict between WS2811_PIN and UART1_RX_PIN, both assigned to PA10, and provides the correct fix consistent with the timer definitions in target.c.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Other
Description
This description is generated by an AI tool. It may have inaccuracies
Add complete FLYCOLORF4 flight controller target support
Configure 8 PWM outputs and LED strip functionality
Set up SPI buses for gyro, flash, and OSD
Enable 6 UART ports and I2C for sensors
Changes diagram
Changes walkthrough 📝
target.h
Complete hardware configuration for FLYCOLORF4src/main/target/FLYCOLORF4/target.h
target.c
Timer and PWM output configurationsrc/main/target/FLYCOLORF4/target.c
CMakeLists.txt
Build system configurationsrc/main/target/FLYCOLORF4/CMakeLists.txt