Forum Discussion
Altera_Forum
Honored Contributor
16 years agoYou can have only one of those two lines. If you use the pointer with the address, you would have to program the values in the flash separately instead of defining the initial values in your code.
You may be able to fix both the values and the addresses by using a custom linker script but it's not the easiest thing to do...