• 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...
  • Why are dynamically-sized arrays implemented as malloc()?
    I'm working on a project that should not use a Heap. In the process of revising my code for this, I've discovered that dynamically-sized arrays, e.g. uint8_t my_array[MIN(input_size, MAX_SIZE)]; are...
  • RTX5 dynamic thread stack size
    Hi, Is possible to let RTX5 to automatically increase the memory stack of some thread to avoid stack overflow? I thought the "global dynamic memory size" in "system configuracion" was for this...
  • 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? ...