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