diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-06-12 21:45:45 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-06-12 21:45:45 +0200 |
commit | a6dc2b0ad2bf5efd2c9f49754ff7057f5c24a929 (patch) | |
tree | 0070f7f79c024a93eaf885fe89d51955da7a3be2 /main.cpp | |
parent | 3db942d06cf22478041921bc570e6c9650b217d0 (diff) |
Added interrupt<>() template.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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) { |