diff options
author | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 15:14:29 +0000 |
---|---|---|
committer | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 15:14:29 +0000 |
commit | 6a0091418a8cdad33f7cb9b2a576e91c6960e07a (patch) | |
tree | 8d85cf4b3b008686b26b062025c366876c84ee9f /src/wiring | |
parent | acf59b1abb346998c492b93fee4a680a32f538d5 (diff) | |
download | librambutan-6a0091418a8cdad33f7cb9b2a576e91c6960e07a.tar.gz librambutan-6a0091418a8cdad33f7cb9b2a576e91c6960e07a.zip |
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
Diffstat (limited to 'src/wiring')
-rw-r--r-- | src/wiring/wiring.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |