|
@ -32,6 +32,7 @@ |
|
|
#include "py/runtime.h" |
|
|
#include "py/runtime.h" |
|
|
#include "py/mperrno.h" |
|
|
#include "py/mperrno.h" |
|
|
#include "py/mphal.h" |
|
|
#include "py/mphal.h" |
|
|
|
|
|
#include "drivers/dht/dht.h" |
|
|
#include "extmod/machine_bitstream.h" |
|
|
#include "extmod/machine_bitstream.h" |
|
|
#include "extmod/machine_mem.h" |
|
|
#include "extmod/machine_mem.h" |
|
|
#include "extmod/machine_signal.h" |
|
|
#include "extmod/machine_signal.h" |
|
@ -412,6 +413,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = { |
|
|
#if MICROPY_PY_MACHINE_PULSE |
|
|
#if MICROPY_PY_MACHINE_PULSE |
|
|
{ MP_ROM_QSTR(MP_QSTR_time_pulse_us), MP_ROM_PTR(&machine_time_pulse_us_obj) }, |
|
|
{ MP_ROM_QSTR(MP_QSTR_time_pulse_us), MP_ROM_PTR(&machine_time_pulse_us_obj) }, |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_dht_readinto), MP_ROM_PTR(&dht_readinto_obj) }, |
|
|
|
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_mem8), MP_ROM_PTR(&machine_mem8_obj) }, |
|
|
{ MP_ROM_QSTR(MP_QSTR_mem8), MP_ROM_PTR(&machine_mem8_obj) }, |
|
|
{ MP_ROM_QSTR(MP_QSTR_mem16), MP_ROM_PTR(&machine_mem16_obj) }, |
|
|
{ MP_ROM_QSTR(MP_QSTR_mem16), MP_ROM_PTR(&machine_mem16_obj) }, |
|
|