• 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...
  • help calculating code size
    I get a message: Error: L6407E: Sections of aggregate size 0x1a968 bytes could not fit into .ANY selector(s). My stm32f has 4 selectors of 16 and one 64. Sector 0 is used for an emulated eeprom....
  • Program size calculation
    Hello all, I am a little confused: The generated HEX file size of my program is double the size of the sum of all program conponents as they appear in the generated memory map. How can this be? ...
  • Calculation of stack sizes...
    Hallo I wonder if there are any good methodes of calculating the stack size for ex user or IRQ stack size? Is there any "best practice"? Or is it just add up the size of data structures and/ot...
  • 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...