Skip to content
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

What is attribute init and uninit used in element device/board memory #322

Open
ReinhardKeil opened this issue Aug 26, 2024 · 1 comment
Labels
In Discussion Discussion for this issue is open and ongoing

Comments

@ReinhardKeil
Copy link
Collaborator

What is attribute init and uninit used in element device/board memory:
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_family_pg.html#element_memory

Today's link scripts handle init/uninit independent from this attribute. It appears that the usage is historic and no longer relevant.
See Open-CMSIS-Pack/devtools#1718

@ReinhardKeil ReinhardKeil added the In Discussion Discussion for this issue is open and ongoing label Aug 26, 2024
@jkrech
Copy link
Member

jkrech commented Aug 27, 2024

In uVision' Options for target dialog the target tab's memory is populated by the memory elements from the device. RW Memories have a check-box "NoInit". If a linker script is automatically generated from this data the "NoInit" results in the use of UNINIT for this memory region.

  RW_RAM1 0x2007C000 UNINIT 0x00000800  {  ; RW data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Discussion Discussion for this issue is open and ongoing
Projects
None yet
Development

No branches or pull requests

2 participants