60 Commits

Author SHA1 Message Date
ivmarkov
21b2ce626d Extend the CI against ESP-IDF master with more branches 2024-12-23 09:15:12 +00:00
ivmarkov
698a0c04ab Temporarily disable ESP IDF 5.3 in CI 2024-12-22 17:50:12 +00:00
ivmarkov
54ca262394 Start building against ESP-IDF V5.3 2024-12-22 16:45:00 +00:00
ivmarkov
63c15375af Fix the build against ESP-IDF master 2024-12-22 15:08:12 +00:00
ivmarkov
0b73ad78cf Restore the CI build 2024-12-22 10:13:15 +00:00
ivmarkov
280ae0099a Fix the CI 2024-11-22 13:45:21 +00:00
ivmarkov
97c01ef814 Fix CI 2024-11-08 05:43:30 +00:00
ivmarkov
fb886fa743 Fix CI 2024-11-08 05:29:47 +00:00
ivmarkov
b9d0ffd502 Fix CI by temporarily not using v5.1 2024-10-01 06:13:16 +00:00
ivmarkov
64adce1381 Fix CI by temporarily not using v5.1 2024-10-01 06:05:02 +00:00
ivmarkov
c83cbe6b66 Fix the build; enable the experimental features in CI 2024-08-05 21:19:20 +00:00
ivmarkov
d1ace4b79a
Add imac targets to CI + fix ESP IDF 4.4.x builds for imac target (#450) 2024-07-07 17:33:28 +02:00
ivmarkov
f986f713e8 Get rid of the riscv-ulp-hal feature 2024-01-18 20:16:08 +00:00
ivmarkov
e79df5a873 Get rid of the riscv-ulp-hal feature 2024-01-18 20:12:27 +00:00
ivmarkov
97a4dac537 Fix CI 2024-01-14 08:11:05 +00:00
ivmarkov
3f2e76e722 Fix CI 2024-01-14 06:26:57 +00:00
ivmarkov
e9a0f10fa1 Build examples with ESP IDF master 2024-01-13 13:43:14 +00:00
ivmarkov
50fd4e2a97 Fiox CI for ESP IDF master 2024-01-13 06:17:09 +00:00
ivmarkov
d29e3c53de Fix CI 2024-01-10 08:36:22 +00:00
ivmarkov
ebeef0fcc8
All executors (#315)
* Support for all async executors

* Make all Notifiucation primitives a public API

* Address a small typo

* Address a small typo

* Fix CI

* Tighten the notify APIs by not taking 0s

* Fix CI

* Fix changelog

* Fix changelog

* Fix the examples

* edge-executor support moved to edge-executor

* wake-from-isr feature for edge-executor

* Fix CI

* Bugfixing

* Clippy
2023-10-06 22:01:20 +03:00
ivmarkov
1aaa928b50 Update CI to latest nightly 2023-09-02 11:40:55 +00:00
ivmarkov
3ab97a27a2 sdkconfig.defaults is not found 2023-06-23 17:06:03 +00:00
ivmarkov
7332707618
Try to downgrade the ESP-RS toolchain so that CI runs fine on xtensa 2023-06-23 09:24:35 +03:00
ivmarkov
2c1bd7103a
Try to download the toolchain so that CI runs fine on xtensa 2023-06-23 09:04:51 +03:00
Sergio Gasquez Arcos
c8e54a7a5e
Create issue_handler.yml 2023-06-22 13:34:01 +02:00
ivmarkov
2ab4c709f1 #258 2023-06-03 10:44:55 +00:00
ivmarkov
6e9d50e196 Enable all-features CI step 2023-05-12 17:38:28 +00:00
ivmarkov
983eac1adc Fix esp idf master build 2023-05-09 13:46:44 +00:00
ivmarkov
99e676bd7c Option to manually trigger the CI 2023-05-09 13:35:25 +00:00
Sergio Gasquez Arcos
7ed4b26ab8
Improve CI (#226)
* ci: ️ Swicht to dtolnay/rust-toolchain action

* ci: ⬆️ Bump checkout version

* ci: ️ Swicht to dtolnay/rust-toolchain action and install ldproxy with binary

* ci: ⬆️ Bump checkout version

* ci: ️ Swicht to dtolnay/rust-toolchain action and bump versions

* ci: ️ Swicht to dtolnay/rust-toolchain action and bump versions

* ci: ️ Remove unecesary dependency

* ci: 🎨 Format all CI the same way
2023-03-30 13:21:23 +01:00
Sergio Gasquez Arcos
967f96a6a1
Update xtensa-toolchain action (#206)
* ci: 👷 Update xtensa-toolchain action and remove libncurses5 dependency

* ci: ️ Export GITHUB_TOKEN

* ci: ️ Avoid failing fast
2023-01-19 14:34:33 +00:00
Albin Hedman
a4a7618c91
Ci for idf 5.0 (#183)
* Experiment with IDF 5.0

* Attempt to fix error about libclang

* Add RUSTFLAGS

* What about the esp-rs/xtensa-toolchain thing to 1.4.0?

* Add rustc flags for default linker libs
2022-12-10 08:34:53 +02:00
Ivan Markov
15bbf07794 Latest Espressif clang needs libncurses5 2022-12-04 16:13:51 +00:00
ivmarkov
bf21317626 Include no_std and alloc in the CI 2022-11-21 09:42:02 +02:00
ivmarkov
bbe93fab60 Include no_std and alloc in the CI 2022-11-21 09:23:14 +02:00
ivmarkov
0ece1853dd Remove Matrix build on publish (was broken) 2022-11-20 16:13:08 +02:00
ivmarkov
d09fff3a8f Fix for ESP IDF 5 2022-11-04 09:37:57 +02:00
Ivan Markov
5edffdac61 Upgrade to latest nightly 2022-08-05 09:07:30 +00:00
N3xed
b30e4614f0
Tag the new release on Publish action (#107) 2022-08-04 15:11:19 +02:00
Albin Hedman
b0e243ec26
Add CI for ESP (#96)
* clippy

* Add CI for more ESP variants

* CI: Only add ldproxy for riscv target since it's alread installed for Xtensa targets

* Specify IDF version
2022-07-14 00:30:53 +01:00
ivmarkov
2568d51ef0 Option to manually run the master workflow CI 2022-05-16 11:11:58 +03:00
ivmarkov
6ce71fd9a5 Option to manually run the master workflow CI 2022-05-16 11:11:16 +03:00
ivmarkov
40f9b19a01 Revert to working nightly 2022-04-09 17:06:28 +03:00
ivmarkov
9be2b17be6 Switch back to latest nightly 2022-03-30 12:45:59 +03:00
ivmarkov
e433bf6de1 Temporarily switch to older nightly Rust 2022-03-26 20:58:19 +02:00
Christian Meusel
8fc7e6d35d
Add basic driver for LEDC (#43)
* Add basic LEDC driver

This driver allows to configure timers and channels but does not provide
advanced features like fading

* Added missing impl_channels.

* Use non-raw types for LEDC hw "handle" markers

This makes Timer and Channel Sync again.

* Add missing config and deps for dev building examples

* Add simple example for LEDC driver

* Channel changed to hold Timer as Borrow<>, to allow Arc etc.

* Provide unstable options from config.toml

This allows to build and run examples of this crate with cargo-espflash
1.2.0 which does not support passing unstable options.

* Provide ESP_IDF_SDKCONFIG_DEFAULTS from config.toml

This requires only to specify the target for a build explicitly.

* Use main task stack size from rust-esp32-std-demo

* Add multi-threaded example for LEDC

* Clean up ledc example and formatting

* Add note on running examples from this repository

* Fix build for ULP HAL

This LEDC interface is not available there.

* Build examples in CI too

* Use core types for no_std build of ledc

* Init channel config and hpoint with Default

This makes the initialization compatible with ESP IDF 4.3 and 4.4 where
the new field 'flag' has been added. As the default for hpoint was
previously zero, omitting it allows to use ..Default::default() in the
struct initialization in both cases.

* Install ldproxy in CI for building examples

It gets installed just before building examples because this takes its
time and should not delay other builds.

Co-authored-by: yunta <maciej.blomberg@mikoton.com>
2022-02-05 18:57:46 +02:00
Scott Mabin
6da02c4731
enable github hosted docs (#41)
* push docs to gh pages on publish

* add documentation link in Cargo.toml
2022-02-02 08:53:01 +02:00
Ivan Markov
73181d3730
Ulp fsm peripheral (#37)
* ULP peripheral; ULP HAL code renamed

* Use an enum for the chip cores

* riscv-ulp-hal feature bugfixes

* Fix the CI for ULP as well
2022-01-19 21:35:44 +02:00
ivmarkov
c7ea91c1b0 Fix CI-on-esp-idf-master triggering condition 2022-01-10 14:41:08 +02:00
Ivan Markov
2d0554d987
Compatibility with embedded-hal-V1; CANBus support (#34)
* upgrade to embedded-hal 1.0.0-alpha.6

This version has CAN traits. So this is prerequisite for adding CAN support.

* update upl/delay.rs traits

* use error type that preserves original EspError

* First cut of dual support: i2c, spi, gpio

* More dual-hal support: adc, serial

* Canbus support (thanks to @andresv)

* Stop the can driver first

* esp-idf driver expects bit length

* SPI: bus lock implementation; bugfixing

* make sure TRANS_LEN size is correct

* CAN fixes (#31)

* add CAN to peripherals.rs

* can: fix allow all filters

* can: fix can::Id types

* can: set correct bits in twai_message_t

* can: improve documentation

* ulp compatibility

* fix ULP Clippy warnings

* Bugfix: SPI transfer was broken

* New breaking release

* Move ESP-IDF CI build on a separate schedule

Co-authored-by: Andres Vahter <andres@vahter.me>
2022-01-10 13:06:36 +02:00