On my program for the LPC2129 using the RealView toolchain, For this line of code: unsigned int StandardFilter[2] _at_ 0xE0038000;
I get the following error: CAN_RX.C(31): error: #65: expected a ";"
Now i understand from http://www.keil.com/forum/docs/thread8677.asp that this can be removed by including the absacc.h but i am NOT able to find the header in C:\Keil\ARM\RV30\INC Where can i get this header?
with the risk of invoking the fury of others here, I ask you again, as is often done on this forum: as a user of a tool-chain, why don't you bother to read its documentation if you need to know something?
here is an excerpt from the linker and utilities guide, page 158 of revision 3.1 of the document:
Placing a key in flash memory Some flash devices require a key to be written to an address to activate certain features. An __at section provides a simple method of writing a value to a specific address. Assuming a device has flash memory from 0x8000 to 0x10000 and a key is required in address 0x9000. To do this with an __at section, you must define a section .ARM.__at_0x9000 that contains the value of the key. For example: int key __attribute__((__at(0x9000))) = 10; ...
Well?