Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry-pick] #24345 to earlgrey_1.0.0 branch #24834

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

timothytrippel
Copy link
Contributor

This cherry-picks the commits from #24345 to earlgrey_1.0.0 branch. These commits include the implementation of the spi_device OTTF RX console. This cherry-pick was done manually since the automation failed due one of the commits from #24345 having already been cherry-picked to the earlgrey_1.0.0 branch in #24417.

This implements a new spi_device RX console by using the SPI device
flash mode feature. The flash read buffer is used as a circular buffer.

Reuses framing protocol from lowRISC#17494 with minor modifications to
distinguish fresh data from stale values in the read buffer.

Signed-off-by: Anthony Chen <[email protected]>
(cherry picked from commit 4f8b2a7)
This updates the console module to use SPI device flash mode feature to
support SPI device console. It's currently a one way console.

Signed-off-by: Anthony Chen <[email protected]>
(cherry picked from commit 0d95dfc)
This tests the OTTF spi_device console, which uses the OT spi_device in
flash mode, along with the flash read buffer and a lightweight framing
protocol to implement a one-way (RX) console.

Signed-off-by: Anthony Chen <[email protected]>
(cherry picked from commit c01bbc7)
@timothytrippel timothytrippel requested review from a team as code owners October 22, 2024 04:27
@timothytrippel timothytrippel removed request for a team October 22, 2024 04:28
@timothytrippel timothytrippel merged commit 5b086f8 into lowRISC:earlgrey_1.0.0 Oct 22, 2024
28 checks passed
@timothytrippel timothytrippel deleted the cherry-pick branch October 22, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants