• Program size error before optimizations
    Hello! I am having trouble to get an executable less than 16kB, and need some help. The program must start at 0x3C000 and have a size of less than 16kB. I can compile without error if I make...
  • Placing size of array at start of array
    Hi all, I am working with the TI TUSB3200, trying to modify their example code for our own USB device. USB requires many tables which start with a length byte. I would like to use the sizeof operator...
  • Finding a complex structure size
    I have tried variations using sizeof() with unreliable results. This method works, but is it bogus? Can it be improved? I am not worried about it being portable. // -- Unit Variables -- struct {...
  • 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...