Commit graph

112 commits

Author SHA1 Message Date
Olivier Goffart
8fba65a282 Rename and expose the unsafe-single-threaded feature 2022-08-25 16:47:53 +02:00
Olivier Goffart
877818fa3d Fix compilation with the "simulator" 2022-08-25 16:02:58 +02:00
Simon Hausmann
621bfe5b01 mcu bsp: remove unnecessary dependency
This is a leftover from the copied winit code for the simulator in the
mcu backend.
2022-08-25 13:00:54 +02:00
Simon Hausmann
587b746a7a mcu bsp: use embedded-graphics only for the pico 2022-08-25 13:00:00 +02:00
Simon Hausmann
f9eaffdb6e Fix stm32 build 2022-08-25 12:58:22 +02:00
Simon Hausmann
bf801cfdda Remove mcu bsp feature dependency on i-slint-core for defmt and libm
Make both features of the slint crate
2022-08-25 12:54:52 +02:00
Simon Hausmann
8ed35eded1 Remove the std feature from the mcu bsp crate
The example can use the std feature of slint directly
2022-08-25 12:54:52 +02:00
Simon Hausmann
94d5444105 Remove swrenderer feature dependency on i_slint_core from mcu bsp crate
Let `renderer-software` enable the API in `slint::platform::swrenderer` and optionally toggle winit support.
2022-08-25 12:54:52 +02:00
Simon Hausmann
f239f810c8 Remove the use of i_slint_core in the pico and stm32 bsp modules 2022-08-25 12:54:52 +02:00
Simon Hausmann
e18f118569 Reduce use of internal API in stm32 bsp module
What remains is

    i_slint_core::lengths::{PhysicalLength, PhysicalSize}
2022-08-25 12:54:52 +02:00
Simon Hausmann
c0ab435eed Reduce use of internal API in pico bsp module
What remains is

    i_slint_core::lengths::{PhysicalLength, PhysicalSize}
2022-08-25 12:54:52 +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