diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-31 14:25:19 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-31 14:25:19 +0100 |
commit | 33168081f48634d45902f0a31a27d4527c88a522 (patch) | |
tree | fe0977d188cddd9f369636e5bd3e90e6d5c57013 /esp8266/mpconfigport.h | |
parent | cff2b7a6e3acf5fe81d9ada1c344a047332df32e (diff) | |
download | micropython-33168081f48634d45902f0a31a27d4527c88a522.tar.gz micropython-33168081f48634d45902f0a31a27d4527c88a522.zip |
extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us.
Since not all ports that enable the machine module have the pin HAL
functions.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r-- | esp8266/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index ad11cb4d7e..df78444883 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -59,6 +59,7 @@ #define MICROPY_PY_UZLIB (1) #define MICROPY_PY_LWIP (1) #define MICROPY_PY_MACHINE (1) +#define MICROPY_PY_MACHINE_PULSE (1) #define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_WEBSOCKET (1) #define MICROPY_PY_WEBREPL (1) |