Skip to content

Maintenance 9.x to maintenance-10.x#11575

Merged
sensei-hacker merged 23 commits into
maintenance-10.xfrom
maintenance-9.x
May 20, 2026
Merged

Maintenance 9.x to maintenance-10.x#11575
sensei-hacker merged 23 commits into
maintenance-10.xfrom
maintenance-9.x

Conversation

@sensei-hacker
Copy link
Copy Markdown
Member

No description provided.

sensei-hacker and others added 23 commits March 2, 2026 16:09
…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.
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.
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
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
@qodo-code-review
Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@sensei-hacker sensei-hacker merged commit 80cf09d into maintenance-10.x May 20, 2026
39 of 41 checks passed
@github-actions
Copy link
Copy Markdown

Test firmware build ready — commit 0e298dd

Download firmware for PR #11575

234 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants