From 5026a7b753bb71830a7e531f178c7a8ea4618566 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 17 May 2025 14:23:10 +0200 Subject: [PATCH] c01: use modules CLOCK and XRAM. --- avr/devices/c01/main/main.asm | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/avr/devices/c01/main/main.asm b/avr/devices/c01/main/main.asm index 494296f..7f11e37 100644 --- a/avr/devices/c01/main/main.asm +++ b/avr/devices/c01/main/main.asm @@ -7,20 +7,6 @@ ; * Please see toplevel file COPYING of that project for license details. * ; *************************************************************************** - - - -; *************************************************************************** -; Source file for temperature sensor node on AtTiny 84 -; -; This is for the full system (i.e. not the boot loader). -; -; All definitions and changes should go into this file. -; -; -; *************************************************************************** - - ;.equ clock=1000000 ; Define the clock frequency .equ clock=8000000 ; Define the clock frequency @@ -45,11 +31,9 @@ ; --------------------------------------------------------------------------- ; generic -.equ NET_BUFFERS_NUM = 6 -.equ NET_BUFFERS_SIZE = 32 +.equ NET_BUFFERS_NUM = 6 +.equ NET_BUFFERS_SIZE = 32 -.equ PROGRAM_SENSOR_INTERVAL_SECS = 60 -.equ PROGRAM_STATS_INTERVAL_MINS = 10 @@ -62,7 +46,8 @@ ; #define MODULES_TIMER -;#define MODULES_CLOCK +#define MODULES_CLOCK +#define MODULES_XRAM #define MODULES_LED_SIMPLE #define MODULES_NETWORK #define MODULES_COMONUART0