diff options
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  | 
