mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-12-25 23:49:27 -05:00
Buffer sizes
This commit is contained in:
parent
c5dad05775
commit
c95547b910
10
device.h
10
device.h
@ -26,8 +26,14 @@
|
|||||||
// Serial settings
|
// Serial settings
|
||||||
#define SERIAL_DEBUG false
|
#define SERIAL_DEBUG false
|
||||||
#define TX_MAXWAIT 2UL
|
#define TX_MAXWAIT 2UL
|
||||||
#define CONFIG_QUEUE_SIZE 5760
|
|
||||||
#define CONFIG_QUEUE_MAX_LENGTH 32
|
// Queue settings. Don't be fooled by free
|
||||||
|
// memory indications while compiling! With
|
||||||
|
// dynamic allocations by SD, exFAT and AES,
|
||||||
|
// these are more or less the hard limit in
|
||||||
|
// the current configuration.
|
||||||
|
#define CONFIG_QUEUE_SIZE 5000
|
||||||
|
#define CONFIG_QUEUE_MAX_LENGTH 15
|
||||||
#define CONFIG_UART0_BUFFER_SIZE 1536
|
#define CONFIG_UART0_BUFFER_SIZE 1536
|
||||||
#define CONFIG_UART1_BUFFER_SIZE 128
|
#define CONFIG_UART1_BUFFER_SIZE 128
|
||||||
#define CONFIG_SERIAL_TIMEOUT_MS 10
|
#define CONFIG_SERIAL_TIMEOUT_MS 10
|
||||||
|
Loading…
Reference in New Issue
Block a user