From 4469a1380cffd8fa8a20ad1d4bbbb13cedde6941 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 8 May 2012 11:39:10 -0400 Subject: stm32f1: stm32.h: Add hooks for USB access line. There are five F1 lines in total. The necessary infrastructure for USB access line (STM32F102 MCUs) support is missing, so add it. Signed-off-by: Marti Bolivar --- libmaple/stm32f1/include/series/stm32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libmaple/stm32f1/include') diff --git a/libmaple/stm32f1/include/series/stm32.h b/libmaple/stm32f1/include/series/stm32.h index 2460b95..bcc938b 100644 --- a/libmaple/stm32f1/include/series/stm32.h +++ b/libmaple/stm32f1/include/series/stm32.h @@ -47,7 +47,8 @@ extern "C" { #define STM32_F1_LINE_PERFORMANCE 0 #define STM32_F1_LINE_VALUE 1 #define STM32_F1_LINE_ACCESS 2 -#define STM32_F1_LINE_CONNECTIVITY 3 +#define STM32_F1_LINE_USB_ACCESS 3 +#define STM32_F1_LINE_CONNECTIVITY 4 /* * MCU-specific values. @@ -156,6 +157,7 @@ extern "C" { # define STM32_DELAY_US_MULT 8 /* FIXME: value is incorrect. */ # endif #elif STM32_F1_LINE == STM32_F1_LINE_ACCESS /* TODO */ +#elif STM32_F1_LINE == STM32_F1_LINE_USB_ACCESS /* TODO */ #elif STM32_F1_LINE == STM32_F1_LINE_CONNECTIVITY /* TODO */ #endif -- cgit v1.2.3