diff options
author | fishsoupisgood <github@madingley.org> | 2019-02-20 02:39:38 +0000 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-02-20 02:39:38 +0000 |
commit | c93861c733ced9c6659241cea69c7feed56afcce (patch) | |
tree | edcef2f980ae99f8ff8746c585eaf611c940e9ef /app/project.h | |
parent | 971cc458aea21832a20b1b087185659d8e9ec2b3 (diff) | |
download | clock-c93861c733ced9c6659241cea69c7feed56afcce.tar.gz clock-c93861c733ced9c6659241cea69c7feed56afcce.tar.bz2 clock-c93861c733ced9c6659241cea69c7feed56afcce.zip |
use OCXO, and auto fail-over between different clock sources
Diffstat (limited to 'app/project.h')
-rw-r--r-- | app/project.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/project.h b/app/project.h index f3a49f1..fa8d5b2 100644 --- a/app/project.h +++ b/app/project.h @@ -9,6 +9,7 @@ #include <libopencm3/stm32/gpio.h> #include <libopencm3/stm32/usart.h> #include <libopencm3/stm32/dma.h> +#include <libopencm3/stm32/flash.h> #include <libopencm3/stm32/i2c.h> #include <libopencm3/stm32/spi.h> #include <libopencm3/stm32/adc.h> @@ -41,10 +42,10 @@ #include "prototypes.h" -//#define HZ 168000000 +#define HZ 168000000 //#define HZ 167968615 //#define HZ 165925490 -#define HZ 167996682 +//#define HZ 167996682 #define TRACE do { stdio_drain(); printf("%s:%d\r\n",__FUNCTION__,__LINE__); } while (0) |