diff options
| author | Damien George | 2017-06-01 15:43:20 +1000 |
|---|---|---|
| committer | Damien George | 2017-06-01 16:02:49 +1000 |
| commit | 6ff0ecfffcea4e7aa6301c54870ae97aa4a0cf72 (patch) | |
| tree | 4029403c446530fa870310a45042e2d372754ab7 /teensy | |
| parent | bc76302eab56368967af4f1cf8813ac816b9c22f (diff) | |
ports: Convert from using stmhal's input() to core provided version.
Diffstat (limited to 'teensy')
| -rw-r--r-- | teensy/Makefile | 1 | ||||
| -rw-r--r-- | teensy/mpconfigport.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/teensy/Makefile b/teensy/Makefile index 9f52cc3c7..923ea77ec 100644 --- a/teensy/Makefile +++ b/teensy/Makefile @@ -93,7 +93,6 @@ SRC_C = \ STM_SRC_C = $(addprefix stmhal/,\ gccollect.c \ - input.c \ irq.c \ pin.c \ pin_named_pins.c \ diff --git a/teensy/mpconfigport.h b/teensy/mpconfigport.h index 8c4022046..de30924d9 100644 --- a/teensy/mpconfigport.h +++ b/teensy/mpconfigport.h @@ -14,6 +14,7 @@ #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_OPT_COMPUTED_GOTO (1) +#define MICROPY_PY_BUILTINS_INPUT (1) #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_TEXT teensy_help_text @@ -31,7 +32,6 @@ // extra built in names to add to the global namespace #define MICROPY_PORT_BUILTINS \ - { MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \ // extra built in modules to add to the list of known ones extern const struct _mp_obj_module_t os_module; |
