diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-16 17:37:21 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-16 17:56:54 -0400 |
commit | 4862d1eae5813e278cfbb1d5e0a040010b92eb3f (patch) | |
tree | b0771810e7d1da7d254375b4758128dce3793668 /wirish/boards.h | |
parent | 04ee498b46393250c31606e526c28cb3b2b870ed (diff) | |
download | librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.tar.gz librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.zip |
Maple RET6 edition support
Diffstat (limited to 'wirish/boards.h')
-rw-r--r-- | wirish/boards.h | 15 |
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." |