nrf/mpconfigport: Remove obsolete module declarations.

External module declarations are no longer used/needed after the
introduction of MP_REGISTER_MODULE.
pull/8917/head
iabdalkader 2022-07-14 21:10:58 +02:00 zatwierdzone przez Damien George
rodzic 5bf3765631
commit 262f4a4855
1 zmienionych plików z 0 dodań i 9 usunięć

Wyświetl plik

@ -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