apps/examples: Add path option to SPI Slave test#3467
apps/examples: Add path option to SPI Slave test#3467eren-terzioglu wants to merge 1 commit intoapache:masterfrom
Conversation
b7ad46d
b7ad46d to
efbf644
Compare
cederom
left a comment
There was a problem hiding this comment.
Thank you @eren-terzioglu :-)
acassis
left a comment
There was a problem hiding this comment.
@eren-terzioglu normally other applications on NuttX let the user define the device file in the menuconfig. Please change this application to do it, then the users can change it easily
We can add it but do we need to add for already parameterized example? |
I think we can use slv0 and add the default CONFIG_ to slv2 for ESP32xx board. |
Yes, I did this implementation and tested it only in esp32 env. Maybe I did a mistake using slv2. |
efbf644 to
6965243
Compare
|
Added, please check @acassis |
Add path option to spislv_test example Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Summary
Add path option to spislv_test example
Impact
Impact on user: Yes. Users can test different SPI slave interface just changing command
Impact on build: No.
Impact on hardware: No.
Impact on documentation: No.
Impact on security: No.
Impact on compatibility: No.
Testing
esp32c6-devkitc:spislvconfig used.Building
Command to build:
Running
spislv -p /dev/spislv0 -x 2 abbaandspislv -p /dev/spislv2 -x 2 abbacommands used to testOutput
Here is the output