• Error: #40: expected an identifier
    Dear All, I am compiling following code. __asm{ STMDB R0!, {LR} }; __asm{ MOV LR, R0 }; __asm{ LDMIA SP!, {R0} }; . . . But compiler is giving me following errors for each of above line...
  • error C202 undefined identifier
    Hi, I defined, Uint16 TCounts[10]; in globals.h and tried to use it in cc01drv.c where #include "globals.h" is there. but during build the error msg coming up is, "C202 undefined identifier...
  • compilation error of identifiers is undefined
    the uVision complained that: stm32f0xx_i2c_cpal_hal.c(121): error: #20: identifier "I2C2_IRQn" is undefined, however, this is defined in the "stm32f0xx.h" and the header file stm32f0xx_i2c_cpal_hal.h...
  • Error: #40: expected an identifier
    Hi, My code: #ifndef __LPC_TYPES_H #define __LPC_TYPES_H #include <stdint.h> (49) typedef enum {FALSE = 0, TRUE = !FALSE} Bool; typedef enum {RESET = 0, SET = !RESET} FlagStatus,...
  • error #40 : expected an identifier
    Hello, I am compiling the code for UART communication in TM4C123GH6P and it gives me an unexpected error for the line __I uint32_t CR; /* GPIO Commit*/ in the header file TM4C123GH6PM.h ...