Skip to content

Terrain: take the height reference where the aircraft arms, no higher than the GPS altitude - #12283

Open
joshuabardwell wants to merge 3 commits into
iNavFlight:maintenance-10.xfrom
joshuabardwell:fix/terrain-height-reference
Open

joshuabardwell wants to merge 3 commits into
iNavFlight:maintenance-10.xfrom
joshuabardwell:fix/terrain-height-reference

Conversation

@joshuabardwell

Copy link
Copy Markdown
Contributor

Problem

The terrain code works out height above ground as the estimated altitude minus how far the
terrain rises above a reference height. That reference is the map height at the GPS origin
(terrainNavUpdateHomeHeight() in terrain_nav.c, and the data layer's own AGL in
terrain.c). Two things go wrong with it:

  1. It is taken in the wrong place. The GPS origin is where the first fix came in, and it
    never moves. The altitude zero is set where the aircraft arms (inav_reset_altitude). If
    the aircraft is carried after its first fix, or armed a second time somewhere else with
    EACH_ARM, every terrain height is off by the difference in ground height between the
    two places.
  2. A map error at the take-off spot shifts the whole flight. The comment on the home
    height says map-datum errors cancel. That holds for an offset that is the same
    everywhere. It does not hold for an error that is local to the take-off spot (the map is
    a smoothed 30 m grid, so a mesa edge, a cut or a building is enough). If the map reads
    x m too high where the aircraft arms, the aircraft flies x m lower than it believes for
    the whole flight, which is the wrong direction for a terrain floor.

Changes

Three commits. Each builds on the one before, and the first stands on its own if you would
rather keep a map-only reference.

  1. fix(terrain): take the height reference where the aircraft arms. The map is read
    where the aircraft stands while it is disarmed, together with its altitude there.
    Arming keeps the last such point for the flight. An emergency re-arm in the air keeps
    the flight's point, as the position estimator keeps its altitude zero. terrain.c and
    terrain_nav.c now share one reference (terrainGetReferenceHeightM()), which replaces
    terrainNavGetHomeTerrainHeight().
  2. fix(terrain): height reference no higher than the GPS altitude. The GPS altitude of
    the altitude zero is a second reading of the same height, and the lower of the two is
    used. A reference that is too high puts the aircraft closer to the ground than it
    believes; one that is too low makes it fly higher. The GPS reading counts only if the
    aircraft had a 3D fix and an EPV under inav_max_eph_epv when it armed. Otherwise the
    map alone is used, as before. This commit changes the choice described in the comment
    above, so it is kept separate.
  3. feat(terrain): OSD message when the map and the GPS altitude disagree at take-off.
    While the hold is engaged, TERRAIN: MAP/GPS ALT DIFFER shows if the two readings are
    more than 5 m apart (TERRAIN_REFERENCE_DISAGREE_M). That means the map is wrong at the
    take-off spot, the GPS altitude was off at arming, or the aircraft armed well above the
    mapped ground. The message and a short note on where heights are measured from are added
    to docs/Navigation Terrain Following.md.

What changes in flight:

At take-off Before After
Map reads high flies that much lower than it believes correct
Map reads low, or launched from above the mapped ground flies that much higher the same
GPS altitude reads high no change
GPS altitude reads low flies that much higher
Carried after the first fix, or re-armed elsewhere with EACH_ARM off by the ground-height difference correct

Testing

Unit tests. ninja check passes (635 tests) on the branch merged with the current
maintenance-10.x. The existing terrain_unittest builds terrain_location.c and
terrain_utils.c only, so no unit test covers the files this changes.

SITL. 3D cruise with TERRAIN AGL HOLD engaged at 50 m over flat ground, minimum 60 m, so
the hold levels off at 70 m. Synthetic .TER data and a simulated GPS:

Case Before After
Map 15 m too high round the take-off spot 49.7 m (reported 65.7) 70.0 m
First fix on ground 30 m higher, then carried to the launch spot 49.6 m (reported 79.6) 70.0 m
EACH_ARM, second arm on ground 30 m higher 100.0 m 69.9 m
GPS altitude 10 m low 70.0 m 80.0 m
Map 15 m too low 85.0 m 85.0 m
GPS altitude 10 m high 70.0 m 70.0 m
FIRST_ARM second arm; re-arm in the air unchanged unchanged

HITL. X-Plane 12, TBS Lucid H743 Wing, Sedona AZ (KSEZ, on a mesa). This was a build of
my fork that carries these three commits and also flies terrain-protected waypoint legs,
which take their heights from the same reference. The cruise hold itself was flown in SITL
only. Heights compared with X-Plane's own position and ground:

  • Before, taking off where the map reads 13.5 m above X-Plane's ground: the FC's height above
    ground was 14.5 m more than the true height (median over the flight).
  • After, taking off where the map reads 13.3 m above X-Plane's ground and the GPS altitude
    matches X-Plane: median +0.1 m. TERRAIN: MAP/GPS ALT DIFFER showed while the terrain legs
    were flown.

🤖 Generated with Claude Code

joshuabardwell and others added 3 commits November 26, 2026 15:32
Height above ground is the estimated altitude minus the terrain's rise above
a reference height. The reference was the map height at the GPS origin, which
is where the first fix came in and never moves, while the altitude zero is
set where the aircraft arms (inav_reset_altitude). An aircraft carried from
where it got its fix to the launch spot, or armed a second time somewhere
else with EACH_ARM, had every terrain height off by the difference in ground
height between the two places.

The map is now read where the aircraft stands while it is disarmed, and kept
with the altitude it has there. Arming keeps the last such point for the
flight; an emergency re-arm in the air keeps the flight's point, as the
position estimator keeps its altitude zero. terrain.c and terrain_nav.c share
the one reference instead of each latching the origin's map height.

SITL (3D cruise + TERRAIN AGL HOLD engaged at 50 m over flat ground, minimum
60 m, so the hold levels off at 70 m):
- first fix on ground 30 m higher, then carried to the launch spot: levelled
  at 49.6 m and reported 79.6 m; now 70.0 m
- EACH_ARM, second arm on ground 30 m higher: levelled at 100.0 m; now 69.9 m
- FIRST_ARM second arm, and a re-arm in the air: unchanged

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The height reference was the map height under the take-off spot alone, so
an error of the map there shifted every terrain height of the flight. A map
that reads x m too high at take-off made the aircraft fly x m lower than it
believed, everywhere.

The GPS altitude of the altitude zero (the GPS origin's altitude) is a second
reading of the same height. The lower of the two is now used: a reference
that is too high puts the aircraft closer to the ground than it believes, a
reference that is too low only makes it fly higher. The GPS reading counts
only with a 3D fix and an EPV under inav_max_eph_epv when the aircraft armed;
otherwise the map alone is used, as before.

What changes in flight:
- map too high at take-off: was that much too low, now correct
- map too low at take-off, or launched from above the mapped ground: flies
  that much higher, as before
- GPS altitude reads high: nothing changes
- GPS altitude reads low: flies that much higher

SITL (3D cruise + TERRAIN AGL HOLD engaged at 50 m over flat ground, minimum
60 m, so the hold levels off at 70 m):
- map 15 m too high round the take-off spot: levelled at 49.7 m and reported
  65.7 m; now 70.0 m
- GPS altitude 10 m low: 80.0 m (was 70.0 m)
- map 15 m too low (85.0 m), GPS 10 m high (70.0 m), a second arm with
  FIRST_ARM and EACH_ARM, and a re-arm in the air: unchanged

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… at take-off

With the hold engaged, "TERRAIN: MAP/GPS ALT DIFFER" shows when the two
readings of the take-off height are more than 5 m apart: the map is wrong at
the take-off spot, the GPS altitude was off at arming, or the aircraft armed
well above the mapped ground. The lower reading is in use either way, so the
message tells the pilot why the heights may be off, and that the hold errs
toward flying higher.

Adds the message to the table in Navigation Terrain Following.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown
Contributor

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Terrain: take height reference at arming, capped at GPS altitude

🐞 Bug fix ✨ Enhancement 🕐 40+ Minutes

Grey Divider

AI Description

• Takes the terrain height reference where the aircraft arms, not at the first GPS fix.
• Uses the lower of the map height and GPS altitude, so a high map no longer lowers the flight.
• Adds a "TERRAIN: MAP/GPS ALT DIFFER" OSD warning when the two readings differ by over 5 m.
Merge Risk 🟡 Medium

Blast radius 🟡 Medium 💥 2 capabilities

  • 2 affected capabilities within one bounded functional scope: terrain_following_integration.
  • The reference is calculated in the terrain data layer and directly supplies terrain AGL/AMSL outputs consumed by blackbox and terrain-related OSD displays; these are reporting surfaces of the same terrain-following integration, not independent domains.
  • The reference validity and AGL value flow from terrain navigation queries into the cruise terrain-hold controller, which is one bounded terrain-following behavior across these components; the OSD warning is a diagnostic surface of that behavior.
Behavioral complexity 🟡 Medium 🧩 Interacting branches, Coordinated invariants

  • Before, terrain data and terrain navigation independently latched terrain height at the GPS origin.
  • After, both must agree on a reference derived from an estimator position tracked while disarmed and transferred at the arm edge, with a special emergency-rearm path and optional GPS comparison.
  • New correctness conditions are that the disarmed point is current and map-resolved before arming, the arm transition preserves the correct point, emergency rearm preserves the prior flight point, and terrain AGL plus navigation-health decisions use the same selected reference.
  • These are newly interacting state and cross-module invariants, not complexity inherited merely from the existing map lookup.
Potential damage 🔴 High 🩹 Integrity

  • If the reference is materially wrong while activated, the hold can believe the aircraft is higher or lower than its actual terrain clearance and command an inappropriate altitude.
  • If the reference is merely unavailable, the supported behavior is loss of terrain-hold assistance and fallback to stock cruise rather than an invented downstream effect.
  • Reverting stops subsequent use of the new reference, but it cannot undo an altitude deviation or any external flight consequence already produced; the aircraft must be flown or controlled back to a safe altitude.
Assessed commit dafb39b
Diagram

graph TD
  sd[("SD terrain tiles")] --> pt["Ground point at arming"] --> ref["Height reference: min(map, GPS)"] --> nav["terrain_nav AGL and hold"]
  ref --> osd["OSD MAP/GPS ALT DIFFER"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. GPS altitude only as the reference
  • ➕ No dependence on map accuracy at the take-off spot
  • ➕ Simpler: no SD block lookup for the reference
  • ➖ GPS vertical error is typically larger than map error
  • ➖ Loses datum consistency with the map used for ground heights, so offsets would not cancel
2. Keep the origin-based reference and re-latch on origin change
  • ➕ Smallest code change
  • ➕ Matches the data layer's existing AGL behaviour
  • ➖ Does not fix carry-after-first-fix or EACH_ARM at a different ground height
  • ➖ Leaves the map error at the take-off spot shifting the whole flight

Recommendation: Keep the map-based reference captured at arming, with the GPS altitude as a capped second reading. This keeps the map's datum, so map errors cancel as before, while removing the dependence on the first-fix location. A GPS-only reference would avoid map errors but would inherit GPS vertical error, which is usually larger than map-to-map differences. Re-latching on gpsOrigin change was rejected in the PR because the origin never moves after the first fix, so it cannot track where the aircraft arms.

Files changed (7) +151 / -86

Enhancement (3) +17 / -0
osd.cShow the map/GPS disagreement message while the hold is engaged +6/-0

Show the map/GPS disagreement message while the hold is engaged

• Adds the OSD system message when the hold is engaged and terrainReferenceReadingsDisagree() is true. It counts toward the existing message limit for that block.

src/main/io/osd.c

osd.hAdd OSD message string for the reference disagreement +1/-0

Add OSD message string for the reference disagreement

• Defines OSD_MSG_TERRAIN_REFERENCE as "TERRAIN: MAP/GPS ALT DIFFER" inside the terrain message block.

src/main/io/osd.h

terrain.hDeclare the shared height reference API and disagreement threshold +10/-0

Declare the shared height reference API and disagreement threshold

• Adds TERRAIN_REFERENCE_DISAGREE_M at 5 m and declares terrainGetReferenceHeightM() and terrainReferenceReadingsDisagree().

src/main/terrain/terrain.h

Bug fix (2) +131 / -83
terrain.cCapture the height reference at arming and expose it +120/-35

Capture the height reference at arming and expose it

• Replaces the GPS-origin home height latch with a disarmed ground point that is handed to the flight at arming. Emergency re-arm in the air keeps the flight's point. Adds terrainGetReferenceHeightM() returning the lower of map and GPS altitude when the GPS reading is usable, and terrainReferenceReadingsDisagree() for the OSD check. The AGL computation in terrainUpdateTask uses the shared reference.

src/main/terrain/terrain.c

terrain_nav.cUse the shared height reference for AGL and health checks +11/-48

Use the shared height reference for AGL and health checks

• Removes the local home-height latch and terrainNavGetHomeTerrainHeight(). terrainNavIsHealthy() and terrainNavGetAGLCm() now use terrainGetReferenceHeightM(), so the nav layer and data layer share one reference.

src/main/terrain/terrain_nav.c

Refactor (1) +0 / -3
terrain_nav.hRemove the GPS-origin home height accessor +0/-3

Remove the GPS-origin home height accessor

• Deletes the declaration of terrainNavGetHomeTerrainHeight(), which has no remaining callers after the shared reference replaces it.

src/main/terrain/terrain_nav.h

Documentation (1) +3 / -0
Navigation Terrain Following.mdDocument the MAP/GPS ALT DIFFER message and height reference +3/-0

Document the MAP/GPS ALT DIFFER message and height reference

• Adds a table row for the new TERRAIN: MAP/GPS ALT DIFFER message with its meaning and action. Adds a note explaining that the reference is taken at arming and the lower of map and GPS altitude is used.

docs/Navigation Terrain Following.md

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (3) 📘 Rule violations (0) 🔗 Cross-repo conflicts (2) 📜 Skill insights (0)

Grey Divider


Action required

1. Quick re-arms use the old terrain height 🐞 Bug ≡ Correctness
Description
terrainGroundPointInUse() detects an arm transition only when a terrain query happens, and copies
the last periodically sampled disarmed point rather than capturing the position at arming. If
disarming and re-arming occur between terrain-task runs, the transition is missed entirely; even
when it is observed, movement or loss of position validity since the last sample can leave the new
flight with an earlier location's reference.
Code

src/main/terrain/terrain.c[R166-169]

+    const bool armed = ARMING_FLAG(ARMED);
+    if (armed && !wasArmed && !(STATE(IN_FLIGHT_EMERG_REARM) && groundFlight.located)) {
+        groundFlight = groundDisarmed;
+    }
Evidence
The copy and transition history are updated only by the helper. The terrain task runs at 5 Hz and
returns before calling it without GPS; the capture condition also leaves an older disarmed point
intact when position is unusable. A subsequent healthy navigation estimate accepts the stored
reference for terrain hold.

src/main/terrain/terrain.c[162-190]
src/main/terrain/terrain.c[247-259]
src/main/fc/fc_tasks.c[825-830]
src/main/terrain/terrain_nav.c[68-77]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The terrain task can miss a disarm/re-arm transition or hand off a disarmed point that predates movement or position loss.
## Fix Focus Areas
- src/main/terrain/terrain.c[160-200]
## Recommended Fix
Synchronize the flight-point handoff with the actual arming event rather than inferring the transition from terrain-task calls. Require a current, usable position for a new flight reference, while preserving the existing flight reference for emergency in-air re-arms.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Remediation recommended

2. Surface mode can corrupt the height reference 🐞 Bug ≡ Correctness
Description
terrainGroundPointUpdate() records navGetCurrentActualPositionAndVelocity()->pos.z as local
altitude, although that accessor returns surface distance when terrain-following mode is enabled.
Disarming while that mode is active leaves a window before navigation resets the mode flag; a point
captured in that window and handed to a new flight subtracts surface distance instead of absolute
altitude from the map height.
Code

src/main/terrain/terrain.c[R180-185]

+        const fpVector3_t *pos = &navGetCurrentActualPositionAndVelocity()->pos;
+        gpsLocation_t here;
+        if (geoConvertLocalToGeodetic(&here, &posControl.gpsOrigin, pos)) {
+            point->located = true;
+            point->location = here;
+            point->altitudeCm = pos->z;
Evidence
The accessor switches between absolute and AGL state, while the new reference calculation always
treats the captured value as absolute local altitude. Disarming does not itself clear the
terrain-follow flag; the separate navigation idle transition does so later.

src/main/navigation/navigation.c[4323-4332]
src/main/navigation/navigation.c[4413-4419]
src/main/navigation/navigation.c[5176-5184]
src/main/fc/fc_core.c[502-529]
src/main/terrain/terrain.c[179-185]
src/main/terrain/terrain.c[202-225]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
A disarmed terrain point can store rangefinder surface distance in the field used as absolute local altitude.
## Fix Focus Areas
- src/main/terrain/terrain.c[179-186]
## Recommended Fix
Use the estimator's absolute position and altitude when converting and storing the ground point, regardless of the currently selected surface-tracking mode.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Terrain height can change during flight 🐞 Bug ≡ Correctness
Description
terrainReferenceReadings() compares the fixed map point with the current gpsOrigin.alt on every
query instead of retaining the GPS reading associated with the flight point. If the estimator
applies its in-flight GPS-origin altitude correction while that origin remains eligible as the lower
reading, the terrain reference and the resulting AGL calculation change after take-off.
Code

src/main/terrain/terrain.c[R210-212]

+    *mapM = point->heightM - point->altitudeCm * 0.01f;
+    *gpsUsable = point->gpsUsable && posControl.gpsOrigin.valid;
+    *gpsM = posControl.gpsOrigin.alt * 0.01f;
Evidence
The estimator can rewrite the origin altitude after arming when GPS vertical precision is poor. The
new reference getter repeatedly reads that value and selects it against a map reading derived from
the stored flight point; both the data-layer AGL and navigation AGL consume the getter.

src/main/navigation/navigation_pos_estimator.c[220-237]
src/main/terrain/terrain.c[202-226]
src/main/terrain/terrain.c[261-275]
src/main/terrain/terrain_nav.c[85-99]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The map side of the flight reference is fixed, but its GPS side reads a mutable estimator origin throughout the flight.
## Fix Focus Areas
- src/main/terrain/terrain.c[95-102]
- src/main/terrain/terrain.c[160-169]
- src/main/terrain/terrain.c[202-225]
## Recommended Fix
Store the eligible GPS height with the ground point at the flight handoff, and compare the two readings from that same captured reference. Preserve that captured pair for an emergency in-air re-arm.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


4. Site names the wrong required tile 🔗 Cross-repo conflict ≡ Correctness
Description
terrainGroundPointUpdate now takes the reference from the aircraft’s disarmed position, but
iNavFlight.github.io still describes the first-fix home tile as the mandatory reference tile. If the
aircraft is carried to a different tile before arming, that guidance can lead a pilot to prepare the
first-fix tile instead of the arming-site tile.
Code

src/main/terrain/terrain.c[R182-185]

+        if (geoConvertLocalToGeodetic(&here, &posControl.gpsOrigin, pos)) {
+            point->located = true;
+            point->location = here;
+            point->altitudeCm = pos->z;
Evidence
The changed firmware records the current disarmed position and queries its map height; the published
guide instead says the first-fix home elevation establishes the reference and calls its tile
mandatory.

inav -> iNavFlight.github.io
src/main/terrain/terrain.c[175-198]
External repo: iNavFlight/iNavFlight.github.io, docs/06-advanced-features/terrain.mdx [123-142]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The published terrain guide identifies the first-fix home tile as mandatory, while the firmware now references the aircraft’s position before arming.
## Fix Focus Areas
- src/main/terrain/terrain.c[179-198]
- /cross_repos/iNavFlight.github.io/docs/06-advanced-features/terrain.mdx[123-142]
## Recommended Fix
Update the website’s setup, reference, and grid-loading guidance to require the tile covering the arming site, including when the aircraft moves after its first fix. Coordinate the website change with the firmware release.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


View medium (1)
5. Site misstates in-flight tile loading 🔗 Cross-repo conflict ≡ Correctness
Description
terrainUpdateTask now retries the captured reference-point query before its armed/no-reference
guard, but iNavFlight.github.io says arming before that read succeeds prevents all SD-card reads for
the rest of the flight. When the tile is present but has not loaded at arming, the published pre-arm
warning and troubleshooting advice incorrectly describe the firmware’s retry behavior.
Code

src/main/terrain/terrain.c[259]

+    terrainGroundPointUpdate();
Evidence
The reference-point query runs before the armed guard and schedules a missing block for reading,
whereas the site explicitly rules out any SD-card reads after arming without a successful pre-arm
read.

inav -> iNavFlight.github.io
src/main/terrain/terrain.c[192-199]
src/main/terrain/terrain.c[259-265]
src/main/terrain/terrain.c[128-136]
External repo: iNavFlight/iNavFlight.github.io, docs/06-advanced-features/terrain.mdx [116-118]
External repo: iNavFlight/iNavFlight.github.io, docs/06-advanced-features/terrain.mdx [136-157]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The website says firmware makes no in-flight SD-card reads if the reference read has not succeeded before arming, but the changed firmware continues querying the captured reference point.
## Fix Focus Areas
- src/main/terrain/terrain.c[192-199]
- src/main/terrain/terrain.c[259-265]
- /cross_repos/iNavFlight.github.io/docs/06-advanced-features/terrain.mdx[116-118]
- /cross_repos/iNavFlight.github.io/docs/06-advanced-features/terrain.mdx[136-157]
## Recommended Fix
Revise the website’s pre-arm warning, grid-loading rules, and troubleshooting advice to distinguish retries for the captured reference point from other terrain reads. Coordinate publication with the firmware change.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
✅ Cross-repo context — repo relationships
  Explored: repo: iNavFlight/iNavFlight.github.io (sha: 7dc2681a) — View relationship
✅ Context preparation
  Commit messages: summarized; full text retained for this review
Review mode: Auto: ⚖️ Balanced: Downgraded extended -> standard: change is below the extended eligibility bar (hunks 15/18, lines 237/200; both must reach the floor). Router rationale: Terrain reference logic spans arming, GPS, map, navigation, and OSD paths.

Grey Divider

Tip of the day
💡 Did you know, you can start a comment with 'qodo' or '@qodo' to chat about any finding

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown

RAM / Flash usage vs. base commit c032abc — commit dafb39b

Target Flash Δ RAM Δ
MATEKF405 ±0 B (±0.00%) CCM: ±0 B (±0.00%)
RAM: ±0 B (±0.00%)
MATEKF722 ±0 B (±0.00%) ITCM_RAM: ±0 B (±0.00%)
RAM: ±0 B (±0.00%)
TCM: ±0 B (±0.00%)
MATEKF765 +868 B (+0.12%) DTCM_RAM: ±0 B (±0.00%)
SRAM1: +24 B (+0.02%)
MATEKH743 +1076 B (+0.14%) D2_RAM: ±0 B (±0.00%)
DTCM_RAM: ±0 B (±0.00%)
ITCM_RAM: -8 B (-0.05%)
RAM: +32 B (+0.02%)

See RAM/flash optimization guide for techniques to reduce usage.

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.

1 participant