Skip to content

Commit 43d7a9d

Browse files
committed
esp32: Changes to follow latest version of upstream uPy.
1 parent db2b377 commit 43d7a9d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

esp32/Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ SRC_C = \
135135
mpthreadport.c \
136136
$(SRC_MOD)
137137

138-
STM_SRC_C = $(addprefix stmhal/,\
139-
pybstdio.c \
140-
input.c \
141-
)
142-
143138
ESP8266_SRC_C = $(addprefix esp8266/,\
144139
modonewire.c \
145140
)
@@ -171,6 +166,7 @@ LIB_SRC_C = $(addprefix lib/,\
171166
timeutils/timeutils.c \
172167
utils/pyexec.c \
173168
utils/interrupt_char.c \
169+
utils/sys_stdio_mphal.c \
174170
)
175171

176172
ifeq ($(MICROPY_FATFS), 1)
@@ -186,14 +182,13 @@ DRIVERS_SRC_C = $(addprefix drivers/,\
186182
OBJ_MP =
187183
OBJ_MP += $(PY_O)
188184
OBJ_MP += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
189-
OBJ_MP += $(addprefix $(BUILD)/, $(STM_SRC_C:.c=.o))
190185
OBJ_MP += $(addprefix $(BUILD)/, $(ESP8266_SRC_C:.c=.o))
191186
OBJ_MP += $(addprefix $(BUILD)/, $(EXTMOD_SRC_C:.c=.o))
192187
OBJ_MP += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
193188
OBJ_MP += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
194189

195190
# List of sources for qstr extraction
196-
SRC_QSTR += $(SRC_C) $(STM_SRC_C) $(ESP8266_SRC_C) $(EXTMOD_SRC_C) $(DRIVERS_SRC_C)
191+
SRC_QSTR += $(SRC_C) $(ESP8266_SRC_C) $(EXTMOD_SRC_C) $(LIB_SRC_C) $(DRIVERS_SRC_C)
197192
# Append any auto-generated sources that are needed by sources listed in SRC_QSTR
198193
SRC_QSTR_AUTO_DEPS +=
199194

esp32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#define MICROPY_PY_BUILTINS_FILTER (1)
7979
#define MICROPY_PY_BUILTINS_REVERSED (1)
8080
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
81+
#define MICROPY_PY_BUILTINS_INPUT (1)
8182
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
8283
#define MICROPY_PY_BUILTINS_POW3 (1)
8384
#define MICROPY_PY_BUILTINS_HELP (1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy