Skip to content

Commit

Permalink
mimxrt: Remove the SPI peripheral mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-hh committed Jun 23, 2021
1 parent 021ea85 commit 1a7d1eb
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 236 deletions.
5 changes: 0 additions & 5 deletions extmod/machine_spi.c
Expand Up @@ -114,11 +114,6 @@ STATIC const mp_rom_map_elem_t machine_spi_locals_dict_table[] = {

{ MP_ROM_QSTR(MP_QSTR_MSB), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_MSB) },
{ MP_ROM_QSTR(MP_QSTR_LSB), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_LSB) },

{ MP_ROM_QSTR(MP_QSTR_MASTER), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_MASTER) },
{ MP_ROM_QSTR(MP_QSTR_CONTROLLER), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_MASTER) },
{ MP_ROM_QSTR(MP_QSTR_SLAVE), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_SLAVE) },
{ MP_ROM_QSTR(MP_QSTR_PERIPHERAL), MP_ROM_INT(MICROPY_PY_MACHINE_SPI_SLAVE) },
};

MP_DEFINE_CONST_DICT(mp_machine_spi_locals_dict, machine_spi_locals_dict_table);
Expand Down

0 comments on commit 1a7d1eb

Please sign in to comment.