Skip to content

alif: update DFP library to 2.1.0#19191

Draft
dpgeorge wants to merge 5 commits into
micropython:masterfrom
dpgeorge:alif-update-dfp-2-1-0
Draft

alif: update DFP library to 2.1.0#19191
dpgeorge wants to merge 5 commits into
micropython:masterfrom
dpgeorge:alif-update-dfp-2-1-0

Conversation

@dpgeorge
Copy link
Copy Markdown
Member

@dpgeorge dpgeorge commented May 6, 2026

Summary

This PR updates the alif port to use the latest DFP 2.1.0 release.

There are many changes and some thing do not yet work:

Testing

Built and ran the test suite on ALIF_ENSEMBLE. Apart from the issues above, there are no other regressions (tests include Pin, ADC, PWM, I2CTarget, UART).

Trade-offs and Alternatives

There's not much choice here but to keep up to date with the latest DFP code.

The definitions M55_HP/M55_HE have changed to RTSS_HP/RTSS_HE which might have some flow-on effects, eg for OpenMV.

Generative AI

I did not use generative AI tools when creating this PR.

dpgeorge added 4 commits May 6, 2026 12:37
Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
It's replaced by the new `dcd_ensemble.c` code.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge
Copy link
Copy Markdown
Member Author

dpgeorge commented May 6, 2026

@iabdalkader @kwagyeman FYI, this still needs some effort to get USB and power management working again.

If you have any insights/comments, that would be appreciated!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.46%. Comparing base (21b3a51) to head (07fb95f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19191   +/-   ##
=======================================
  Coverage   98.46%   98.46%           
=======================================
  Files         176      176           
  Lines       22811    22811           
=======================================
  Hits        22460    22460           
  Misses        351      351           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Damien George <damien@micropython.org>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Code size report:

Reference:  samd/machine_adc: Fix the configuration with averaging enabled. [21b3a51]
Comparison: tools/ci.sh: Use RTSS instead of M55 for alif. [merge of 07fb95f]
  mpy-cross:    +0 +0.000% 
   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
      esp32:    +0 +0.000% ESP32_GENERIC
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant