micropython/ports/stm32/boards/PYBD_SF2
Mike Teachman 8a5bfe44a5 esp32,stm32: Add new machine.I2S class for I2S protocol support.
This commit adds I2S protocol support for the esp32 and stm32 ports, via
a new machine.I2S class.  It builds on the stm32 work of blmorris, #1361.

Features include:
- a consistent I2S API across the esp32 and stm32 ports
- I2S configurations supported:
  - master transmit and master receive
  - 16-bit and 32-bit sample sizes
  - mono and stereo formats
  - sampling frequency
  - 3 modes of operation:
    - blocking
    - non-blocking with callback
    - uasyncio
  - internal ring buffer size can be tuned
- documentation for Pyboards and esp32-based boards
- tested on the following development boards:
  - Pyboard D SF2W
  - Pyboard V1.1
  - ESP32 with SPIRAM
  - ESP32

Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-07-05 23:42:25 +10:00
..
bdev.c stm32/boards/PYBD_SF2: Disable SPIFLASH_ENABLE_CACHE for mboot builds. 2020-12-18 13:39:32 +11:00
board_init.c stm32/boards/PYBD_SF2: Disable GCC 11 warnings for array bounds. 2021-05-27 23:57:51 +10:00
f722_qspi.ld stm32/boards: Factor out common data/bss/heap/stack linker sections. 2020-10-29 23:31:59 +11:00
manifest.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mpconfigboard.h esp32,stm32: Add new machine.I2S class for I2S protocol support. 2021-07-05 23:42:25 +10:00
mpconfigboard.mk stm32: Include .ARM section in firmware for C++ exception handling. 2021-04-06 12:11:15 +10:00
pins.csv stm32/boards: Add board definition files for PYBD -SF2, -SF3, -SF6. 2019-05-31 22:44:25 +10:00
stm32f7xx_hal_conf.h stm32/boards: Rework all stm32??xx_hal_conf.h files to use common code. 2019-06-25 14:18:24 +10:00