diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-09-13 13:32:01 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-09-13 13:32:01 -0400 |
commit | ee5667f54d76022beec4584ccf50879c68361a33 (patch) | |
tree | 555d9c15d11f5d56fa675e4dda0a930013cd00a9 /libmaple | |
parent | 5bfeb40e4795eb5cf21ea84311936acf97969365 (diff) | |
download | librambutan-ee5667f54d76022beec4584ccf50879c68361a33.tar.gz librambutan-ee5667f54d76022beec4584ccf50879c68361a33.zip |
bugfix MAPLE_RELOAD_VAL, whitespace fixes
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/libmaple.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h index c5763c8..8124516 100644 --- a/libmaple/libmaple.h +++ b/libmaple/libmaple.h @@ -34,14 +34,10 @@ #include "libmaple_types.h" // General configuration -#ifndef DEBUG_LEVEL - //#define DEBUG_LEVEL DEBUG_ALL - #define DEBUG_LEVEL DEBUG_FAULT - //#define DEBUG_LEVEL DEBUG_NONE -#endif +#define MAPLE_DEBUG 1 // MCU-specific configuration -#ifdef MCU_STM32F103RB +#ifdef MCU_STM32F103RB // eg, LeafLabs Maple // Number of GPIO ports (GPIOA, GPIOB, etc), definately used @@ -96,7 +92,7 @@ #define BITBAND_PERI_BASE 0x42000000 #endif -#ifdef MCU_STM32F103ZE +#ifdef MCU_STM32F103ZE // eg, LeafLabs Maple Native #define NR_GPIO_PORTS 7 #define NR_GPIO_PINS 63 |