diff options
| author | xhackerustc <[email protected]> | 2024-04-05 08:08:39 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-04-16 22:44:03 -0400 |
| commit | 28be12b32990470e3025b5f3a43cb525203bec82 (patch) | |
| tree | ff1782acde3bebe744ead6bf01e10dd2c30f9f00 /libcpu/SConscript | |
| parent | 62e6abe5df796333c78232d916f400715247263c (diff) | |
[nxp/mcxn] add SPI6 support (#8704)
* [bsp][nxp] add missing drv_spi.h
Otherwise when building spi users such as u8g2, gcc will complain can't
find the drv_spi.h.
* [bsp][nxp] enable spi6
* [bsp][nxp] add spi sample code which uses spi6 to loopback
Connect spi6's MISO <--> MSIO, I.E P3_20 and P3_22 with Dupont Line
The sample usage and output would be:
msh >spi_sample
spi rbuf : 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
spi loopback mode test over!
Diffstat (limited to 'libcpu/SConscript')
0 files changed, 0 insertions, 0 deletions
