diff options
Diffstat (limited to 'libmaple/libmaple.h')
| -rw-r--r-- | libmaple/libmaple.h | 18 | 
1 files changed, 12 insertions, 6 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h index a481e63..8e072c3 100644 --- a/libmaple/libmaple.h +++ b/libmaple/libmaple.h @@ -49,7 +49,10 @@      #define NR_TIMERS                 4      // Has an FSMC bus? -    //#define HAS_FSMC          // Maple does not +    #define NR_FSMC                   1 + +    // Has an FSMC bus? +    #define NR_DAC_PINS               2      // USB Identifier numbers      // Descriptor strings must be modified by hand in usb/descriptors.c for now @@ -95,7 +98,10 @@      #define NR_TIMERS                 8      // Has an FSMC bus? -    #define HAS_FSMC +    #define NR_FSMC                   1 + +    // Has an FSMC bus? +    #define NR_DAC_PINS               2      // USB Identifier numbers      // Descriptor strings must be modified by hand in usb/descriptors.c for now @@ -110,11 +116,11 @@      #define STACK_TOP     0x20000800      // Debug port settings (from ASSERT) -    #define ERROR_LED_PORT         GPIOA_BASE -    #define ERROR_LED_PIN          5 -    #define ERROR_USART_NUM        2 +    #define ERROR_LED_PORT         GPIOC_BASE +    #define ERROR_LED_PIN          15 +    #define ERROR_USART_NUM        1      #define ERROR_USART_BAUD       9600 -    #define ERROR_TX_PIN           2 +    #define ERROR_TX_PIN           10      #define ERROR_TX_PORT          GPIOA_BASE      // Just in case, most boards have at least some memory  | 
