summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/include/eos.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-12-08 17:47:58 +0100
committerUros Majstorovic <majstor@majstor.org>2019-12-08 17:47:58 +0100
commit602d0d803eb9607dcd949f3ea5ff27c14db4085b (patch)
treed48d217a9a596a757a7e5fc6b4ee46a33dc7ab04 /code/esp32/components/eos/include/eos.h
parent078898fb69ec692e8a051746f423ad3171ff4d7c (diff)
fixed uart data relay bug; fixed all xCreateTask to use new macros for stack size; fixed err type for msgq;
Diffstat (limited to 'code/esp32/components/eos/include/eos.h')
-rw-r--r--code/esp32/components/eos/include/eos.h17
1 files changed, 12 insertions, 5 deletions
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