summaryrefslogtreecommitdiff
path: root/tests/extmod/machine_mem.py
AgeCommit message (Collapse)Author
2016-07-31tests/machine_mem.py: Too non-portable, rework as an example for unix port.Paul Sokolovsky
2015-07-08modmachine: Implement physical memory access using /dev/mem (Linux, etc).Paul Sokolovsky
This requires root access. And on recent Linux kernels, with CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in /proc/iomem can be accessed. The above compiled-time option can be however overriden with boot-time option "iomem=relaxed". This also removed separate read/write paths - there unlikely would be a case when they're different.