From ee5667f54d76022beec4584ccf50879c68361a33 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 13 Sep 2010 13:32:01 -0400 Subject: bugfix MAPLE_RELOAD_VAL, whitespace fixes --- libmaple/libmaple.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'libmaple/libmaple.h') 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 -- cgit v1.2.3