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

error 65

Hello,
I have this code

#include <LPC214x.h>
#include "ARM_Eprom.h"
#include "ARM_IAP.h"
#define IAP_LOCATION 0x7ffffff1

const unsigned char eeprom[EE_SIZE] __at EE_ADDR_L;

when i compile this, I have an error
Src\ARM_Eprom.c(22): error: #65: expected a ";"

where goes this ";" ? if this is the problem..

Parents
  • "....Do you have any other errors or warning before this one? If you do, fix them first?"

    No i not ave any error and my line of code are seguent:

    #include <LPC214x.h>
    #include "ARM_Eprom.h"
    #include "ARM_IAP.h"

    #define IAP_LOCATION 0x7ffffff1

    const unsigned char eeprom[EE_SIZE] __at EE_ADDR_L ;

    ... function declaration...

    and the error is segnalated at line const unsigned char eeprom[EE_SIZE].....

Reply
  • "....Do you have any other errors or warning before this one? If you do, fix them first?"

    No i not ave any error and my line of code are seguent:

    #include <LPC214x.h>
    #include "ARM_Eprom.h"
    #include "ARM_IAP.h"

    #define IAP_LOCATION 0x7ffffff1

    const unsigned char eeprom[EE_SIZE] __at EE_ADDR_L ;

    ... function declaration...

    and the error is segnalated at line const unsigned char eeprom[EE_SIZE].....

Children