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
..
2023-06-08 17:54:24 +10:00
2021-05-30 10:38:48 +10:00
2023-06-08 17:54:24 +10:00
2020-02-28 12:45:36 +11:00
2018-02-14 16:46:44 +11:00
2017-06-10 20:03:01 +03:00
2022-09-26 00:54:18 +10:00
2019-10-29 22:22:37 +11:00
2015-01-13 16:21:23 +00:00
2019-10-18 15:20:56 +11:00
2020-10-10 00:16:32 +11:00
2016-11-22 15:49:02 +11:00
2017-09-01 00:43:52 +03:00
2019-12-27 12:53:36 +11:00
2014-01-19 18:41:55 +02:00
2017-06-10 20:03:01 +03:00
2014-01-19 18:41:55 +02:00
2014-01-21 23:48:04 +00: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
2023-06-08 17:54:24 +10:00
2014-12-12 17:19:56 +00:00
2018-02-14 16:50:20 +11:00
2015-01-29 14:56:09 +00:00
2022-06-24 23:55:13 +10:00
2014-07-05 06:14:29 +01:00
2016-12-20 16:19:56 +11:00
2018-09-20 15:36:59 +10:00
2019-11-04 15:51:16 +11:00
2018-10-18 12:15:16 +11:00
2015-03-25 23:10:09 +00:00
2023-01-23 13:03:51 +11:00
2017-03-04 00:13:27 +03:00
2017-01-17 16:21:17 +11:00
2017-12-20 16:58:27 +11:00
2021-05-18 10:18:56 +10:00
2023-06-08 17:54:24 +10:00
2023-06-08 17:54:24 +10:00
2023-06-08 17:54:24 +10:00
2023-06-08 17:54:24 +10:00
2019-12-13 14:20:47 +11:00
2020-02-11 11:06:17 +11:00
2020-02-11 11:06:17 +11:00
2014-01-19 18:41:55 +02:00
2014-04-07 05:00:03 +01:00
2014-04-07 05:00:03 +01:00
2014-01-19 18:41:55 +02:00
2024-05-28 10:50:57 +10:00
2019-09-26 15:15:34 +10:00
2017-03-15 17:25:46 +11:00
2020-01-24 10:57:17 +11:00
2024-05-28 10:58:37 +10:00
2023-05-19 13:44:00 +10:00
2015-04-12 00:17:57 +03:00
2025-03-02 22:15:31 +11:00
2023-06-08 17:54:24 +10:00
2017-09-01 10:10:51 +10:00
2024-07-25 13:07:42 +10:00
2014-07-05 06:14:29 +01:00
2017-11-24 14:48:41 +11:00
2020-02-06 00:42:34 +11:00
2024-09-06 17:00:35 +10:00
2024-09-06 17:00:35 +10:00
2016-02-01 16:07:21 +00:00
2019-10-04 23:01:29 +10:00
2017-05-25 20:48:16 +10:00
2017-09-06 00:23:41 +03:00
2014-02-10 07:13:32 +02:00
2014-01-19 18:41:55 +02:00