Skip to content

examples/natmod/deepcraft: Add enablement and ex for .mpy gen. #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

NikhitaR-IFX
Copy link
Member

Summary

  • Enabled deepcraft model integration with MicroPython in a dynamically loadable way.
  • Optimized memory in ports/psoc6 to make more available heap for GC.

Testing

  1. Go to examples/natmod/deepcraft/
  2. Run:
    make ARCH=armv7emsp
    3.Copy the generated deepcraft_model.mpy to MPY device FS.
  3. Open Thonny or any supported IDEs, and :
    import deepcraft_model

Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
Copy link

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     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

Copy link
Member

@jaenrig-ifx jaenrig-ifx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many things I cannot judge :)
tools/ar_util.py is completely new? Only specific to our port or generic to the project?

@NikhitaR-IFX
Copy link
Member Author

Many things I cannot judge :) tools/ar_util.py is completely new? Only specific to our port or generic to the project?

Oops Sorry! I should have mentioned. You can review only examples/natmod/deepcraft and ports/psoc6 changes. Rest in tools/ and py/ would ideally come from official once the PR here(micropython#15838) is merged.

@NikhitaR-IFX NikhitaR-IFX merged commit de1ff13 into mpy-dc-int Mar 12, 2025
25 of 31 checks passed
@NikhitaR-IFX NikhitaR-IFX deleted the en-drag-drop branch March 12, 2025 15:26
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy