mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 16:20:21 +00:00
Add a shared NuttX SPI master lower-half for the Realtek Ameba SPI controllers (SPI0/SPI1) in arch/arm/src/common/ameba, driven through the SDK fwlib in polling mode with full-duplex exchange and a software chip select. Per-chip wiring (controller count, register bases, clock masks, crossbar pad-mux codes and the fwlib SSI_InitTypeDef layout) lives in arch/arm/src/rtl8721dx/ameba_spi_chip.h so a port to the other Ameba chips only supplies a same-named header. Each controller registers as /dev/spiN from pke8721daf bring-up through the stock SPI character driver; a dedicated `spi` defconfig drives the spitool for validation. Assisted-by: Claude <noreply@anthropic.com> Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||