summaryrefslogtreecommitdiffstatshomepage
path: root/ports/stm32/mpconfigboard_common.h
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2018-09-17 13:47:54 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-21 12:12:49 +1000
commit84f4d58479516c4e842d195cc6a0a72e67fcb7b4 (patch)
tree79eb2a4d2b50b08e4be47d1aba0f7cf48b718b5d /ports/stm32/mpconfigboard_common.h
parenta2703649ea4455fe11388e24fad68a66441daf68 (diff)
downloadmicropython-84f4d58479516c4e842d195cc6a0a72e67fcb7b4.tar.gz
micropython-84f4d58479516c4e842d195cc6a0a72e67fcb7b4.zip
stm32/dcmi: Add F4/F7/H7 hal files and dma definitions for DCMI periph.
Diffstat (limited to 'ports/stm32/mpconfigboard_common.h')
-rw-r--r--ports/stm32/mpconfigboard_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigboard_common.h b/ports/stm32/mpconfigboard_common.h
index 2cc02b77cf..af20aa73b9 100644
--- a/ports/stm32/mpconfigboard_common.h
+++ b/ports/stm32/mpconfigboard_common.h
@@ -67,6 +67,11 @@
#define MICROPY_HW_ENABLE_DAC (0)
#endif
+// Whether to enable the DCMI peripheral
+#ifndef MICROPY_HW_ENABLE_DCMI
+#define MICROPY_HW_ENABLE_DCMI (0)
+#endif
+
// Whether to enable USB support
#ifndef MICROPY_HW_ENABLE_USB
#define MICROPY_HW_ENABLE_USB (0)