Skip to content

Commit

Permalink
wip: fix demo build
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 24, 2024
1 parent b4ce5d8 commit 70ef7cd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 247 deletions.
2 changes: 1 addition & 1 deletion examples/hpm6e00evk/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustflags = [
"-C",
"link-arg=-Tdevice.x", # __VECTORED_INTERRUPTS
"-C",
"link-arg=-Tlink-fixed.x",
"link-arg=-Tlink.x",
"-C",
"link-arg=-Tdefmt.x",
"-C",
Expand Down
19 changes: 4 additions & 15 deletions examples/hpm6e00evk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resolver = "2"
[dependencies]
hpm-hal = { path = "../../", features = ["hpm6e80", "rt", "embassy"] }

panic-halt = "0.2.0"
panic-halt = "1.0.0"

defmt = "0.3.8"
defmt-rtt = "0.4.1"
Expand All @@ -16,8 +16,8 @@ riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
heapless = "0.8.0"

embassy-time = { version = "0.3.0", features = ["tick-hz-1_000_000"] }
embassy-executor = { version = "0.6.0", features = [
"nightly",
embassy-executor = { version = "0.6.3", features = [
# "nightly",
"integrated-timers",
"arch-riscv32",
"executor-thread",
Expand All @@ -33,21 +33,10 @@ futures-util = { version = "0.3", default-features = false }
tinygif = "0.0.4"
assign-resources = "0.4.1"
embedded-hal-bus = "0.2.0"
embassy-sync = "0.6.0"
embassy-sync = "0.6.1"
usbd-hid = "0.8"
static_cell = "2"

edrv-bh1750 = { path = "../../../../embedded-drivers/bh1750" }
edrv-bme280 = { path = "../../../../embedded-drivers/bme280" }
edrv-bmp180 = { path = "../../../../embedded-drivers/bmp180" }
edrv-bme680 = { path = "../../../../embedded-drivers/bme680" }

edrv-mpu6050 = { path = "../../../../embedded-drivers/mpu6050" }
edrv-apds9930 = { path = "../../../../embedded-drivers/apds9930" }

edrv-ltr390uv = { path = "../../../../embedded-drivers/ltr390uv" }

edrv-spl06 = { path = "../../../../embedded-drivers/spl06" }

[profile.release]
strip = false # symbols are not flashed to the microcontroller, so don't strip them.
Expand Down
229 changes: 0 additions & 229 deletions examples/hpm6e00evk/link-fixed.x

This file was deleted.

7 changes: 5 additions & 2 deletions examples/hpm6e00evk/memory.x
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ MEMORY
}

REGION_ALIAS("REGION_TEXT", XPI0_APP);
REGION_ALIAS("REGION_FASTTEXT", ILM0);
REGION_ALIAS("REGION_FASTDATA", DLM0);
REGION_ALIAS("REGION_RODATA", XPI0_APP);
REGION_ALIAS("REGION_DATA", DLM0);
REGION_ALIAS("REGION_BSS", DLM0)
REGION_ALIAS("REGION_BSS", DLM0);
REGION_ALIAS("REGION_HEAP", DLM0);
REGION_ALIAS("REGION_STACK", DLM0);
REGION_ALIAS("REGION_FASTTEXT", ILM0);
REGION_ALIAS("REGION_NONCACHEABLE_RAM", AXI_SRAM);

0 comments on commit 70ef7cd

Please sign in to comment.