Damien George
f5b4545761
py/modsys: Add sys.implementation._build entry.
...
For a given MicroPython firmware/executable it can be sometimes important
to know how it was built, which variant/board configuration it came from.
This commit adds a new field `sys.implementation._build` that can help
identify the configuration that MicroPython was built with.
For now it's either:
* <VARIANT> for unix, webassembly and windows ports
* <BOARD>-<VARIANT> for microcontroller ports (the variant is optional)
In the future additional elements may be added to this string, separated by
a hyphen.
Resolves issue #16498 .
Signed-off-by: Damien George <damien@micropython.org >
2025-03-05 12:23:40 +11:00
..
2024-02-20 12:12:28 +11:00
2024-08-19 14:18:34 +10:00
2024-08-19 14:18:34 +10:00
2024-07-25 12:27:33 +10:00
2024-04-22 11:50:52 +10:00
2024-04-22 11:50:52 +10:00
2024-04-22 11:50:52 +10:00
2024-01-05 15:08:33 +11:00
2024-04-22 11:50:52 +10:00
2024-05-28 10:58:37 +10:00
2024-05-28 10:58:37 +10:00
2024-05-28 10:58:37 +10:00
2024-10-16 15:03:30 +11:00
2024-03-18 14:10:14 +11:00
2024-11-04 11:22:43 +11:00
2024-03-19 10:08:32 +11:00
2024-03-19 10:08:32 +11:00
2024-03-18 14:10:14 +11:00
2025-02-11 16:51:50 +11:00
2025-02-11 16:51:50 +11:00
2025-02-11 16:51:50 +11:00
2024-05-27 13:56:55 +10:00
2024-05-27 13:56:55 +10:00
2024-06-21 16:23:08 +10:00
2024-05-27 13:56:55 +10:00
2024-05-27 13:56:55 +10:00
2024-05-27 13:56:55 +10:00
2024-06-21 16:23:08 +10:00
2024-05-27 13:56:55 +10:00
2025-01-26 22:54:58 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-07-01 13:52:59 +10:00
2024-07-01 13:52:59 +10:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-03-07 16:25:17 +11:00
2024-06-24 14:07:00 +10:00
2024-06-24 14:07:00 +10:00
2024-09-02 14:15:49 +10:00
2024-09-02 14:15:49 +10:00
2024-06-24 14:07:00 +10:00
2025-01-26 22:54:58 +11:00
2025-01-26 22:51:50 +11:00
2023-11-21 22:28:57 +11:00
2024-05-28 10:50:57 +10:00
2024-05-28 10:50:57 +10:00
2024-05-28 10:58:37 +10:00
2025-03-02 22:15:31 +11:00
2024-05-28 10:58:37 +10:00
2024-05-28 10:58:37 +10:00
2024-09-26 23:39:06 +10:00
2024-05-28 10:58:37 +10:00
2024-05-28 10:58:37 +10:00
2024-06-06 17:34:28 +10:00
2025-03-02 22:15:31 +11:00
2024-07-25 13:07:42 +10:00
2025-02-11 16:51:50 +11:00
2024-10-07 11:37:52 +11:00
2025-03-05 12:23:40 +11:00
2024-09-06 17:00:35 +10:00
2024-09-06 17:00:35 +10:00
2024-09-06 17:00:35 +10:00
2024-01-31 12:56:29 +11:00