modmachine: Add new module to access hardware, starting with physical memory.

Refactored from "stm" module, provides mem8, mem16, mem32 objects with
array subscript syntax.
This commit is contained in:
Paul Sokolovsky
2015-05-03 20:25:40 +03:00
parent c4dc1b5c23
commit 0116218fa8
7 changed files with 136 additions and 0 deletions

View File

@@ -101,5 +101,6 @@ extern const mp_obj_module_t mp_module_ure;
extern const mp_obj_module_t mp_module_uheapq;
extern const mp_obj_module_t mp_module_uhashlib;
extern const mp_obj_module_t mp_module_ubinascii;
extern const mp_obj_module_t mp_module_machine;
#endif // __MICROPY_INCLUDED_PY_BUILTIN_H__