>
> Okay I tried your advise. As you said it was the compiler not the driver
> who zero-initializied the RAM.
>
I had to declar my section to NOLOAD in the linkerfile which had the same
effect as .noinit.
And in the c-programm I had to work with the __attribute__ command.
C-Programm:
volatile uint32_t shared_mem_array[1024]
__arttribute__((section“.my_pru_sec“)))
Linkerfile:
SECTIONS{
…
.my_pru_sec(NOLOAD) > PRU_SHAREDMEM,PAGE2
...
}
This link helped me with this problem:
https://mcuoneclipse.com/2014/04/19/gnu-linker-can-you-not-initialize-my-variable/
Thanks for your help
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/443b4f08-ed28-4b27-b119-3fe974845e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.