micropython/ports
Damien George 056e0b6293 stm32/spi: Add implementation of low-level SPI protocol.
Can be used, for example, to configure external SPI flash using a hardware
SPI interface (code to be put in a board's bdev.c file):

    STATIC const spi_proto_cfg_t hard_spi_bus = {
        .spi = &spi_obj[5],
        .baudrate = 10000000,
        .polarity = 0,
        .phase = 0,
        .bits = 8,
        .firstbit = SPI_FIRSTBIT_MSB,
    };

    STATIC mp_spiflash_cache_t spi_bdev_cache;

    const mp_spiflash_config_t spiflash_config = {
        .bus_kind = MP_SPIFLASH_BUS_SPI,
        .bus.u_spi.cs = pin_A0,
        .bus.u_spi.data = (void*)&hard_spi_bus,
        .bus.u_spi.proto = &spi_proto,
        .cache = &spi_bdev_cache,
    };

    spi_bdev_t spi_bdev;
2018-08-14 22:10:43 +10:00
..
bare-arm ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
cc3200 cc3200/mods: Access dict map directly instead of using helper func. 2018-07-08 22:08:24 +10:00
esp32 esp32: Update to latest ESP IDF. 2018-08-14 16:45:37 +10:00
esp8266 py/mpconfig.h: Introduce MICROPY_DEBUG_PRINTER for debugging output. 2018-08-02 14:04:44 +10:00
minimal minimal/main: Allow to compile without GC enabled. 2018-05-21 13:13:21 +10:00
nrf nrf/uart: Fix UART.writechar() to write just 1 byte. 2018-08-02 22:21:24 +02:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm qemu-arm/test_main: Include setjmp.h because it's used by gc_collect. 2017-12-20 15:42:06 +11:00
stm32 stm32/spi: Add implementation of low-level SPI protocol. 2018-08-14 22:10:43 +10:00
teensy stm32/pin: In pin AF object, remove union of periph ptr types. 2018-04-11 16:14:58 +10:00
unix unix/Makefile: Enable ussl module with nanbox build. 2018-08-14 21:53:06 +10:00
windows windows/msvc: Support custom compiler for header generation. 2018-08-14 15:07:19 +10:00
zephyr zephyr: Rename CONFIG_CONSOLE_PULL to CONFIG_CONSOLE_SUBSYS. 2018-06-27 15:33:59 +10:00