summaryrefslogtreecommitdiff
path: root/n/avr/modules/proto/test/avrconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/modules/proto/test/avrconfig.h')
-rw-r--r--n/avr/modules/proto/test/avrconfig.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/n/avr/modules/proto/test/avrconfig.h b/n/avr/modules/proto/test/avrconfig.h
index 08d7418..20cdbfb 100644
--- a/n/avr/modules/proto/test/avrconfig.h
+++ b/n/avr/modules/proto/test/avrconfig.h
@@ -56,6 +56,10 @@
* - DROP: drop the new byte.
* - WAIT: wait until there is room in the send buffer. */
#define AC_UART0_SEND_BUFFER_FULL WAIT
+/** In HOST compilation:
+ * - STDIO: use stdin/out.
+ * - PTS: use pseudo terminal. */
+#define AC_UART0_HOST_DRIVER PTS
/** Same thing for secondary port. */
#define AC_UART1_PORT -1
#define AC_UART1_BAUDRATE 115200
@@ -66,7 +70,7 @@
#define AC_UART1_STOP_BITS 1
#define AC_UART1_SEND_BUFFER_SIZE 32
#define AC_UART1_RECV_BUFFER_SIZE 32
-#define AC_UART0_SEND_BUFFER_FULL WAIT
+#define AC_UART1_SEND_BUFFER_FULL WAIT
/* proto - Protocol module. */
/** Maximum argument size. */