*\r
* Copyright (c) 2009-2014 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmpsystem.h,v 1.13 2014/07/21 08:58:58 fm Exp $\r
+ * $Id: irmpsystem.h,v 1.14 2014/09/15 10:27:38 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
# include <stm32f10x.h>\r
# define ARM_STM32\r
# define ARM_STM32F10X\r
+# define F_CPU (SysCtlClockGet())\r
#elif defined(STM32F4XX) // ARM STM32\r
# include <stm32f4xx.h>\r
# define ARM_STM32\r
# define PROGMEM volatile\r
# define memcpy_P memcpy\r
# define APP_SYSTICKS_PER_SEC 32\r
+#elif defined(ARM_STM32F10X)\r
+# include "stm32f10x_gpio.h"\r
+# include "stm32f10x_rcc.h"\r
+# include "stm32f10x_tim.h"\r
+# include "misc.h"\r
+# define PROGMEM\r
+# define memcpy_P memcpy\r
#else\r
# define PROGMEM\r
# define memcpy_P memcpy\r