diff options
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) { |