@@ -13,6 +13,17 @@
#include "portgw.h"
#include "tinystdio.h"
#include "usart.h"
+#ifdef PRINTF_STDLIB
+#include <stdio.h>
+#endif
+#ifdef PRINTF_CUSTOM
+#include "tinystdio.h"
+
+#include <string.h>
+#ifdef PORTGW_ENABLE
#define PORTGW_PORT_NUM 1001
#define PORTGW_DATA_CHUNK_SIZE 512
@@ -630,3 +641,5 @@ void portgw_init(void)
xTaskCreate(portgw_thread, ( char * ) "portgw_thr", configMINIMAL_STACK_SIZE * 2,
NULL, tskIDLE_PRIORITY, NULL);
}
@@ -8,7 +8,10 @@
#ifndef PORTGW_H_
#define PORTGW_H_
void portgw_init(void);
#endif /* PORTGW_H_ */