avr: switched most devices to com2w interface now.

This commit is contained in:
Martin Preuss
2025-08-18 18:47:13 +02:00
parent f9d721ac02
commit 102996f69f
23 changed files with 113 additions and 110 deletions

View File

@@ -47,10 +47,12 @@
; ---------------------------------------------------------------------------
; generic
.equ NET_BUFFERS_NUM = 6
.equ NET_BUFFERS_NUM = 6
.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)
.equ PROGRAM_SENSOR_INTERVAL_SECS = 60
.equ PROGRAM_STATS_INTERVAL_MINS = 10
.equ PROGRAM_STATS_INTERVAL_MINS = 10
@@ -124,7 +126,6 @@
; rjmp main ; Reset vector
rjmp BOOTLOADER_ADDR ; Reset vector ; use this for flashed system
reti ; EXT_INT0
; rjmp UART_BitBang_PcintIsr ; PCI0
rjmp com2wPcintIsr ; PCI0
reti ; PCI1
reti ; WATCHDOG
@@ -220,7 +221,6 @@ onEveryLoop:
; ---------------------------------------------------------------------------
; defines for network interface
;.equ netInterfaceData = uart_bitbang_iface
.equ netInterfaceData = com2w_iface