When SIM_SPI is valid, a specified Linux SPI device ‘spidevN.P’(N is bus number and P is CS number) is attached to nuttx simulator, shown as 'spi0' under /dev. One may type spi command (need SPITOOL valid) in NSH to control the Linux SPI and exchange data, other devices such sensors can use it to debug in simulator on a Ubuntu PC. Note that a USB<>SPI module (e.g. CH341A/B) should be plugged in to achieve Linux SPI ports. Change-Id: I275b2c2bbf6d14bcdf514c89efb9a2264d69e9a3 Signed-off-by: liucheng5 <liucheng5@xiaomi.com> |
||
|---|---|---|
| .. | ||
| all.dat | ||
| arm-01.dat | ||
| arm-02.dat | ||
| arm-03.dat | ||
| arm-04.dat | ||
| arm-05.dat | ||
| arm-06.dat | ||
| arm-07.dat | ||
| arm-08.dat | ||
| arm-09.dat | ||
| arm-10.dat | ||
| arm-11.dat | ||
| arm-12.dat | ||
| arm-13.dat | ||
| macos.dat | ||
| other.dat | ||
| risc-v.dat | ||
| sim-01.dat | ||
| sim-02.dat | ||
| xtensa.dat | ||