-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
tfm: Add zephyr native ns_interface and logging function #33553
tfm: Add zephyr native ns_interface and logging function #33553
Conversation
To allow using TFM NS interface without enabling CMSIS_RTOS support. And to allow using TFM ns code that uses logging. Signed-off-by: Øyvind Rønningstad <[email protected]>
zephyr_sources( | ||
${ZEPHYR_BASE}/modules/trusted-firmware-m/src/zephyr_tfm_ns_interface.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.
Why is this a zephyr_sources
?
Does it really belong in the zephyr
lib.
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.
It is part of the nonsecure image, to help interfacing with tfm.
Merged as part of #33510. |
Seems that nullified my comment 😆 |
I think this source is part of zephyr lib, @tejlmand. But I guess @oyvindronningstad could still answer, regardless of the change being already merged. :) |
I just wanted to stop/redirect more comments on this. I will answer your question @tejlmand. It's probably "that's what worked after a couple of hours struggling a to get cmake to give me my symbols" 🙃 |
I took a second look. Actually, you don't know which library the file will end up in. At first glance, this looks reasonable, as it will be added to the currently defined library (usually not zephyr/modules/trusted-firmware-m/CMakeLists.txt Lines 208 to 210 in fed0352
until one realizes there is NO When adding sources to
Sound like a bad approach. |
To allow using TFM NS interface without enabling CMSIS_RTOS support.
And to allow using TFM ns code that uses logging.
Signed-off-by: Øyvind Rønningstad [email protected]