From a6dc2b0ad2bf5efd2c9f49754ff7057f5c24a929 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 12 Jun 2011 21:45:45 +0200 Subject: Added interrupt<>() template. --- main.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 9c4774b..468a0b9 100644 --- a/main.cpp +++ b/main.cpp @@ -1,16 +1,5 @@ #include "stm32.h" -void entry(); - -void* vectors[4] __attribute__((section(".vectors"))) = { - (void*)0x20004ffc, - (void*)entry - //(unsigned int *) STACK_TOP, // stack pointer - //(unsigned int *) main, // code entry point - //(unsigned int *) nmi_handler, // NMI handler (not really) - //(unsigned int *) hardfault_handler // hard fault handler (let's hope not) -}; - volatile unsigned int cnt; void i2c_write_reg(uint8_t addr, uint8_t reg, uint8_t data) { -- cgit v1.2.3