unix/variants/dev: Allow all config options to be overridden.
They can be overridden on the make command line, for example. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
510bea9383
commit
afa4d0a4b7
|
@ -28,7 +28,13 @@
|
||||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
||||||
|
|
||||||
// Enable some additional features.
|
// Enable some additional features.
|
||||||
|
#ifndef MICROPY_REPL_EMACS_WORDS_MOVE
|
||||||
#define MICROPY_REPL_EMACS_WORDS_MOVE (1)
|
#define MICROPY_REPL_EMACS_WORDS_MOVE (1)
|
||||||
|
#endif
|
||||||
|
#ifndef MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE
|
||||||
#define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (1)
|
#define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (1)
|
||||||
|
#endif
|
||||||
|
#ifndef MICROPY_PY_SYS_SETTRACE
|
||||||
#define MICROPY_PY_SYS_SETTRACE (1)
|
#define MICROPY_PY_SYS_SETTRACE (1)
|
||||||
|
#endif
|
||||||
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (mp_urandom_seed_init())
|
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (mp_urandom_seed_init())
|
||||||
|
|
|
@ -3,8 +3,8 @@ PROG ?= micropython-dev
|
||||||
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
|
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
|
||||||
|
|
||||||
MICROPY_ROM_TEXT_COMPRESSION = 1
|
MICROPY_ROM_TEXT_COMPRESSION = 1
|
||||||
MICROPY_VFS_FAT = 1
|
MICROPY_VFS_FAT ?= 1
|
||||||
MICROPY_VFS_LFS1 = 1
|
MICROPY_VFS_LFS1 ?= 1
|
||||||
MICROPY_VFS_LFS2 = 1
|
MICROPY_VFS_LFS2 ?= 1
|
||||||
|
|
||||||
MICROPY_PY_BLUETOOTH ?= 1
|
MICROPY_PY_BLUETOOTH ?= 1
|
||||||
|
|
Loading…
Reference in New Issue