summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-10-06 12:12:20 +1100
committerDamien George <damien.p.george@gmail.com>2016-10-06 12:12:20 +1100
commit0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab (patch)
tree3854c23df8779769222654640461fd16a3de9431 /stmhal/mpconfigport.h
parentc08f50bcf7740885863224509d56229d55ac1193 (diff)
downloadmicropython-0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab.tar.gz
micropython-0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab.zip
stmhal: Enable machine.time_pulse_us() function.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index ef02cbf927..52fbcad681 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -95,6 +95,7 @@
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
#define MICROPY_PY_MACHINE (1)
+#define MICROPY_PY_MACHINE_PULSE (1)
#define MICROPY_PY_MACHINE_I2C (1)
#define MICROPY_PY_MACHINE_SPI (1)
#define MICROPY_PY_MACHINE_SPI_MIN_DELAY (0)