diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-08 17:47:58 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-08 17:47:58 +0100 |
commit | 602d0d803eb9607dcd949f3ea5ff27c14db4085b (patch) | |
tree | d48d217a9a596a757a7e5fc6b4ee46a33dc7ab04 /code/esp32/components/eos/include | |
parent | 078898fb69ec692e8a051746f423ad3171ff4d7c (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')
-rw-r--r-- | code/esp32/components/eos/include/eos.h | 17 | ||||
-rw-r--r-- | code/esp32/components/eos/include/net.h | 4 |
2 files changed, 14 insertions, 7 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 diff --git a/code/esp32/components/eos/include/net.h b/code/esp32/components/eos/include/net.h index d6f3f34..abf2893 100644 --- a/code/esp32/components/eos/include/net.h +++ b/code/esp32/components/eos/include/net.h @@ -13,8 +13,8 @@ #define EOS_NET_MTYPE_FLAG_ONEW 0x10 #define EOS_NET_SIZE_BUF 1500 -#define EOS_NET_SIZE_BUFQ 8 -#define EOS_NET_SIZE_SNDQ 16 +#define EOS_NET_SIZE_BUFQ 4 +#define EOS_NET_SIZE_SNDQ 4 #define EOS_NET_FLAG_BFREE 0x1 #define EOS_NET_FLAG_BCOPY 0x2 |