blob: 7d8a9ac01e4538a3985a84122670458be6c56614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# This test requires root privilege, so is usually skipped
# It also assumes x86 legacy hardware (with Video BIOS present).
try:
import machine
except ImportError:
print("SKIP")
import sys
sys.exit()
try:
print(hex(machine.mem16[0xc0000]))
except OSError:
print("SKIP")
import sys
sys.exit()
|