Mercurial > louis > kiibohd-controller
diff Lib/mk20dx.h @ 333:772f9bea482b
Adding 72 MHz clock support for mk20dx256vlh7
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 20 Apr 2015 00:55:58 -0700 |
parents | 9e31d92caf12 |
children | 66eccdd9ced5 |
line wrap: on
line diff
--- a/Lib/mk20dx.h Sat Apr 18 11:24:15 2015 -0700 +++ b/Lib/mk20dx.h Mon Apr 20 00:55:58 2015 -0700 @@ -35,14 +35,17 @@ // ----- Defines ----- #if (F_CPU == 96000000) - #define F_BUS 48000000 - #define F_MEM 24000000 + #define F_BUS 48000000 + #define F_MEM 24000000 +#elif (F_CPU == 72000000) + #define F_BUS 36000000 + #define F_MEM 24000000 #elif (F_CPU == 48000000) - #define F_BUS 48000000 - #define F_MEM 24000000 + #define F_BUS 48000000 + #define F_MEM 24000000 #elif (F_CPU == 24000000) - #define F_BUS 24000000 - #define F_MEM 24000000 + #define F_BUS 24000000 + #define F_MEM 24000000 #endif