added current monitoring to pcb, many code fixes for the protocol / feed control logic, completely reworked diagnostic tool

This commit is contained in:
janik
2026-03-30 17:46:52 +07:00
parent 33426570bb
commit a69055b0d4
119 changed files with 31311 additions and 26899 deletions

View File

@@ -60,6 +60,7 @@ extern TIM_HandleTypeDef htim16;
extern TIM_HandleTypeDef htim17;
extern DMA_HandleTypeDef hdma_usart2_rx;
extern DMA_HandleTypeDef hdma_usart2_tx;
extern UART_HandleTypeDef huart2;
/* USER CODE BEGIN EV */
/* USER CODE END EV */
@@ -229,6 +230,20 @@ void TIM17_IRQHandler(void)
/* USER CODE END TIM17_IRQn 1 */
}
/**
* @brief This function handles USART2 interrupt.
*/
void USART2_IRQHandler(void)
{
/* USER CODE BEGIN USART2_IRQn 0 */
/* USER CODE END USART2_IRQn 0 */
HAL_UART_IRQHandler(&huart2);
/* USER CODE BEGIN USART2_IRQn 1 */
/* USER CODE END USART2_IRQn 1 */
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */