samd: Remove the existing provisional support for REPL on UART.
It was only partially working and will be rpelaced later by a full machine.UART class implementation.
This commit is contained in:
@@ -45,9 +45,6 @@
|
||||
#define DBL_TAP_MAGIC_LOADER 0xf01669ef
|
||||
#define DBL_TAP_MAGIC_RESET 0xf02669ef
|
||||
|
||||
MP_DEFINE_CONST_FUN_OBJ_0(machine_uart_init_obj, machine_uart_init);
|
||||
MP_DEFINE_CONST_FUN_OBJ_0(machine_uart_deinit_obj, machine_uart_deinit);
|
||||
|
||||
STATIC mp_obj_t machine_reset(void) {
|
||||
*DBL_TAP_ADDR = DBL_TAP_MAGIC_RESET;
|
||||
NVIC_SystemReset();
|
||||
@@ -119,8 +116,6 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR_mem16), MP_ROM_PTR(&machine_mem16_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_mem32), MP_ROM_PTR(&machine_mem32_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_unique_id), MP_ROM_PTR(&machine_unique_id_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_uart_init), MP_ROM_PTR(&machine_uart_init_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_uart_deinit), MP_ROM_PTR(&machine_uart_deinit_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&machine_pin_type) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&machine_led_type) },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user