This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

intialization of variables

i want to know hw can i intialize the variables placed at specific memory location using the _at keyword. The memory region is NOINIT enabled.. whenever i try to intialize these varibles i got the error
error:expected a ;
i m using the keil microvision3 with RV compiler...
plzzz help..if anybody hv any solution or any idea..

thanx........

Parents
  • thanx 4 the link..its really useful.....
    bt the prblm is that the variables that i want to intialize are in NOINIT area.. so whenever i intialize them i got the linker error..is there any way possible to intialize NOINIT area variables....as i cant chng the NOINIT option....????

Reply
  • thanx 4 the link..its really useful.....
    bt the prblm is that the variables that i want to intialize are in NOINIT area.. so whenever i intialize them i got the linker error..is there any way possible to intialize NOINIT area variables....as i cant chng the NOINIT option....????

Children