mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
modsys: Add optional support for sys.platform.
Ports which wants to have it, should define MICROPY_PY_SYS_PLATFORM to a string value they need.
This commit is contained in:
@@ -343,6 +343,9 @@ Q(byteorder)
|
||||
Q(big)
|
||||
Q(exit)
|
||||
Q(little)
|
||||
#ifdef MICROPY_PY_SYS_PLATFORM
|
||||
Q(platform)
|
||||
#endif
|
||||
Q(stdin)
|
||||
Q(stdout)
|
||||
Q(stderr)
|
||||
|
||||
Reference in New Issue
Block a user