diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-31 16:28:23 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-31 16:28:23 -0400 |
commit | 01c38f5567bf624413d901c2b287e63cdccd03a6 (patch) | |
tree | 184c1cbe4599ac16120070fcf8ba6b528f69fb36 /libmaple | |
parent | 695f0dc4baa1bf682eec0226dc5632a9200174f1 (diff) | |
download | librambutan-01c38f5567bf624413d901c2b287e63cdccd03a6.tar.gz librambutan-01c38f5567bf624413d901c2b287e63cdccd03a6.zip |
Partial progress on wirish portability
This version throws "defined but unused" warnings which could probably
be squashed with #pragma
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/libmaple.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h index ce0d630..1fd0785 100644 --- a/libmaple/libmaple.h +++ b/libmaple/libmaple.h @@ -42,15 +42,18 @@ // Number of GPIO ports (GPIOA, GPIOB, etc), definately used #define NR_GPIO_PORTS 4 + // Total number of GPIO pins + #define NR_GPIO_PINS 39 + // Number of timer devices ports, definately used #define NR_TIMERS 4 - // Total number of GPIO pins - #define NR_MAPLE_PINS 39 - // Number of ADC pins. Not actually used? #define NR_ANALOG_PINS 29 + // Has an FSMC bus? + //#define HAS_FSMC // Maple does not + // USB Identifier numbers // Descriptor strings must be modified by hand in usb/descriptors.c for now #define VCOM_ID_VENDOR 0x1EAF |