Add FlyingRC F4Wing Mini target updates#1
Closed
FlyingRC-Official wants to merge 423 commits into
Closed
Conversation
…into RealFlight-TCP-Fix
…lue in RealFlight simulation
…im-telemetry-f722 Disable SIM telemetry for F722 targets due to lack of FLASH memory
…yro-optimizations
…mizations Eliminates: 1 function call + internal state check per gyro sample
…DMAR support The circular DMA protection was unreliable because: - DMA TC interrupt handler immediately disabled the stream on every circular cycle completion, defeating the circular mode entirely - H7 could enable circular mode with zero data length (undefined per RM) - pwmCompleteMotorUpdate() rate limiter silently swallowed the zero-throttle latching calls - Burst DMA (USE_DSHOT_DMAR) targets were not handled Fixes: - Add TCH_DMA_CIRCULAR state so IRQ handlers skip stream-disable - Disable TC interrupt during circular mode as belt-and-suspenders - Always reload transfer count to buffer size when enabling circular - Load zero-throttle directly into DMA buffers, bypassing rate limiter - Add burst DMA circular support for DMAR targets (F4/F7/H7) - Disable timer DMA request during reconfiguration on all platforms - Add __DSB() barrier before re-enabling DMA streams - Add configured check consistent with pwmCompleteMotorUpdate()
- Change TARGET_BOARD_IDENTIFIER from "H743" to "BB43" (unique 4-char ID) - Remove BEEPER_PWM_FREQUENCY (no matching DEF_TIM entry) - Remove USE_SOFTSERIAL1 (unnecessary with 8 hardware UARTs + VCP) - Update SERIAL_PORT_COUNT from 9 to 8 - Remove beeper PWM and softserial timer entries from target.c - Fix trailing whitespace on DEF_TIM S3 line
added support of icm45686 sensor
fix lsm6dxx driver lack gyroAlign setting issue.
…do not take effect
Virtual pitot fixes
Blackbox acceleration/vibration fixes
Maintenance 9.x to Maintenance-10.x
Adds three new write-only MSP2 commands that allow a ground control
station to interact with an active INAV navigation session without
requiring direct RC transmitter input:
MSP2_INAV_SET_WP_INDEX (0x2221)
Jump to a specific waypoint during an active WP mission.
Payload: U8 wp_index (0-based, relative to mission start waypoint).
Preconditions: aircraft must be armed and NAV_WP_MODE must be active.
Transitions any active waypoint FSM state back to PRE_ACTION so
INAV re-initialises navigation for the new target waypoint.
MSP2_INAV_SET_ALT_TARGET (0x2222)
Set a new target altitude while altitude-controlled navigation is active.
Payload: I32 altitude_cm (centimetres, relative to home).
Preconditions: aircraft must be armed and NAV_CTL_ALT must be active.
Calls updateClimbRateToAltitudeController() which works for both
multicopter and fixed-wing platforms.
MSP2_INAV_SET_CRUISE_HEADING (0x2223)
Set the heading target while Cruise or Course Hold mode is active.
Payload: I32 heading_centidegrees (0–35999).
Preconditions: aircraft must be armed and NAV_COURSE_HOLD_MODE must
be active. Sets both posControl.cruise.course and previousCourse to
prevent spurious heading adjustments on the next control cycle.
Implementation details:
- New FSM event NAV_FSM_EVENT_SWITCH_TO_WAYPOINT_JUMP aliases
NAV_FSM_EVENT_STATE_SPECIFIC_4 (safe: WP and RTH states never
overlap so the same underlying integer can be reused in both groups).
- FSM transitions added for PRE_ACTION, IN_PROGRESS, REACHED,
HOLD_TIME and FINISHED states, all routing to PRE_ACTION.
- Three new public functions declared in navigation.h and implemented
in navigation.c: navSetActiveWaypointIndex(), navSetDesiredAltitude(),
navSetCruiseHeading().
- MSP handlers added in fc_msp.c; all return MSP_RESULT_ERROR if the
aircraft is not in a compatible state.
…lementation The set-altitude functionality is already covered by a more mature existing implementation in INAV. Remove the MSP2_INAV_SET_ALT_TARGET command added in the previous commit, keeping only MSP2_INAV_SET_WP_INDEX (0x2221) and MSP2_INAV_SET_CRUISE_HEADING (0x2223). Removes: define in msp_protocol_v2_inav.h, navSetDesiredAltitude() in navigation.c/.h, the MSP handler in fc_msp.c, and the docs section.
This commit introduces a hardware driver for the TE Connectivity MS5525DSO digital airspeed sensor over I2C, specifically calibrated for the 1 PSI variant. Changes included: - Registered MS5525 in pitot_hardware for CLI assignment - Implemented pitotmeter_ms5525.c/h conforming to the 20-byte scratchpad limit - Alternating D1/D2 polling for non-blocking execution length - Added standard I2C bus device discovery for 0x76/0x77 addresses - Added missing USE_PITOT_MS5525 flag to standard build targets - Included I2C transaction success checks to fallback on failure Tested compiling and executing successfully on KAKUTEH7WING target. Resolves iNavFlight#4881
…-v1.3.3-update Update STM32F7xx HAL to v1.3.3
…ets-no-storage fix: disable bootloader variants for targets without storage backend
SET_ALT fixes and tightening
Remove STM32F4 HAL as it is not used in the project.
…13.0-update Update STM32H7xx HAL to v1.11.6 and CMSIS Device to v1.10.7
- Add USE_I2C_DEVICE_2 (PB10/PB11) for external magnetometer - Route MAG_I2C_BUS to BUS_I2C2 to match board layout - Fix VBAT_SCALE_DEFAULT (was Betaflight value, not INAV scale) Both ADC and magnetometer verified working on hardware.
…dixh743 New target: SPEDIXH743
HITL/SITL X-Plane improvements (merge of iNavFlight#11253)
…ixes Needs testing: Issue iNavFlight#10830 Surface Mode Fixes
…FIX-Voltage-BUG change VBAT_SCALE_DEFAULT = 2100
…sb-intercept-calc ADSB selected the most dangerous vehicle by CPA calculation
…cmake-release-mode docs: Document CMAKE_BUILD_TYPE=Release for production builds
…t tests Validate that the packet contains exactly timerCount*2 bytes after the count byte. Previously a truncated packet was silently accepted, applying fewer overrides than requested and returning a plausible-but-wrong preview. Add unit tests covering: - pwmCalculateAssignment() save/restore invariant (hardware flags and timer override modes are identical before and after the simulation) - TIMER_HW_MAX guard (out stays zero-initialised when count exceeds limit) - QUERY payload validation (truncated, oversized, and well-formed payloads)
…-assignment-api-v2 output assignment: firmware-authoritative MSP2 READ/QUERY API
Removed commented-out timer definitions and adjusted the order of active timer definitions.
add a new target BLADE_F4
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
…F4WINGMINI # Conflicts: # src/main/target/FLYINGRCF4WINGMINI_NOT_RECOMMENDED/CMakeLists.txt
FlyingRC-Official
pushed a commit
that referenced
this pull request
May 26, 2026
DroneCAN SITL Implementation: SocketCAN Driver and Testing
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
FLYINGRCF4WINGMINI_NOT_RECOMMENDEDtoFLYINGRCF4WINGMINIand update the USB product string/docs title.PC5/ADC_CHN_2, matching the Matek F405 TE mapping.Verification
git diff --check origin/master...HEADorigin/mastershowed no conflicts.Local CMake configure/build was not run because
cmakeis not installed in this environment.