apps/examples: Add path option to SPI Slave test#3467
Open
eren-terzioglu wants to merge 1 commit intoapache:masterfrom
Open
apps/examples: Add path option to SPI Slave test#3467eren-terzioglu wants to merge 1 commit intoapache:masterfrom
eren-terzioglu wants to merge 1 commit intoapache:masterfrom
Conversation
Add path option to spislv_test example Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
simbit18
approved these changes
May 1, 2026
acassis
reviewed
May 1, 2026
| #define RX_BUFFER_SIZE 64 | ||
| #define TX_BUFFER_SIZE 64 | ||
| #define SOURCE_FILE "dev/spislv2" /* SPI device path */ | ||
| #define DEFAULT_SPI_PATH "dev/spislv2" |
Contributor
There was a problem hiding this comment.
@eren-terzioglu why is it spislv2 instead of spislv0 ?
xiaoxiang781216
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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