avr: guard with precompiler directives.

This commit is contained in:
Martin Preuss
2026-04-26 12:47:50 +02:00
parent 240624c727
commit 74e471ef28
25 changed files with 160 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
; ***************************************************************************
; copyright : (C) 2025 by Martin Preuss
; copyright : (C) 2026 by Martin Preuss
; email : martin@libchipcard.de
;
; ***************************************************************************
@@ -7,14 +7,14 @@
; * Please see toplevel file COPYING of that project for license details. *
; ***************************************************************************
#ifndef AQH_AVR_NETWORK_DEFS_ASM
#define AQH_AVR_NETWORK_DEFS_ASM
; defs
.equ NET_BUFFERS_SIZE = 28 ; CAVE: need to adapt routine NET_Buffer_Locate when changing this value!!
;.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 NET_BUFFERS_SIZE = 28 ; CAVEAT: need to adapt routine NET_Buffer_Locate when changing this value!!
.equ NET_IFACE_BUFFER_INUSE_BIT3 = 7
.equ NET_IFACE_BUFFER_INUSE_BIT2 = 6
@@ -64,4 +64,5 @@
#endif