-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add new target DAKEFPVH743_SLIM #11177
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
base: master
Are you sure you want to change the base?
Add new target DAKEFPVH743_SLIM #11177
Conversation
Returns 8-byte bitmask indicating which logic conditions differ from defaults. Enables configurator optimization to reduce MSP requests from 64 to 1+N.
…conditions-enabled-mask Add MSP2_INAV_LOGIC_CONDITIONS_CONFIGURED command to make the OSD and programming tabs load much faster
Two bugs found by cppcheck static analysis: 1. fc/config.h:66 - Integer overflow in FEATURE_FW_AUTOTRIM - `1 << 31` could cause signed integer overflow (undefined behavior in C) - Fixed by using `1U << 31` for unsigned shift 2. sensors/temperature.c:101 - Buffer overrun in memset - sizeof(array) is already the size in bytes, so should not be multiplied by element size. - Fixed by using just `sizeof(sensorStatus)`
CRSF buffer overflow (rx/crsf.c): - fullFrameLength computed from untrusted frameLength field - Malformed packet with large frameLength could overflow crsfFrame.bytes[] - Added bounds check against CRSF_FRAME_SIZE_MAX before writing Dashboard sizeof bug (io/dashboard.c): - tickerCharacters was a pointer, so sizeof() returned pointer size (4/8) - On 64-bit systems, TICKER_CHARACTER_COUNT was 8 instead of 4 - Could read past end of string when indexing tickerCharacters[] - Changed to array declaration and sizeof()-1 for correct count 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…ritical-bugs Small C nitpicks from static analysis
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. |
1d977fa to
59532ea
Compare
PR Type
Enhancement
Description
Introduces new flight controller target DAKEFPVH743_SLIM
Configures dual IMU support with multiple sensor options
Defines 8 motor outputs and 4 servo outputs
Sets up comprehensive peripheral support including OSD, SD card, and telemetry
Diagram Walkthrough
File Walkthrough
target.h
Complete hardware pin and peripheral configurationsrc/main/target/DAKEFPVH743_SLIM/target.h
and BMI270
communication
monitoring
config.c
PINIO box runtime configuration setupsrc/main/target/DAKEFPVH743_SLIM/config.c
IDs
auxiliary control
CMakeLists.txt
Build system target registrationsrc/main/target/DAKEFPVH743_SLIM/CMakeLists.txt
target.c
Timer and IMU hardware device registrationsrc/main/target/DAKEFPVH743_SLIM/target.c
multiple sensor variants