8000 atmel-samd: Add input support. Fixes #143 · sparkfun/circuitpython@32a4eb2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32a4eb2

Browse files
committed
atmel-samd: Add input support. Fixes adafruit#143
1 parent 1280e91 commit 32a4eb2

File tree

7 files changed

+2
-4
lines changed

7 files changed

+2
-4
lines changed

atmel-samd/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ SRC_C = \
227227

228228
STM_SRC_C = $(addprefix stmhal/,\
229229
pybstdio.c \
230-
input.c \
231230
)
232231

233232
SRC_BINDINGS = \

atmel-samd/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ typedef long mp_off_t;
115115
// extra built in names to add to the global namespace
116116
#define MICROPY_PORT_BUILTINS \
117117
{ MP_OBJ_NEW_QSTR(MP_QSTR_help), (mp_obj_t)&mp_builtin_help_obj }, \
118+
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \
118119
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
119120

120121
// board specific definitions

esp8266/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_MODULE))
141141

142142
STM_SRC_C = $(addprefix stmhal/,\
143143
pybstdio.c \
144-
input.c \
145144
)
146145

147146
EXTMOD_SRC_C = $(addprefix extmod/,\
File renamed without changes.

py/py.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ PY_O_BASENAME = \
188188
stream.o \
189189
binary.o \
190190
builtinimport.o \
191+
builtininput.o \
191192
builtinevex.o \
192193
modarray.o \
193194
modbuiltins.o \

stmhal/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ SRC_C = \
144144
gccollect.c \
145145
pybstdio.c \
146146
help.c \
147-
input.c \
148147
machine_i2c.c \
149148
modmachine.c \
150149
modpyb.c \

teensy/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ SRC_C = \
9494

9595
STM_SRC_C = $(addprefix stmhal/,\
9696
gccollect.c \
97-
input.c \
9897
irq.c \
9998
pin.c \
10099
pin_named_pins.c \

0 commit comments

Comments
 (0)
0