2024-05-10 05:47:39 +00:00
|
|
|
#ifndef RETARGET_H
|
|
|
|
#define RETARGET_H
|
|
|
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-05-20 13:53:19 +00:00
|
|
|
|
|
|
|
#ifdef HAL
|
2024-05-10 05:47:39 +00:00
|
|
|
void RetargetInit(UART_HandleTypeDef *huart);
|
|
|
|
|
|
|
|
int _write(int fd, char *ptr, int len);
|
|
|
|
|
|
|
|
int _read(int fd, char *ptr, int len);
|
2024-05-20 13:53:19 +00:00
|
|
|
#endif
|
2024-05-10 05:47:39 +00:00
|
|
|
#endif //#ifndef RETARGET_H
|