1647 Commits

Author SHA1 Message Date
Laurent Montel
63756e90cb Add missing include(FetchContent) 2025-04-18 15:27:37 +02:00
Simon Hausmann
e39086c45e Remove unused tt21100 dependency 2025-04-15 11:32:27 +02:00
Simon Hausmann
c91ef1d7e6 Prospective build fix for non-esp mcu-board-support crate builds 2025-04-15 11:32:27 +02:00
Simon Hausmann
00c89626df Introduce a prelude to mcu-board-support to make esp-hal available when the entry point comes from esp_hal::main
esp_hal::main's code requires the availability of `esp_hal` as import.
2025-04-15 11:32:27 +02:00
autofix-ci[bot]
b963046943 [autofix.ci] apply automated fixes 2025-04-15 11:32:27 +02:00
Juraj Michálek
ff876f35ac muc-board-support: esp32-s3-box-3 use Instant::now(), remove timer 2025-04-15 11:32:27 +02:00
autofix-ci[bot]
bfefe72348 [autofix.ci] apply automated fixes 2025-04-15 11:32:27 +02:00
Juraj Michálek
cc76e8f1d7 muc-board-support: doc - update README 2025-04-15 11:32:27 +02:00
Juraj Michálek
d85f27ea9c muc-board-support: esp32-s3-box-3 resolve entry point 2025-04-15 11:32:27 +02:00
Juraj Michálek
4caf947399 muc-board-support: esp-hal dependency only for esp32-s3-box-3 2025-04-15 11:32:27 +02:00
Juraj Michálek
a73b5668ba esp32-s3-box clean up 2025-04-15 11:32:27 +02:00
Juraj Michálek
5712704b6b add timer handling 2025-04-15 11:32:27 +02:00
Juraj Michálek
eeb2f2602c use default gt911 crate without modification 2025-04-15 11:32:27 +02:00
Juraj Michálek
6573b12f9a use fallback address 2025-04-15 11:32:27 +02:00
Juraj Michálek
bdf40967da implement esp32-s3-box initialization correction from ESP-IDF 2025-04-15 11:32:27 +02:00
Juraj Michálek
718a71e4da add delay handling to the driver 2025-04-15 11:32:27 +02:00
Juraj Michálek
4db101fd56 remove driever modification 2025-04-15 11:32:27 +02:00
Juraj Michálek
a4312fd67f fix initialization sequence 2025-04-15 11:32:27 +02:00
Juraj Michálek
cd0274f353 graceful handling of touch 2025-04-15 11:32:27 +02:00
Juraj Michálek
48172c995b add esp32-s3-box-3 with gt911 touch 2025-04-15 11:32:27 +02:00
Juraj Michálek
fafde05338 initial migration to esp-hal-1.0.0 2025-04-15 11:32:27 +02:00
Olivier Goffart
78a3757b7f Remormat all the toml file again to fix npm upload
Commit cd6f2e2 reformated the .toml, but the 80 char width column is
judged too small to be practical

Add a .taplo.toml file

Also do not split feature array
2025-04-09 15:06:00 +02:00
dependabot[bot]
2feb048fa5 build(deps): bump typescript from 5.8.2 to 5.8.3 (#8069)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.2 to 5.8.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 11:00:19 +03:00
Simon Hausmann
93701162d5 Upgrade defmt to Version 1.0
0.3.100 has been published and is effectively 1.0
2025-04-07 11:55:48 +02:00
Olivier Goffart
e5289af154 Introduce MenuSeparator
Fixes #7790
2025-04-02 11:50:45 +02:00
Tobias Hunger
cd6f2e2cf2 ci: Format toml files
... using taplo with default settings

I tried this with 4 spaces indentation, but the patch is almost as
big as this one, so I went with default settings instead as that
is just easier:-)
2025-04-02 11:03:41 +02:00
Olivier Goffart
7b8ef71ddd link_section needs unsafe with edition 2024
Second part of #7998
2025-03-31 17:35:22 +02:00
Olivier Goffart
6f4f5aeefa Replace no_mangle with unsafe(no_mangle) in example and docs
We can't just do `s/#\[no_mangle]/#[unsafe(no_mangle)]/g`
because the version of cbingen we use doesn't understand the unsafe
attribute yet.

Part of #7998
2025-03-31 17:35:22 +02:00
Olivier Goffart
18b05d0734 Janitor: update derive_mire dependency 2025-03-26 20:49:50 +01:00
Oleh Kulish
58447c99e7 Add error handling for the slide puzzle example (#7917)
* Add impl From<PlatformError> for JsValue
2025-03-25 10:07:16 +01:00
Olivier Goffart
029857291b Update instructions for ffmpeg on Windows
Untested, but according to #4621

Closes #4621
2025-03-24 20:15:52 +01:00
Simon Hausmann
8248cc886c Simplify defmt::println call for debug_log implementation 2025-03-20 13:51:47 +01:00
Simon Hausmann
ce2cd01383 Separate the stm32 independent part of the slint::platform::Platform impl from stm32 specific bits
... by moving them into an embassy backend to be shared in the future
with other board support packages.
2025-03-20 13:51:47 +01:00
Simon Hausmann
cdb50aed7c Remove duplicated Cargo profile
(duplicated from workspace Cargo.toml)
2025-03-18 16:21:00 +01:00
Simon Hausmann
0b2bccddec Remove workaround for mcu-embassy example having its own workspace
Amends commit c47074e698
2025-03-18 13:34:58 +01:00
Simon Hausmann
8f0b69c95a stm32u5: Remove dummy DummyLoopProxy
That's better than `unimplemented!()`
2025-03-18 13:02:01 +01:00
Simon Hausmann
c47074e698 Initial support for the stm32u5g9j-dk2 2025-03-18 13:02:01 +01:00
Simon Hausmann
2ac9e7cc47 Comment out support for the ESP32 S3 Box for use with Rust
We're going to revive this with support for the S3-Box-3 next.
2025-03-18 13:02:01 +01:00
Simon Hausmann
e823acaa48 Remove support for the ESP32 S2 Kaluga board 2025-03-18 13:02:01 +01:00
ogoffart
178cf21c2e Bump version number to 1.11.0 2025-03-18 09:48:22 +00:00
dependabot[bot]
efb4d23f38 build(deps): bump typescript from 5.7.3 to 5.8.2 (#7780)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-04 16:39:14 +02:00
Simon Hausmann
7239d47c85 Remove leading whitespace 2025-02-28 11:54:17 +01:00
Olivier Goffart
c3e32c1665 Don't enable image-default-formats by default, remove compat-1-10 feature
We decided that the compatibility with people having enabled the extra
format in image 0.24 [1] is not worth it compared to the extra compilation
time most people gets by default when they don't need this feature.
(Which is less than 10% slower when the feature is enabled)

Since then there is no need for compat-1-10, remove it

[1] by depending directly on image 0.24 in their Cargo.toml and enabling
the features, which will not work with Slint 1.10 that now use image 0.25
2025-02-22 11:15:18 +01:00
Olivier Goffart
39191e5acd Menu API changes
`ContextMenu` -> `ContextMenuArea`

`ContextMenu` must have a `Menu` child.
`MenuItem` can no longer be put dirrectly in `MenuBar` and can no longer
have children
`Menu` is used now for sub menus
2025-02-21 16:03:47 +01:00
autofix-ci[bot]
650e0ef775 [autofix.ci] apply automated fixes 2025-02-16 14:04:13 +00:00
Simon Hausmann
607d70b3fa Python: run mypy on the tests 2025-02-16 08:58:47 +00:00
FloVanGH
d3c56e1f1f added usecases demo (#7603)
* [autofix.ci] apply automated fixes

* Update demos/usecases/esp-idf/README.md

Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>

* Update demos/usecases/esp-idf/rust-toolchain.toml

Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
2025-02-12 08:59:33 +00:00
David Haig
7fe86d23e9 Change touchscreen i2c to blocking and add comments 2025-02-10 16:56:15 +01:00
autofix-ci[bot]
a34220558b [autofix.ci] apply automated fixes 2025-02-10 16:56:15 +01:00
David Haig
765e1eee13 Fix copyright ci failures 2025-02-10 16:56:15 +01:00