aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-05-07 01:53:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-05-07 01:53:34 -0400
commitd6ab9e92a6b9cbf077f1ce38e0ef1d3190877563 (patch)
treeb9a6e39cde03a1e8c8fb2e5ca13adea430244207
parent9f41111904f8dd6691c4d3c880572b369b5fed43 (diff)
downloadlibrambutan-d6ab9e92a6b9cbf077f1ce38e0ef1d3190877563.tar.gz
librambutan-d6ab9e92a6b9cbf077f1ce38e0ef1d3190877563.zip
libmaple/bkp.h: Tweak for STM32F1 XL-density.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/bkp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/include/libmaple/bkp.h b/libmaple/include/libmaple/bkp.h
index 7f90c0c..edc1013 100644
--- a/libmaple/include/libmaple/bkp.h
+++ b/libmaple/include/libmaple/bkp.h
@@ -60,7 +60,7 @@ typedef struct bkp_reg_map {
__io uint32 RTCCR; ///< RTC control register
__io uint32 CR; ///< Control register
__io uint32 CSR; ///< Control and status register
-#ifdef STM32_HIGH_DENSITY
+#if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY)
const uint32 RESERVED2; ///< Reserved
const uint32 RESERVED3; ///< Reserved
__io uint32 DR11; ///< Data register 11