avr: fixed definitions to use updated LED module.

This commit is contained in:
Martin Preuss
2026-05-04 14:35:55 +02:00
parent 67d5d1687d
commit 44bb477680
50 changed files with 213 additions and 233 deletions

View File

@@ -21,8 +21,6 @@
.include "common/calls.asm"
.include "common/utils_io.asm"
.include "common/utils_wait.asm"
.include "modules/com2/defs.asm"
.include "modules/comproto/defs.asm"

View File

@@ -35,12 +35,13 @@
; ---------------------------------------------------------------------------
; LED module
.equ LED_SIMPLE_ONTIME = 3
.equ LED_SIMPLE_OFFTIME = 30
.equ LED_SIMPLE_DDR = DDRB
.equ LED_SIMPLE_PORT = PORTB
.equ LED_SIMPLE_PORTIN = PINB
.equ LED_SIMPLE_PINNUM = PORTB4
.equ LED1_DEFAULT_ONTIME = 1 ; shorter
.equ LED1_DEFAULT_OFFTIME = 99 ; longer
.equ LED1_DEFAULT_REPEATS = 0 ; continous
.equ LED1_DDR = DDRB
.equ LED1_PORT = PORTB
.equ LED1_PORTIN = PINB
.equ LED1_PINNUM = PORTB4

View File

@@ -51,7 +51,7 @@
; firmware settings including list of modules used
#define MODULES_CLOCK
#define MODULES_LED_SIMPLE
#define MODULES_LED1
#define MODULES_NETWORK
#define MODULES_COM2W
#define MODULES_OWI_MASTER