Skip to content

App port changes #209

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 5 commits into from
May 6, 2025
Merged

App port changes #209

merged 5 commits into from
May 6, 2025

Conversation

NikhitaR-IFX
Copy link
Member

Summary

To get drag and drop functionally as well working, I had to refactor the enablement a bit. Following are the main changes:

a) Sources:

  1. Refactored to store model state internally.
  2. Allow multiple instances to be created (multiple model support).
  3. Added two helper functions for user to get current model's input and output dimensions.

b) Makefile:

  1. Added custom clean target for Makefile to automatically clean caches alongwith build/ and .mpy file.
  2. Override gcc path with our installed path.

I have removed the model.c/.h as this is not part of our sources and something that a user will generated from studio.

You can help reviewing technically (from MPY eyes :) ) for now. With python script also released, I will open a final PR which will be easier to test and would anyway use the sources here.

Note: For now the changes are merged to mpy-dc-int which was the branch supposed to be maintained for all DEEPCRAFT related enablement since this branch is like ports-psoc6-main but without network and FreeRTOS enabled. In case we are able to improve here, I will bring all the changes to required branch then.

Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
@NikhitaR-IFX NikhitaR-IFX requested a review from jaenrig-ifx May 6, 2025 06:22
@jaenrig-ifx
Copy link
Member

All good 👍 We can discuss if there is anything on CI on-target that is worth to add
But that depends on next steps 😉.
And let´s see how/when/if this is merged again main.

@NikhitaR-IFX NikhitaR-IFX merged commit 9715c95 into mpy-dc-int May 6, 2025
19 of 22 checks passed
@NikhitaR-IFX NikhitaR-IFX deleted the app-port-changes branch May 6, 2025 11:35
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