|
|
|
@ -50,6 +50,7 @@
|
|
|
|
|
#include "rtc.h"
|
|
|
|
|
#include "i2c.h"
|
|
|
|
|
#include "spi.h"
|
|
|
|
|
#include "uart.h"
|
|
|
|
|
#include "wdt.h"
|
|
|
|
|
|
|
|
|
|
#if defined(MCU_SERIES_F4)
|
|
|
|
@ -557,9 +558,9 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
|
|
|
|
|
// initialize master mode on the peripheral.
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&machine_i2c_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&machine_hard_spi_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&pyb_uart_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&pyb_wdt_type) },
|
|
|
|
|
#if 0
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&pyb_uart_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&pyb_timer_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_HeartBeat), MP_ROM_PTR(&pyb_heartbeat_type) },
|
|
|
|
|
{ MP_ROM_QSTR(MP_QSTR_SD), MP_ROM_PTR(&pyb_sd_type) },
|
|
|
|
|