• Compiler error when declaring array using constant
    The following code generates a this error when compiled: C51 COMPILER V6.02 - SN: XXXXX-XXXXX COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 1999 *** ERROR C221 IN LINE 7 OF QUEUE_I.H: non-constant case/dim...
  • Modifying the value of variable declared as constant
    Hi, I have declared the constant array for storing the data since I am having a limited RAM in lpc2214 now I want to put in the value in this array how it is possible in Keil UV3 for ARM. I have tried...
  • same constant in assembler and C
    I have a product where most is in C, but for speed reasons abt 2% is in assembler. A few constants are thus defined in 2 places <constants.h> #define VALUE 5 <constants.inc> $define VALUE 5 ...
  • same constant in assembler and C
    I have a product where most is in C, but for speed reasons abt 2% is in assembler. A few constants are thus defined in 2 places <constants.h> #define VALUE 5 <constants.inc> VALUE EQU 5 This...
  • Declaring a constant structure in flash memory without initialization
    Hello everyone! I am using Keil uVision 5.28 with Compiler V6.12. How to declare a constant structure in flash memory so that it is not initialized by programmer / debugger and functions from scatterloader...