1 | # Copyright © SixtyFPS GmbH <info@slint.dev> |
2 | # SPDX-License-Identifier: MIT |
3 | |
4 | [package] |
5 | name = "mcu-board-support" |
6 | version = "1.5.1" |
7 | authors = ["Slint Developers <info@slint.dev>" ] |
8 | edition = "2021" |
9 | license = "MIT" |
10 | publish = false |
11 | description = "Internal helper that includes support for different MCUs, for use in Slint examples" |
12 | repository = "https://github.com/slint-ui/slint" |
13 | homepage = "https://slint.dev" |
14 | links = "mcu_board_support" # just so we can pass metadata to the slint build crate |
15 | |
16 | [lib] |
17 | path = "lib.rs" |
18 | |
19 | [features] |
20 | pico-st7789 = ["slint/unsafe-single-threaded" , "rp-pico" , "embedded-hal" , "cortex-m-rt" , "embedded-alloc" , "fugit" , "cortex-m" , "display-interface" , "st7789" , "defmt" , "defmt-rtt" , "shared-bus" , "slint/libm" , "embedded-dma" , "embedded-graphics" , "euclid/libm" ] |
21 | stm32h735g = ["slint/unsafe-single-threaded" , "embedded-hal" , "cortex-m/critical-section-single-core" , "cortex-m-rt" ,"embedded-alloc" , "embedded-time" , "cortex-m" , "stm32h7xx-hal/stm32h735" , "defmt" , "defmt-rtt" , "embedded-display-controller" , "ft5336" , "panic-probe" , "slint/libm" , "getrandom" ] |
22 | esp32-s2-kaluga-1 = ["slint/unsafe-single-threaded" , "esp32s2-hal" , "embedded-hal" , "xtensa-lx-rt/esp32s2" , "esp-alloc" , "esp-println/esp32s2" , "display-interface" , "display-interface-spi" , "st7789" , "slint/libm" ] |
23 | esp32-s3-box = ["slint/unsafe-single-threaded" , "esp32s3-hal" , "embedded-hal" , "xtensa-lx-rt/esp32s3" , "esp-alloc" , "esp-println/esp32s3" , "esp-backtrace/esp32s3" , "display-interface" , "display-interface-spi" , "mipidsi" , "embedded-graphics-core" , "slint/libm" , "tt21100" ] |
24 | |
25 | [dependencies] |
26 | slint = { version = "=1.5.1" , path = "../../api/rs/slint" , default-features = false, features = ["compat-1-2" , "renderer-software" ] } |
27 | i-slint-core-macros = { version = "=1.5.1" , path = "../../internal/core-macros" } |
28 | |
29 | derive_more = "0.99.5" |
30 | embedded-graphics = { version = "0.7.1" , optional = true } |
31 | once_cell = { version = "1.9" , default-features = false, features = ["alloc" ] } |
32 | pin-weak = { version = "1" , default-features = false } |
33 | rgb = "0.8.27" |
34 | cfg-if = "1" |
35 | |
36 | embedded-alloc = { version = "0.5" , optional = true } |
37 | cortex-m-rt = { version = "0.7" , optional = true } |
38 | cortex-m = { version = "0.7.2" , optional = true } |
39 | display-interface = { version = "0.4.1" , optional = true } |
40 | embedded-hal = { version = "0.2.5" , optional = true } |
41 | embedded-dma = { version = "0.2.0" , optional = true } |
42 | # Use a git branch that has DMA support |
43 | rp-pico = { version = "0.8.0" , optional = true } |
44 | fugit = { version = "0.3.6" , optional = true } |
45 | shared-bus = { version = "0.3" , optional = true } |
46 | st7789 = { version = "0.7.0" , optional = true } |
47 | euclid = { version = "0.22" , default-features = false, optional = true } |
48 | |
49 | stm32h7xx-hal = { version = "0.15.0" , optional = true, features = ["log-rtt" , "ltdc" , "xspi" ] } |
50 | getrandom = { version = "0.2" , optional = true, default-features = false, features = ["custom" ] } |
51 | embedded-time = { version = "0.12.0" , optional = true } |
52 | embedded-display-controller = { version = "0.1.0" , optional = true } |
53 | ft5336 = { version = "0.2" , optional = true } |
54 | |
55 | esp32s2-hal = { version = "0.12" , optional = true } |
56 | esp32s3-hal = { version = "0.12" , optional = true } |
57 | xtensa-lx-rt = { version = "0.16" , optional = true } |
58 | display-interface-spi = { version = "0.4" , optional = true } |
59 | esp-alloc = { version = "0.3" , optional = true } |
60 | esp-println = { version = "0.7.0" , optional = true } |
61 | esp-backtrace = { version = "0.9.0" , optional = true, features = ["panic-handler" , "print-uart" ] } |
62 | tt21100 = { version = "0.1" , optional = true } |
63 | |
64 | mipidsi = { version = "0.7.1" , optional = true } |
65 | embedded-graphics-core = { version = "0.4" , optional = true } |
66 | |
67 | defmt-rtt = { version = "0.4.0" , optional = true } |
68 | defmt = { version = "0.3.0" , optional = true } |
69 | panic-probe = { version = "0.3.0" , optional = true, features = ["print-defmt" ] } |
70 | |
71 | [build-dependencies] |
72 | cfg-if = "1.0.0" |
73 | |