This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c68c327310
micropython
/
tests
/
extmod
/
machine_mem.py.exp
2 lines
7 B
Plaintext
Raw
Normal View
History
Unescape
Escape
modmachine: Implement physical memory access using /dev/mem (Linux, etc). 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.
2015-07-05 22:08:33 +01:00
0xaa55