py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h.
It's more robust to have the version defined statically in a header file, rather than dynamically generating it via git using a git tag. In case git doesn't exist, or a different source control tool is used, it's important to still have the uPy version number available.
This commit is contained in:
@@ -37,8 +37,6 @@
|
||||
|
||||
#if MICROPY_PY_SYS
|
||||
|
||||
#include "genhdr/mpversion.h"
|
||||
|
||||
// defined per port; type of these is irrelevant, just need pointer
|
||||
extern struct _mp_dummy_t mp_sys_stdin_obj;
|
||||
extern struct _mp_dummy_t mp_sys_stdout_obj;
|
||||
|
||||
Reference in New Issue
Block a user