Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New releases for all HALs #265

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions esp-hal-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-hal-common"
version = "0.2.0"
version = "0.3.0"
authors = [
"Jesse Braham <[email protected]>",
"Björn Quentin <[email protected]>",
Expand All @@ -18,23 +18,23 @@ embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
fugit = "0.3.6"
lock_api = { version = "0.4.8", optional = true }
lock_api = { version = "0.4.9", optional = true }
nb = "1.0.0"
paste = "=1.0.8"
procmacros = { version = "0.1.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
void = { version = "1.0.2", default-features = false }
embedded-dma = "0.2.0"
esp-synopsys-usb-otg = { version = "0.3.1", optional = true, features = ["fs", "esp32sx"] }
usb-device = { version = "0.2.3", optional = true }
usb-device = { version = "0.2.9", optional = true }

# async
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embassy-sync = { version = "0.1.0", optional = true }
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }

# RISC-V
riscv = { version = "0.9.0", optional = true }
riscv-atomic-emulation-trap = { version = "0.2.0", optional = true }
riscv = { version = "0.10.0", optional = true }
riscv-atomic-emulation-trap = { version = "0.2.0", optional = true }

# Xtensa
xtensa-lx = { version = "0.7.0", optional = true }
Expand All @@ -51,8 +51,8 @@ ufmt-write = { version = "0.1.0", optional = true }
# corresponding feature. We rename the PAC packages because we cannot
# have dependencies and features with the same names.
esp32 = { version = "0.15.0", features = ["critical-section"], optional = true }
esp32c2 = { version = "0.5.0", features = ["critical-section"], optional = true }
esp32c3 = { version = "0.8.0", features = ["critical-section"], optional = true }
esp32c2 = { version = "0.5.1", features = ["critical-section"], optional = true }
esp32c3 = { version = "0.8.1", features = ["critical-section"], optional = true }
esp32s2 = { version = "0.6.0", features = ["critical-section"], optional = true }
esp32s3 = { version = "0.8.0", features = ["critical-section"], optional = true }

Expand Down
42 changes: 21 additions & 21 deletions esp32-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp32-hal"
version = "0.5.0"
version = "0.6.0"
authors = [
"Jesse Braham <[email protected]>",
"Björn Quentin <[email protected]>",
Expand All @@ -25,35 +25,35 @@ categories = [
]

[dependencies]
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.2.0", features = ["esp32"], path = "../esp-hal-common" }
xtensa-lx = { version = "0.7.0", features = ["esp32"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32"], optional = true }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.3.0", features = ["esp32"], path = "../esp-hal-common" }
xtensa-lx = { version = "0.7.0", features = ["esp32"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32"], optional = true }

[dev-dependencies]
critical-section = "1.1.0"
critical-section = "1.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f9", features = ["nightly", "integrated-timers"] }
embedded-graphics = "0.7.1"
esp-backtrace = { version = "0.2.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.0", features = ["esp32"] }
esp-backtrace = { version = "0.3.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.1", features = ["esp32"] }
smart-leds = "0.3.0"
ssd1306 = "0.7.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f945ccd5c4ef2af77230042dd4954e981ac", features = ["nightly", "integrated-timers"] }
static_cell = "1.0.0"

[features]
default = ["rt", "vectored"]
bluetooth = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["xtensa-lx-rt/esp32"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
default = ["rt", "vectored"]
bluetooth = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["xtensa-lx-rt/esp32"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
embassy-time-timg = ["esp-hal-common/embassy-time-timg", "embassy-time/tick-hz-1_000_000"]

[[example]]
Expand Down
42 changes: 21 additions & 21 deletions esp32c2-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,34 @@ categories = [
]

[dependencies]
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.2.0", features = ["esp32c2"], path = "../esp-hal-common" }
r0 = "1.0.0"
riscv = "0.9.0"
riscv-rt = { version = "0.9.0", optional = true }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.3.0", features = ["esp32c2"], path = "../esp-hal-common" }
r0 = "1.0.0"
riscv = "0.10.0"
riscv-rt = { version = "0.10.0", optional = true }

[dev-dependencies]
critical-section = "1.1.0"
critical-section = "1.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f9", features = ["nightly", "integrated-timers"] }
embedded-graphics = "0.7.1"
esp-backtrace = { version = "0.3.0", features = ["esp32c2", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.0", features = ["esp32c2"] }
esp-println = { version = "0.3.1", features = ["esp32c2"] }
ssd1306 = "0.7.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f945ccd5c4ef2af77230042dd4954e981ac", features = ["nightly", "integrated-timers"] }
static_cell = "1.0.0"
static_cell = "1.0.0"

[features]
default = ["rt", "vectored"]
direct-boot = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["riscv-rt"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
default = ["rt", "vectored"]
direct-boot = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["riscv-rt"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]

[[example]]
Expand All @@ -65,4 +65,4 @@ required-features = ["eh1"]

[[example]]
name = "embassy_hello_world"
required-features = ["embassy"]
required-features = ["embassy"]
52 changes: 26 additions & 26 deletions esp32c3-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp32c3-hal"
version = "0.2.0"
version = "0.3.0"
authors = [
"Jesse Braham <[email protected]>",
"Björn Quentin <[email protected]>",
Expand All @@ -25,39 +25,39 @@ categories = [
]

[dependencies]
cfg-if = "1.0"
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.2.0", features = ["esp32c3"], path = "../esp-hal-common" }
r0 = "1.0.0"
riscv = "0.9.0"
riscv-rt = { version = "0.9.0", optional = true }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
cfg-if = "1.0.0"
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.3.0", features = ["esp32c3"], path = "../esp-hal-common" }
r0 = "1.0.0"
riscv = "0.10.0"
riscv-rt = { version = "0.10.0", optional = true }

[dev-dependencies]
critical-section = "1.1.0"
critical-section = "1.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f9", features = ["nightly", "integrated-timers"] }
embedded-graphics = "0.7.1"
esp-backtrace = { version = "0.2.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.3.0", features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.1", features = ["esp32c3"] }
smart-leds = "0.3.0"
ssd1306 = "0.7.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f945ccd5c4ef2af77230042dd4954e981ac", features = ["nightly", "integrated-timers"] }
static_cell = "1.0.0"
static_cell = "1.0.0"

[features]
default = ["rt", "vectored"]
mcu-boot = []
direct-boot = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["riscv-rt"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
allow-opt-level-z = []
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
default = ["rt", "vectored"]
mcu-boot = []
direct-boot = []
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["riscv-rt"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
allow-opt-level-z = []
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]

[[example]]
Expand Down
32 changes: 16 additions & 16 deletions esp32s2-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp32s2-hal"
version = "0.2.0"
version = "0.3.0"
authors = [
"Jesse Braham <[email protected]>",
"Björn Quentin <[email protected]>",
Expand All @@ -25,27 +25,27 @@ categories = [
]

[dependencies]
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.2.0", features = ["esp32s2"], path = "../esp-hal-common" }
xtensa-lx = { version = "0.7.0", features = ["esp32s2"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32s2"], optional = true }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.3.0", features = ["esp32s2"], path = "../esp-hal-common" }
xtensa-lx = { version = "0.7.0", features = ["esp32s2"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32s2"], optional = true }
xtensa-atomic-emulation-trap = { version = "0.2.0", features = ["esp32s2"] }

[dev-dependencies]
critical-section = "1.1.0"
critical-section = "1.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f9", features = ["nightly", "integrated-timers"] }
embedded-graphics = "0.7.1"
esp-backtrace = { version = "0.2.0", features = ["esp32s2", "panic-handler", "print-uart"] }
esp-println = { version = "0.3.0", features = ["esp32s2"] }
esp-backtrace = { version = "0.3.0", features = ["esp32s2", "panic-handler", "print-uart"] }
esp-println = { version = "0.3.1", features = ["esp32s2"] }
smart-leds = "0.3.0"
ssd1306 = "0.7.1"
usb-device = { version = "0.2.3" }
usb-device = { version = "0.2.9" }
usbd-serial = "0.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f945ccd5c4ef2af77230042dd4954e981ac", features = ["nightly", "integrated-timers"] }
static_cell = "1.0.0"
static_cell = "1.0.0"

[features]
default = ["rt", "vectored"]
Expand All @@ -54,8 +54,8 @@ rt = ["xtensa-lx-rt/esp32s2"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
# FIXME:
# - add 80_000_000 support to embassy time
# - Fix https://github.com/esp-rs/esp-hal/issues/253
Expand Down
52 changes: 26 additions & 26 deletions esp32s3-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp32s3-hal"
version = "0.2.0"
version = "0.3.0"
authors = [
"Jesse Braham <[email protected]>",
"Björn Quentin <[email protected]>",
Expand All @@ -25,41 +25,41 @@ categories = [
]

[dependencies]
bare-metal = "1.0.0"
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.2.0", features = ["esp32s3"], path = "../esp-hal-common" }
r0 = { version = "1.0.0", optional = true }
xtensa-lx = { version = "0.7.0", features = ["esp32s3"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32s3"], optional = true }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
bare-metal = "1.0.0"
embassy-time = { version = "0.1.0", features = ["nightly"], optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-hal-1 = { version = "=1.0.0-alpha.9", optional = true, package = "embedded-hal" }
embedded-hal-async = { version = "0.1.0-alpha.3", optional = true }
embedded-hal-nb = { version = "=1.0.0-alpha.1", optional = true }
esp-hal-common = { version = "0.3.0", features = ["esp32s3"], path = "../esp-hal-common" }
r0 = { version = "1.0.0", optional = true }
xtensa-lx = { version = "0.7.0", features = ["esp32s3"] }
xtensa-lx-rt = { version = "0.13.0", features = ["esp32s3"], optional = true }

[dev-dependencies]
critical-section = "1.1.0"
critical-section = "1.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f9", features = ["nightly", "integrated-timers"] }
embedded-graphics = "0.7.1"
esp-backtrace = { version = "0.2.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.0", features = ["esp32s3"] }
esp-backtrace = { version = "0.3.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.3.1", features = ["esp32s3"] }
smart-leds = "0.3.0"
ssd1306 = "0.7.1"
usb-device = { version = "0.2.3" }
usb-device = { version = "0.2.9" }
usbd-serial = "0.1.1"
embassy-executor = { package = "embassy-executor", git = "https://github.com/embassy-rs/embassy/", rev = "eed34f945ccd5c4ef2af77230042dd4954e981ac", features = ["nightly", "integrated-timers"] }
static_cell = "1.0.0"
static_cell = "1.0.0"

[features]
default = ["rt", "vectored"]
direct-boot = ["r0"]
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["xtensa-lx-rt/esp32s3"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
default = ["rt", "vectored"]
direct-boot = ["r0"]
eh1 = ["esp-hal-common/eh1", "dep:embedded-hal-1", "dep:embedded-hal-nb"]
rt = ["xtensa-lx-rt/esp32s3"]
smartled = ["esp-hal-common/smartled"]
ufmt = ["esp-hal-common/ufmt"]
vectored = ["esp-hal-common/vectored"]
async = ["esp-hal-common/async", "embedded-hal-async"]
embassy = ["esp-hal-common/embassy"]
embassy-time-systick = ["esp-hal-common/embassy-time-systick", "embassy-time/tick-hz-16_000_000"]
embassy-time-timg = ["esp-hal-common/embassy-time-timg", "embassy-time/tick-hz-1_000_000"]
embassy-time-timg = ["esp-hal-common/embassy-time-timg", "embassy-time/tick-hz-1_000_000"]

[[example]]
name = "hello_rgb"
Expand Down