diff options
author | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 08:03:54 +0000 |
---|---|---|
committer | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 08:03:54 +0000 |
commit | 7021adc50a041bfb69bc4432b712aa07ef710ca3 (patch) | |
tree | 4dcc3be7576e0ad5dd52039d3d99f3c6f99ea448 /src/wiring/wiring.h | |
parent | a8aaabae4c1cc64a01d740a436336ca31c1f79ba (diff) | |
download | librambutan-7021adc50a041bfb69bc4432b712aa07ef710ca3.tar.gz librambutan-7021adc50a041bfb69bc4432b712aa07ef710ca3.zip |
added USB support (TX over virtual com port), the linker modifications to work with the bootloader, a modified libcs-lanchon-stm32.a, and the arduino-required main.cxx and WProgram.h
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@72 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/wiring/wiring.h')
-rw-r--r-- | src/wiring/wiring.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wiring/wiring.h b/src/wiring/wiring.h index 789e697..4bf93bc 100644 --- a/src/wiring/wiring.h +++ b/src/wiring/wiring.h @@ -26,6 +26,9 @@ extern "C"{ #define LSBFIRST 0 #define MSBFIRST 1 +#define USER_ADDR_ROM 0x08005000 +#define USER_ADDR_RAM 0x20000C00 + #define lowByte(w) ((w) & 0xff) #define highByte(w) ((w) >> 8) #define bitRead(value, bit) (((value) >> (bit)) & 0x01) |