mongoose/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/syscalls.c
2023-04-11 17:46:28 -03:00

11 lines
201 B
C

#include <stdlib.h>
#include <string.h>
#include "main.h"
int stdout_putchar (int ch) {
extern UART_HandleTypeDef huart3;
HAL_UART_Transmit(&huart3, (const uint8_t *)&ch, 1, 100);
return ch;
}