From 6a0091418a8cdad33f7cb9b2a576e91c6960e07a Mon Sep 17 00:00:00 2001 From: "ajmeyer@mit.edu" Date: Sat, 19 Dec 2009 15:14:29 +0000 Subject: added a usb.h and usb.c to cover some of the low level access functions that we can use to build the usb serial port. my sandbox widgets are in main.cpp, look at it then throw it out. I adjusted the stm32f10x_conf.h file to properly NOT include certain st lib files that werent being used, and modified the NVIC init to cope with the bootloader git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@76 749a229e-a60e-11de-b98f-4500b42dc123 --- src/wiring/wiring.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wiring') diff --git a/src/wiring/wiring.c b/src/wiring/wiring.c index 9d77a5b..cecca20 100644 --- a/src/wiring/wiring.c +++ b/src/wiring/wiring.c @@ -59,8 +59,10 @@ void init(void) { void NVIC_Configuration(void) { #ifdef VECT_TAB_ROM NVIC_SetVectorTable(USER_ADDR_ROM, 0x0); +#warning writing to ROM #elif defined VECT_TAB_RAM NVIC_SetVectorTable(USER_ADDR_RAM, 0x0); +#warning writing to RAM #else // VECT_TAB_BASE /* Set the Vector Table base location at 0x08000000 */ NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0); -- cgit v1.2.3