Maintenance 9.x to maintenance-10.x#11575
Merged
Merged
Conversation
…address
The three stm32_flash_f765xg*.ld linker scripts were copy-pasted from the
STM32F745 linker without updating the memory map for the F765's larger DTCM.
STM32F745: DTCM = 64 KB (0x20000000–0x2000FFFF), SRAM1 starts at 0x20010000
STM32F765: DTCM = 128 KB (0x20000000–0x2001FFFF), SRAM1 starts at 0x20020000
The F765xG linker scripts kept the F745 values (TCM = 64 KB, RAM at
0x20010000), which places the RAM region inside the upper half of DTCM on
F765 hardware rather than in SRAM1.
Fix all three xG variants (normal, bl, for_bl):
- Expand DTCM_RAM from 64 KB to 128 KB (the full F765 DTCM)
- Move SRAM1 origin from 0x20010000 to 0x20020000 (correct F765 address)
- Add SRAM2 region (16 KB at 0x2007C000) matching the xi scripts
- Update REGION_ALIAS("RAM") to point to SRAM1
- Update stale file headers that still referenced STM32F745VGTx / 320 KB RAM
- Update flash sector comment from "32K on F74x" to "32K on F7xx"
The xi variant linker scripts (used by MATEKF765, MATEKF765SE) already had
the correct addresses and are not changed.
Affected targets: FRSKYPILOT, FRSKYPILOT_LED.
…_0 flag from target.h file
Replace 81 tfp_sprintf calls in osd.c with lightweight helpers that skip format-string parsing overhead: - osdFormatIntUnit: replaces "%Nd" and "%Nd%c" patterns (47 calls) - osdWriteChar/osdWriteChar2: replaces "%c" and "%c%c" (33 calls) - osdFormatTime_MMSS: replaces "%02d:%02d" pattern (2 calls) Removes one dead null-terminator write and collapses a redundant RSSI_DBM branch that became identical after conversion.
…do not take effect
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 #4881
…address Please test on FRSKYPILOT. Fix STM32F765xG linker scripts
added changes to max7456.c to add setting speed and removing spi_mod_0 flag with defines from target.h file
docs: Fix link case sensitivity in Telemetry.md
Add support for MS5525DSO digital airspeed sensor
Fix HUMMINGBIRD FC305 baro
Resolves blank OSD regression caused by missing multiFunctionWarning_t definition from maintenance-9.x. Conflicts in osd.c resolved by: - Keeping HEAD's osdWriteChar2/osdWriteChar optimization helpers - Taking maintenance-9.x's brace style for if/else blocks - Taking maintenance-9.x's strlen(buff) bug fix for RSSI stats itoa call - Preserving HEAD's displayWrite call accidentally dropped by maintenance-9.x
Fix the issue where the default configuration parameters for the log
SITL target undefines USE_I2C, so the i2c member of the busdev union does not exist in that build. Wrap the two address-assignment lines with #ifdef USE_I2C so the code compiles without hardware I2C support.
fix(pitotmeter): guard MS5525 i2c address writes with USE_I2C for SITL builds
On HD displays with valid efficiency data and 4-digit (DJI compat) mode, the efficiency string can reach 15 chars + null = 16 bytes, overflowing outBuff[15] by one byte. Adding an explicit null-termination guard at the end of all build paths prevents this and matches the inav3 reference.
Enables AddressSanitizer via -DASAN=ON. Use alongside -DDEBUG=ON for readable stack traces. Follows the existing DEBUG flag pattern.
…terns osd: replace common tfp_sprintf patterns with direct formatting helpers
Contributor
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Test firmware build ready — commit Download firmware for PR #11575 234 targets built. Find your board's
|
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.
No description provided.