diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 11:39:10 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 11:39:10 -0400 |
commit | 4469a1380cffd8fa8a20ad1d4bbbb13cedde6941 (patch) | |
tree | ea4c6fdc2387b7a8401f8a5d07673897c2dcc023 /libmaple | |
parent | 1cd49bc226d21cda977f81b25e507b3421a3f9dc (diff) | |
download | librambutan-4469a1380cffd8fa8a20ad1d4bbbb13cedde6941.tar.gz librambutan-4469a1380cffd8fa8a20ad1d4bbbb13cedde6941.zip |
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 <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f1/include/series/stm32.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |