From 05e8b1b53fbe76ffc3349b33d64c46b6f206c391 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 15 May 2020 09:14:31 +0200 Subject: [PATCH] Change to 16 MHz crystal --- ds3231/clock.h | 2 +- ds3231/ds3231.cppproj | 26 ++++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/ds3231/clock.h b/ds3231/clock.h index a04b5ea..5bc10bc 100644 --- a/ds3231/clock.h +++ b/ds3231/clock.h @@ -7,7 +7,7 @@ #ifndef CLOCK_H #define CLOCK_H -#define F_CPU 8000000 +#define F_CPU 16'000'000 #include diff --git a/ds3231/ds3231.cppproj b/ds3231/ds3231.cppproj index 001f62c..edcd066 100644 --- a/ds3231/ds3231.cppproj +++ b/ds3231/ds3231.cppproj @@ -38,8 +38,8 @@ - com.atmel.avrdbg.tool.stk500 - + com.atmel.avrdbg.tool.atmelice + J41800099437 0x1E950F @@ -83,8 +83,30 @@ 125000 + + \Debug\ds3231.lss + + + .lss + ^\s*(?<address>[a-f0-9]*):\s*.*$ + true + address + $pc + + + + + + 125000 + + ISP + + com.atmel.avrdbg.tool.atmelice + J41800099437 + Atmel-ICE +