From 602d0d803eb9607dcd949f3ea5ff27c14db4085b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 8 Dec 2019 17:47:58 +0100 Subject: fixed uart data relay bug; fixed all xCreateTask to use new macros for stack size; fixed err type for msgq; --- code/esp32/components/eos/include/eos.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'code/esp32/components/eos/include/eos.h') diff --git a/code/esp32/components/eos/include/eos.h b/code/esp32/components/eos/include/eos.h index a21985a..e9a67d4 100644 --- a/code/esp32/components/eos/include/eos.h +++ b/code/esp32/components/eos/include/eos.h @@ -1,9 +1,16 @@ #define EOS_OK 0 #define EOS_ERR -1 -#define EOS_ERR_Q_FULL -10 +#define EOS_ERR_FULL -10 +#define EOS_ERR_EMPTY -11 + +#define EOS_TASK_PRIORITY_UART 1 +#define EOS_TASK_PRIORITY_I2S 1 +#define EOS_TASK_PRIORITY_NET_XCHG 1 +#define EOS_TASK_PRIORITY_UDP_RCVR 1 + +#define EOS_TASK_SSIZE_UART 4096 +#define EOS_TASK_SSIZE_I2S 4096 +#define EOS_TASK_SSIZE_NET_XCHG 4096 +#define EOS_TASK_SSIZE_UDP_RCVR 4096 -#define EOS_IRQ_PRIORITY_UART 1 -#define EOS_IRQ_PRIORITY_I2S 1 -#define EOS_IRQ_PRIORITY_NET_XCHG 1 -#define EOS_IRQ_PRIORITY_UDP_RCVR 1 -- cgit v1.2.3