You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing the DTS soc file, I was considering using SOC symbols instead of raw addresses and irqs to avoid mistakes and misalignment with soc generated headers.
For my platform as for many, the soc headers are provided by the design team, generated and shared with customers and other platforms; so they are the reference (entry point) used across all the platform code.
During an internal code review, I got a comment saying that it's not Zephyr's way and should not be used. Our plan would be to share our port so I'm wondering if this could be up streamed or if we will have to change to the raw addresses declaration...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm working on a new SOC port on Zephyr.
When writing the DTS soc file, I was considering using SOC symbols instead of raw addresses and irqs to avoid mistakes and misalignment with soc generated headers.
For my platform as for many, the soc headers are provided by the design team, generated and shared with customers and other platforms; so they are the reference (entry point) used across all the platform code.
During an internal code review, I got a comment saying that it's not Zephyr's way and should not be used. Our plan would be to share our port so I'm wondering if this could be up streamed or if we will have to change to the raw addresses declaration...
For example, with the following soc header:
Then, I would replace:
with:
using the soc generated symbols...
Beta Was this translation helpful? Give feedback.
All reactions