aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-03-26 17:38:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:55 -0400
commit66f75ca74ea11d0c242bd3773a7b31f07030c8e7 (patch)
tree2f691b247cc2c1337aee5643ba24f359d207f53e /libmaple/include
parent9762659a16011a2e78665dffd11e5ef6ac928d8f (diff)
downloadlibrambutan-66f75ca74ea11d0c242bd3773a7b31f07030c8e7.tar.gz
librambutan-66f75ca74ea11d0c242bd3773a7b31f07030c8e7.zip
[UNTESTED] Resurrect FSMC support.
fsmc_sram_init_gpios() is now series-specific, so move its existing implementation to the F1 backend, and add libmaple/stm32f2/fsmc.c for the F2 backend. Delete libmaple/fsmc.c; it is now empty. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/fsmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/fsmc.h b/libmaple/include/libmaple/fsmc.h
index a83f7ab..df211b2 100644
--- a/libmaple/include/libmaple/fsmc.h
+++ b/libmaple/include/libmaple/fsmc.h
@@ -280,6 +280,9 @@ typedef struct fsmc_nor_psram_reg_map {
* SRAM/NOR Flash routines
*/
+/**
+ * @brief Configure FSMC GPIOs for use with SRAM.
+ */
void fsmc_sram_init_gpios(void);
/**