aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-03-16 17:37:21 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-03-16 17:56:54 -0400
commit4862d1eae5813e278cfbb1d5e0a040010b92eb3f (patch)
treeb0771810e7d1da7d254375b4758128dce3793668 /wirish/boards.h
parent04ee498b46393250c31606e526c28cb3b2b870ed (diff)
downloadlibrambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.tar.gz
librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.zip
Maple RET6 edition support
Diffstat (limited to 'wirish/boards.h')
-rw-r--r--wirish/boards.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/wirish/boards.h b/wirish/boards.h
index 2941127..94566fa 100644
--- a/wirish/boards.h
+++ b/wirish/boards.h
@@ -113,6 +113,21 @@ extern PinMapping PIN_MAP[];
afio_mapr_swj_config(AFIO_MAPR_SWJ_NO_JTAG_NO_SW); \
} while (0)
+#elif defined(BOARD_maple_RET6)
+
+ #define CYCLES_PER_MICROSECOND 72
+ #define SYSTICK_RELOAD_VAL 71999 /* takes a cycle to reload */
+
+ #define BOARD_BUTTON_PIN 38
+ #define BOARD_LED_PIN 13
+
+ /* Total number of GPIO pins that are broken out to headers and
+ intended for general use. */
+ #define NR_GPIO_PINS 39
+
+ #define BOARD_INIT do { \
+ } while(0)
+
#else
#error "Board type has not been selected correctly."