• 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...
  • 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...
  • 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? ...
  • 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...