HAL_UART_Transmit_DMA(), only works with inline defined string and fails with globaly defined array
why does this work:
HAL_UART_Transmit_DMA(&huart6, (uint8_t *)"stm32\n", 6); // works and sends data
and this doesnt:
ALIGN_32BYTES (uint8_t aTxBuffer[]) = "stm32\n";
HAL_UART_Transmit_DMA(&huart6, (uint8_t *)aTxBuffer, 6) // doesnt send any data
what am i missing?
