|
|
How do I put a constant at a specific address using ICCAVR? |
| If the address is within the first 64K bytes of the address space, then you can use the "abs_address" pragma, e.g.
#pragma abs_address:0x1000
#pragma lit:my_lit
and then under Project->Options->Target->"Other Options," add
-bmy_lit:0x???? Note that the "#pragma lit:..." only works on V6.30D or beyond. | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||