git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4041
38d2e660-2303-0410-9eaa-
f027e97ec537
* \author Andrea Righi <arighi@develer.com>
*/
+#include "clock_lm3s.h"
+
#include <cfg/compiler.h>
#include <cfg/debug.h>
+
#include <io/lm3s.h>
-#include "clock_lm3s.h"
+
/* The PLL VCO frequency is 400 MHz */
#define PLL_VCO 400000000UL
* \author Andrea Righi <arighi@develer.com>
*/
+#include "timer_cm3.h"
+
#include <cfg/debug.h>
+
#include <cpu/irq.h>
+
#include <drv/irq_cm3.h>
-#include "timer_cm3.h"
INLINE void timer_hw_setPeriod(unsigned long period)
{
#include "cfg/cfg_timer.h" /* CONFIG_TIMER */
+#include <cpu/detect.h>
+#include <cpu/irq.h>
+
#if CPU_CM3_LM3S
#include <io/lm3s.h>
#elif CPU_CM3_STM32