Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Jan 10, 2024
1 parent a7d8a01 commit bb88e26
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ perform_checks() {
cd ..
}

complex_wifi_arg=""

# Generate templates
cargo generate \
--path $template_path --name=test-complex --silent --vcs=none \
-d advanced=true -d ci=false -d devcontainer=false -d wokwi=false \
-d alloc=true $complex_wifi_arg -d mcu=$1
-d alloc=true -d wifi=true -d mcu=$1

cargo generate \
--path $template_path --name=test-simple --silent --vcs=none \
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ log = { version = "0.4.20" }
esp-alloc = { version = "0.3.0" }
{% endif -%}
{% if wifi -%}
esp-wifi = { version = "0.2.0", features = ["{{ mcu }}", "{{ wifi_feature }}"] }
esp-wifi = { version = "0.2.0", features = ["{{ mcu }}", "{{ esp_wifi_feature }}"] }
smoltcp = { version = "0.10.0", default-features=false, features = ["proto-igmp", "proto-ipv4", "socket-tcp", "socket-icmp", "socket-udp", "medium-ethernet", "proto-dhcpv4", "socket-raw", "socket-dhcpv4"] }
embedded-svc = { version = "0.26.1", default-features = false, features = [] }
embedded-io = "0.6.1"
Expand Down
2 changes: 1 addition & 1 deletion pre-script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ let timer = ${mcu}_hal::${meta.esp_wifi_timer};
let _init = esp_wifi::initialize(
esp_wifi::EspWifiInitFor::${meta.esp_wifi_init},
timer,
Rng::new(peripherals.RNG),
${mcu}_hal::rng::Rng::new(peripherals.RNG),
system.radio_clock_control,
&clocks,
)
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use {{ mcu }}_hal::{clock::ClockControl, peripherals::Peripherals, prelude::*, Delay};
use esp_backtrace as _;
use esp_println::println;

{% if alloc -%}
{{ alloc_snippet }}
Expand Down

0 comments on commit bb88e26

Please sign in to comment.