Skip to content

STM32 Nucleo L433RC-P example added#177

Merged
orhun merged 18 commits intoratatui:mainfrom
Vaishnav-Sabari-Girish:example/stm32-nucleo
Mar 21, 2026
Merged

STM32 Nucleo L433RC-P example added#177
orhun merged 18 commits intoratatui:mainfrom
Vaishnav-Sabari-Girish:example/stm32-nucleo

Conversation

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor

This PR adds an example of ratatui and mousefood running on a 0.91" (128x32) OLED display using the STM32 Nucleo L433RC-P development board.

Closes #176

This commit adds an example for STM32 Nucleo L433RC-P using the 0.91"
(128x32) OLED screen

Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
Added more elaborate comments, removed .unwrap()'s , updated README

Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Vaishnav-Sabari-Girish commented Mar 6, 2026

Hey @orhun ,
I have made the requested changes. Thank you for your suggestions. Let me know if more improvements are required.

Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
@orhun orhun requested a review from j-g00da March 7, 2026 19:05
@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 7, 2026

I think this seems alright overall

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 7, 2026

Oh, just remembered, we should update the CI to build this example as well.

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Alright. I'll look into that @orhun . Is that why there is a failed check ?

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 8, 2026

No that's related to cargo fmt and typos. Would be nice to fix those as well

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Vaishnav-Sabari-Girish commented Mar 8, 2026

Alright @orhun. So regarding the CI update should I fix it ?

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 8, 2026

yes please. Also please update the CI to test these changes

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

yes please. Also please update the CI to test these changes

Alright. Will do.

- Assigned the `thumbv7em-none-eabihf` target to the STM32 OLED example
- Added a step to automatically install the cross-compilation targets
  via `rustup` for non-host and non-Xtensa builds

Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Hey @orhun ,
I have updated the CI files, please take a look.

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

The typo should be fixed now @orhun . And also the format check should also pass. Please take a look and let me know.

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

@orhun, please let me know if the CI works without any errors. Thank you.

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 11, 2026

this should be mostly good to go

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Thank you @orhun

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Vaishnav-Sabari-Girish commented Mar 13, 2026

Hey @orhun ,
Is it alright now ? Could you take a look and let me know if any more improvements need to be made.

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 13, 2026

thanks, let's see the CI

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Just checking back on this when you have time @orhun . Happy to make any changes if needed.

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Hey @orhun ,
I noticed that the CI ran into an error wrt to the Cargo.lock file so I updated it, I made sure to sync my repo with the latest changes.

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 21, 2026

Can you fix the conflicts?

Also, please create new branches for pull requests :) (right now this sits in main)

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Alright will look into it.

@Vaishnav-Sabari-Girish
Copy link
Copy Markdown
Contributor Author

Hey @orhun,
I’ve resolved the merge conflicts and updated the PR to use a new branch. Let me know if everything looks correct or if any changes are needed.

@orhun orhun merged commit c330830 into ratatui:main Mar 21, 2026
29 checks passed
@github-actions github-actions bot mentioned this pull request Mar 21, 2026
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.

Add examples for STM32 Microcontrollers

2 participants