-
Notifications
You must be signed in to change notification settings - Fork 7.6k
samples: boards: infineon: board specific samples #90834
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
base: main
Are you sure you want to change the base?
Conversation
sreeramIfx
commented
May 29, 2025
- Sample required to enable CM7 cores on XMC7200
9837c7a
to
b95bb6b
Compare
- Sample required to enable CM7 cores on XMC7200 Signed-off-by: Sreeram Tatapudi <[email protected]>
b95bb6b
to
2818db3
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how this sample is demonstrating anything Zephyr related. It's just a demonstration of Cypress HAL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, But this application is required to be able to run zephyr apps on the cm7 cores
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then you can put this code in soc_m7.c
file in soc/infineon/...
, similar to https://github.com/zephyrproject-rtos/zephyr/blob/cf6170cbe605c3876ea73451b589fa59855ba12a/soc/st/stm32/stm32h7x/soc_m7.c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically what @JarmouniA said :) Please consider closing this PR if this sounds like an acceptable solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that this application is expected to run on the M0 core to enable the M7 cores. Doing the M7 enabling from the soc_m0p.c would mean that the M7 core would be enabled before or during the driver initializations on the M0 core. It does not give the M0 applications the control/flexibility to enable M7 at a later point in time (for additional configuration or application logic related reasons). Providing a standalone application would provide that flexibility. Please let me know your thoughts.