• placing arrays in code
    what to place arrays of text in code without occupuing ram, in pascal (old days) we wrote pre text :array[1..5] of array[1..36] of string[16]= (' ', /pre if I use this in keil it uses ram ! ...
  • Auto calculation of array size
    Dear all, For some reason, I need to declare an array like that #define STRING2_DESCRIPTOR_LENGTH 16 BYTE code product_string_descriptor[] = { STRING2_DESCRIPTOR_LENGTH, 0x03, 'U', 0x00, 'S...
  • C163 - unknown array size
    Hi, why do I get this c163, if I try to compile following sequence? Shouldn't be a problem for a c-compiler to determine the array-size. code const char code *EinstellMenue[][] = {{ " Einstellungen...
  • dynamic array size calculation
    config.h: ========= #define STRING 0x03 #define USB_MANUFACTURER_NAME {'T'<<8, 'E'<<8, 'S'<<8, 'T'<<8, '1'<<8} #define USB_MN_LENGTH 5 // (sizeof(USB_MANUFACTURER_NAME) >> 1) usb_enum.h: ======= struct...
  • Placing array tables in ARM flash?
    I have some Const array tables that i want place in the flash/code memory of ARM controller. we can place array in code memory of C51 using "code" keyword. but how to place const array in ARM?