diff --git a/avr/devices/r05/main/main.asm b/avr/devices/r05/main/main.asm index 8a48ebe..01ec7f5 100644 --- a/avr/devices/r05/main/main.asm +++ b/avr/devices/r05/main/main.asm @@ -48,6 +48,8 @@ ; --------------------------------------------------------------------------- ; generic +.equ NET_MSGNUMINBUF_SIZE = 8 ; max buffer nums in ringbuffer (global incoming) +.equ NET_IFACE_OUTMSGBUF_SIZE = 8 ; max buffer nums in ringbuffer (per interface outbound) ; --------------------------------------------------------------------------- @@ -56,6 +58,7 @@ #define MAIN_WITHOUT_MSG_HANDLING ; message handling in AppRouter! #define APP_STATS_NETDEV2 ; send stats for 2nd device +#define COM_ACCEPT_ALL_DEST ; accept all messages! #define MODULES_CLOCK #define MODULES_LED_SIMPLE diff --git a/avr/devices/r05/test/main.asm b/avr/devices/r05/test/main.asm index 6abe2ca..3a090fc 100644 --- a/avr/devices/r05/test/main.asm +++ b/avr/devices/r05/test/main.asm @@ -50,6 +50,9 @@ .equ COMONUART0_IFACENUM = 1 .equ COMONUART1_IFACENUM = 2 +.equ NET_MSGNUMINBUF_SIZE = 8 ; max buffer nums in ringbuffer (global incoming) +.equ NET_IFACE_OUTMSGBUF_SIZE = 8 ; max buffer nums in ringbuffer (per interface outbound) + ; --------------------------------------------------------------------------- ; firmware settings including list of modules used @@ -57,6 +60,7 @@ ;#define MAIN_WITHOUT_MSG_HANDLING ; we do message handling ourselfes ;#define APP_STATS_NETDEV2 +#define COM_ACCEPT_ALL_DEST ; accept all messages! #define MODULES_CLOCK ;#define MODULES_COM