• Calculating the Stack Space and the code size
    1) Is there any method of determining whether the stack space allocated is enough for the program execution. 2) Is there any feature in UVision 2 to determing the code size generated by the hex file...
  • 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? ...
  • 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...
  • 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...