summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-07-14 21:10:58 +0200
committerDamien George <damien@micropython.org>2022-07-15 22:54:25 +1000
commit262f4a48554358d3d5866ddbcc23169ffb202f68 (patch)
tree4fdde654a1b76c549ab61e88ff4ae9999c121597
parent5bf3765631e645412dbd62a616cfdadeca5ea0c3 (diff)
nrf/mpconfigport: Remove obsolete module declarations.
External module declarations are no longer used/needed after the introduction of MP_REGISTER_MODULE.
-rw-r--r--ports/nrf/mpconfigport.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h
index 243c30809..dc7c3b1ea 100644
--- a/ports/nrf/mpconfigport.h
+++ b/ports/nrf/mpconfigport.h
@@ -295,14 +295,6 @@ typedef int mp_int_t; // must be pointer size
typedef unsigned int mp_uint_t; // must be pointer size
typedef long mp_off_t;
-// extra built in modules to add to the list of known ones
-extern const struct _mp_obj_module_t board_module;
-extern const struct _mp_obj_module_t nrf_module;
-extern const struct _mp_obj_module_t mp_module_utime;
-extern const struct _mp_obj_module_t mp_module_uos;
-extern const struct _mp_obj_module_t mp_module_ubluepy;
-extern const struct _mp_obj_module_t music_module;
-
#if BOARD_SPECIFIC_MODULES
#include "boardmodules.h"
#endif // BOARD_SPECIFIC_MODULES
@@ -314,7 +306,6 @@ extern const struct _mp_obj_module_t music_module;
// extra constants
#define MICROPY_PORT_CONSTANTS \
- { MP_ROM_QSTR(MP_QSTR_board), MP_ROM_PTR(&board_module) }, \
{ MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, \
#define MP_STATE_PORT MP_STATE_VM