From 1ab9b66a48b2809bf637073ebd81ce7b27d38225 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 14 Jan 2026 12:35:52 +1100 Subject: [PATCH] zephyr/mpconfigport: Remove duplicate builtins.open definition. It's already provided because `MICROPY_PY_IO` is enabled. Tested on `bbc_microbit_v2`, there is now only a single open. Signed-off-by: Damien George --- ports/zephyr/mpconfigport.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ports/zephyr/mpconfigport.h b/ports/zephyr/mpconfigport.h index 7c6459f510..f52b42fc2f 100644 --- a/ports/zephyr/mpconfigport.h +++ b/ports/zephyr/mpconfigport.h @@ -181,10 +181,6 @@ typedef long mp_off_t; #define MP_SSIZE_MAX (0x7fffffff) -// extra built in names to add to the global namespace -#define MICROPY_PORT_BUILTINS \ - { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) }, - #if MICROPY_PY_THREAD #define MICROPY_EVENT_POLL_HOOK \ do { \