Commit graph

9 commits

Author SHA1 Message Date
Olivier Goffart
6889dfa5f5 Rust: Make new(), run() and show() report errors from the backend
Fixes #2198
2023-02-10 05:00:03 +01:00
Olivier Goffart
cda0f99689 mcu_printerdemo: remove the chrono feature
It is not working on MCUs anyway, so this just simplifies the code
2022-09-14 09:12:32 +02:00
Olivier Goffart
29d05bac66 printerdemo_mcu: tweak the features
- rename the mcu-simulator feature to just "simulator" (the mcu is
   redundent)
 - Don't forward other feature than the simulator from the board support
   crate. (i don't want to have to forward all features from all
   examples)
 - default to the simulator (doesn't compile without any feature
   otherwise, leads to error in rust-analyzer)
2022-09-14 09:12:32 +02:00
Olivier Goffart
6ede77436b api: Return an error from invoke_from_event_loop and quit_event_loop 2022-09-07 10:13:58 +02:00
Simon Hausmann
d90b503a1c Move the mcu backend to become a board support helper crate for examples 2022-08-25 12:54:52 +02:00
Olivier Goffart
76e5055d66 printerdemo_mcu: Reset the queue when it is empty 2022-06-20 18:32:15 +02:00
Olivier Goffart
703cffd444 WIP: STM32H735G support 2022-04-27 09:00:52 +02:00
Olivier Goffart
9259413ec2 MCU cleanup
- Attempt to unify a bit the features so we have less #[cfg] in the demo
 - Add a README
2022-03-09 20:49:46 +01:00
Olivier Goffart
3f8c3dd830 Fork the printer demo for adjusting to the MCU
This is basically the already modified printer demo from the wip/mcu
branch but separat. The images and fonts folder are shared though via
symlinks.
2022-03-07 22:39:06 +01:00