a very simple shell framework

simple, clear, easy to DIY
This commit is contained in:
daishengdong
2020-01-08 13:54:56 +08:00
parent dea65a2d66
commit 72481955e2
66 changed files with 12408 additions and 240 deletions

View File

@@ -257,7 +257,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
extern uint8_t data;
if (huart->Instance == USART2) {
HAL_UART_Receive_IT(&huart2, &data, 1);
tos_at_uart_write_byte(data);
tos_at_uart_input_byte(data);
}
}
/* USER CODE END 1 */