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

@@ -74,6 +74,11 @@
.equ COM_LED_PIN = PORTB0
.equ COM_IRQ_ADDR_M_CLK = GIMSK
.equ COM_IRQ_BIT_M_CLK = PCIE0
.equ COM_IRQ_ADDR_F_CLK = GIFR
.equ COM_IRQ_BIT_F_CLK = PCIE0
.equ COM_PORTS = 2
.equ COM_MASK_CLK0 = (1<<PINA0)

View File

@@ -47,7 +47,9 @@
; ---------------------------------------------------------------------------
; 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 COM2WN_IO_RINGBUFFER_SIZE = 128
.equ PROGRAM_SENSOR_INTERVAL_SECS = 60