com2wi2: test with two interfaces.

This commit is contained in:
Martin Preuss
2025-09-08 23:34:38 +02:00
parent d7e4ee4cca
commit a81acf7b19
4 changed files with 135 additions and 18 deletions

View File

@@ -133,9 +133,16 @@
.equ COM_MASK_IRQ7 = (1<<PCINT7)
#else
.equ COM_PORTS = 2
.equ COM_MASK_CLK0 = (1<<PINA6)
.equ COM_MASK_DATA0 = (1<<PINC6)
.equ COM_MASK_IRQ0 = (1<<PCINT6)
.equ COM_MASK_CLK1 = (1<<PINA5)
.equ COM_MASK_DATA1 = (1<<PINC5)
.equ COM_MASK_IRQ1 = (1<<PCINT5)
#endif

View File

@@ -43,7 +43,7 @@
; firmware settings including list of modules used
;#define MAIN_WITHOUT_MSG_HANDLING ; message handling done here
;#define APP_STATS_NETDEV2
#define APP_STATS_NETDEV2
#define COM_ACCEPT_ALL_DEST ; accept all messages!
; #define MODULES_TIMER
@@ -240,8 +240,8 @@ onEveryLoop:
;.equ netInterfaceData = netUartIface
;.equ netInterfaceData = uart_bitbang_iface
.equ netInterfaceData = com2wi0_iface
;.equ netInterfaceData2 = com2w5_iface
.equ netInterfaceData = com2wi0_iface
.equ netInterfaceData2 = com2wi1_iface