firmware/shared/glob.py
2021-11-05 10:47:24 -04:00

31 lines
542 B
Python

# (c) Copyright 2021 by Coinkite Inc. This file is covered by license found in COPYING-CC.
#
# glob.py
#
# - simple module w/ handle for larger objects/singletons
# - used to be "from main import dis" and so on
# the display
dis = None
# the numpad
numpad = None
# global ptr to HSM policy, if any (supported on Mk3+ only)
hsm_active = None
# setup by main.py, expected to always be present
settings = None
# PSRAM (on Mk4 only)
PSRAM = None
# Virtual Disk (Mk4)
VD = None
# NFC interface (Mk4, and can be disabled)
NFC = None
# EOF