Jesse Braham
3669381234
Update the rust-analyzer config and take packages out of workspace
2022-05-31 10:02:55 -07:00
Juraj Sadel
b382a019d4
Feature/time types ( #64 )
...
* Use fugit time types for SPI peripheral, update examples
* initial WIP
* fix CI build errors
* Use extension trait in examples
Co-authored-by: Jesse Braham <jesse@beta7.io>
2022-05-31 11:39:44 +01:00
Björn Quentin
76a2067339
Add feature to reserve Bluetooth RAM for ESP32 ( #63 )
2022-05-20 10:38:39 +01:00
Robert Wiewel
a55c9d77ec
Add RMT output channel support for all current ESP32 variants
...
- Add RMT output channel support for ESP32, ESP32-S2, ESP32-S3, ESP32-C3
- Add add RMT adapter for `smart-leds` crate
- Add example `hello_rgb` for ESP32-S2, ESP32-S3 and ESP32-C3 that either
drives one LED at the pin where a LED is located on the official devkits
- Add example `hello_rgb` for ESP32 that is driving a 12-element RGB ring.
2022-05-17 15:56:25 +02:00
Björn Quentin
a2afa6cbbe
Merge pull request #61 from jessebraham/fixes/cleanup
...
Enforce clippy lints in CI, miscellaneous cleanup and formatting
2022-05-05 14:53:40 +02:00
Jesse Braham
80e22ba508
Enforce clippy lints in CI
2022-05-05 14:18:09 +02:00
Jesse Braham
67bd5837cd
Make cargo manifests consistent and bump dependencies
2022-05-05 11:56:43 +02:00
Jesse Braham
e745e84869
Fix a whole bunch of clippy warnings
2022-05-05 11:51:12 +02:00
Jesse Braham
ec6a82b3f4
Clean up imports and format all packages
2022-05-05 11:16:05 +02:00
bjoernQ
23b6e17e52
Pass the right TrapFrame to the exception handler
2022-05-05 11:13:27 +02:00
bjoernQ
67f21460f8
Implement workaround for ESP32 errata 3.6
2022-05-03 10:08:24 +02:00
Jesse Braham
c0a584ecfa
Add a minimal driver for the USB_SERIAL_JTAG peripheral ( #56 )
...
* Add a minimal driver for the USB_SERIAL_JTAG peripheral implementing core::fmt::Write
2022-05-02 03:55:36 -07:00
Jesse Braham
3cb276838e
Update xtensa-toolchain action and fix build errors
2022-04-28 16:15:32 +02:00
Björn Quentin
eb47b0fe21
Bump riscv version ( #51 )
...
* Bump riscv version
* Bump riscv version in esp-hal-common
2022-04-22 08:00:17 -07:00
bjoernQ
0f58f84873
Bump version of xtensa-lx, use correct features
2022-04-20 08:32:45 -07:00
bjoernQ
033824391d
Add linker script entries needed for wifi drivers on ESP32C3
2022-04-12 09:25:23 -07:00
Jesse Braham
834d7b1d42
Update MSRV versions in README to their actual values
2022-04-05 08:16:48 -07:00
Scott Mabin
45f2b9fd33
Merge pull request #41 from bjoernQ/fix/fix-run-esp32c3-examples
...
Fix `cargo run` for ESP32C3
2022-04-05 15:00:07 +01:00
bjoernQ
3113861290
Fix cargo run
for ESP32C3
2022-04-05 15:11:37 +02:00
bjoernQ
43c8f34e5f
Update xtensa-lx-rt, fix interrupt related examples
2022-04-04 08:52:27 -07:00
Björn Quentin
13ae45b4b9
Merge pull request #38 from jessebraham/feature/direct-boot
...
Modify esp32c3-hal to use a direct-boot feature instead of normalboot
2022-03-29 18:58:28 +02:00
Jesse Braham
fc37bc5d1f
Modify esp32c3-hal to use a direct-boot feature instead of normalboot
2022-03-29 09:45:06 -07:00
Jesse Braham
1f033f4e65
If one device fails in CI, do not cancel the checks for others in the matrix
2022-03-29 09:33:39 -07:00
bjoernQ
e83fd25e49
Optionally pass interrupt context to handlers for Xtensa
2022-03-29 09:31:09 -07:00
Jesse Braham
58838924ba
Update README
2022-03-28 14:11:35 -07:00
Douman
afc150165e
Adds Rng::random() -> u32
2022-03-24 08:44:04 -07:00
Björn Quentin
02c5f4564b
Merge pull request #34 from DoumanAsh/ufmt
...
Introduce optional ufmt support
2022-03-22 16:10:34 +01:00
Douman
9a3b0a530f
Introduce optional ufmt support
2022-03-21 16:31:20 +09:00
Jesse Braham
4e47fc69f4
Add features for architecture, clean up common HAL manifest
2022-03-14 18:17:24 -07:00
bjoernQ
651d27430a
Replace the precompiled asm.S with global-asm
2022-03-14 09:33:05 -07:00
Jesse Braham
556c1fe1fd
Merge pull request #32 from bjoernQ/feature/spi
...
Implement SPI
2022-03-11 10:01:58 -08:00
bjoernQ
15c34c23e4
Merge branch 'main' into feature/spi
2022-03-10 17:51:18 +01:00
Björn Quentin
bf33edd077
Merge pull request #26 from jessebraham/feature/rng
...
Implement the embedded-hal Read trait for the RNG peripheral
2022-03-10 17:38:16 +01:00
Jesse Braham
590df9bc21
Document the RNG's pre-conditions, add a free
function
2022-03-10 08:23:26 -08:00
Jesse Braham
bad8020abe
Implement the embedded-hal Read trait for the RNG peripheral
2022-03-10 08:14:39 -08:00
bjoernQ
c7dfabcefe
Fix ESP32C3 bootloader mode
2022-03-10 07:34:31 -08:00
bjoernQ
3f7a675b1e
Implement SPI
2022-03-10 11:03:20 +01:00
bjoernQ
e7eea75ef8
Add timer interrupt support and examples
2022-03-04 09:54:28 -08:00
Jesse Braham
6ea8916730
Merge pull request #23 from bjoernQ/feature/i2c
...
Add I2C support
2022-03-02 07:27:15 -08:00
bjoernQ
a6dc853a82
I2C peripheral name got changed for ESP32C3
2022-03-02 10:18:58 +01:00
bjoernQ
e34319b763
Apply more suggestions from code review
2022-03-02 09:38:06 +01:00
Björn Quentin
573d94bfdb
Apply suggestions from code review
...
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2022-03-02 08:45:08 +01:00
bjoernQ
72913a6e50
Reformat code
2022-03-01 14:38:34 +01:00
bjoernQ
b3e8f930cf
Disable WDT in I2C examples
2022-03-01 14:37:04 +01:00
bjoernQ
af9fecb8af
Address FIXME
comments from #22
2022-03-01 14:25:36 +01:00
bjoernQ
9bfe643f33
Implement I2C
2022-03-01 14:16:57 +01:00
Robert Wiewel
21b64f5c28
WIP: Prototype of shared I2C implementation
...
- Add example for I2C display example for ESP32-C3 and ESP32
- Example works for ESP32-C3, but not yet for ESP32
- Dependent on patched and forked `esp-pacs` version (referenced
relatively for now, please check out and place accordingly)
2022-03-01 14:16:57 +01:00
bjoernQ
4cc78c4b6b
Move GPIO type definitions to esp-hal-common
2022-03-01 14:16:57 +01:00
Björn Quentin
cd7fa5e1ee
Merge pull request #22 from ducktec/feature/boot_watchdogs
...
Disable RWDT watchdog after Startup
2022-02-28 09:18:36 +01:00
Robert Wiewel
2bd1e64df1
Fix comment in esp32c3 ram example
2022-02-28 08:54:26 +01:00