embassy-rs / nrf-softdevice

Apache License 2.0
263 stars 79 forks source link

Help with compiling - missing crates #260

Closed Gibbz closed 2 months ago

Gibbz commented 3 months ago

I'm trying to add the softdevice to my project. However I'm getting 118 build errors with the softdevice package. It seems to be missing crates, Ive tried adding them with "cargo add", but it doesn't work.

Here is my pastebin: https://pastebin.com/1RpeFhBj

alexmoon commented 3 months ago

You need to enable one of the "sXXX" features (e.g. "s140") on the nrf_softdevice crate in you Cargo.toml.

Gibbz commented 3 months ago

Great thanks! its compiling now!

For others with the issue, my Cargo.toml

[features] 
default = [
    "ble-l2cap",
    "ble-gatt-server",
    "ble-gatt-client",
    "ble-sec",
]

ble-l2cap = ["nrf-softdevice/ble-l2cap"]
ble-gatt-server = ["nrf-softdevice/ble-gatt-server"]
ble-gatt-client = ["nrf-softdevice/ble-gatt-client"]
ble-sec = ["nrf-softdevice/ble-sec"]

nrf52840 = [
  "embassy-nrf/nrf52840",
  "nrf-softdevice/nrf52840",
  "nrf-softdevice/s140",
  "dep:nrf-softdevice-s140"
]

[dependencies]
# embassy
embassy-futures = { version = "0.1.0"}
embassy-sync = { version = "0.6.0", features = ["defmt"] }
embassy-executor = { version = "0.5.0", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
embassy-time = { version = "0.3.1", features = ["defmt", "defmt-timestamp-uptime"] }
embassy-nrf = { version = "0.1.0", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] }

# log
defmt = "0.3.5"
defmt-rtt = "0.4"

# arm
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7.3"

# misc
panic-probe = { version = "0.3.1", features = ["print-defmt"] }
serde = { version = "1.0.136", default-features = false }

# device driver
mcp4725 = "0.4.2"
ads1x1x = "0.2.2"

# maths
num-traits = { version = "0.2.19", default-features = false, features = ["libm"] }

# nrf softdevice bluetooth
nrf-softdevice-s140 = { version = "0.1.2", optional = true }
nrf-softdevice = { version = "0.1.0", features = ["nrf52840", "s140", "defmt", "ble-peripheral", "ble-central", "critical-section-impl"] }
embedded-storage = "0.3.1"
embedded-storage-async = "0.4.1"
futures = { version = "0.3.29", default-features = false }
fixed = "1.24.0"
heapless = "0.8.0"
atomic-pool = "1.0.1"
static_cell = "2.0.0"
Gibbz commented 3 months ago

Sorry, im still having an issue with this. When using the code from the examples, we need to use a core crate (edit: actually all the nrf_softdevice imports have the same issue). Im using a no-std environment.

use nrf_softdevice::ble::advertisement_builder::{
    Flag, LegacyAdvertisementBuilder, LegacyAdvertisementPayload, ServiceList, ServiceUuid16,
};
use nrf_softdevice::ble::peripheral; 
use nrf_softdevice::{raw, Softdevice};
use core::mem;

When i use this, I cannot compile, i get the single error:

error: linking with `rust-lld` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/bronson/.cargo/bin:/home/bronson/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-ndk:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/bronson/Android/Sdk/tools:/home/bronson/Android/Sdk/platform-tools" VSLANG="1033" "rust-lld" "-flavor" "gnu" "/tmp/rustcAaCM6B/symbols.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.11he2q5fndgbefdn.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.11x5xt1wt1w3geix.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.12fnivugkzayoce8.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.12ypu4koi8im4qo7.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.134qhqn60eds5awr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.15v66278v4ib66b4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.161xgav8hif3nsp0.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.16k0dfkqef09qrd.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.16oyf6al5ly3g4sj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.174kj06h2y6kd52m.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.18h4tavfoltu38ok.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1biw5fkm2cblbiig.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1dtyovcepbfjvw5z.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1e7t7xpmzox8wfmu.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1ewgbvayu0qogy46.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1fcg6nxizfmfl3y9.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1fyf49rfxdju2w0j.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1g2481hdd613edyk.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1hb21wsydo5z8gr3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1hc5kzl7jepodbah.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1o8dg0bvtk546yub.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1odxvqfzcw449ciw.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1pig5e1ystru4612.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1qsmc4uc2wpnraeg.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1r998d7e9q2z5a3c.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1so33rxj278yhsu1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1spdegpngegpvd4r.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1sy0mttfij2rkibk.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.1u4k51qjgz76a5jg.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.20lvus9jo8co46nj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.27mr87rj86bf4ybr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.28z4yakohyh4lcsf.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.299dss2fr4x8wmlw.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.29j7k6xv0vkob0i0.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2et3v2ve84z0erf1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2g29emhzgvbspm8y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2gynk9g8at7h3o3y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2hytzpo8srk3aaeu.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2jc72hl4agrghb2y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2kfir22xjks4rg9m.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2kn70g5m5rix02dy.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2nnx3heu01q57o3w.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2q8mvn3rav0n55s4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2qdx5oy3qs85fs5t.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2rfd9ga4lgdpsob1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2so4mjd17mvtr53c.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2tags5fckpp34rq7.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2uewke4b1es21cfp.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2wzw6krj56700wl.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2xfa6cdihfd2c2v4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.2xztir0swe614il6.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.304wgvqu4wcxstm5.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.31klxqo0e3yig8cy.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.33ft0hnzblb1e9p1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.343s34ufh40drllj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3480rni9hu7xh0qx.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.39dsa3e4q8y1gjad.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.39jy3u2pt300ifgr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3ainz3ebtqny7r4p.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3dvp1yhm1fysyujf.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3dy0litm1qma9slj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3e2wdopy4uqn9k7c.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3efaenq6r3tv8si5.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3g7ebzc22xz0amiv.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3hdybqw3z89dudr7.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3ke4dlvun42meh0t.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3moqx262pz0blino.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3n5v7kdbxkjnwjrg.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3w8dl4grz545fcno.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3wsj47mezb1dj04j.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.3y26gm7ggvjggxvh.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.40rwt6xtlq46jrwz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.41hjg016eaannztv.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.42yhpndby9qgeedt.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.43cgxwstf0qt8ved.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.44wy9csqtr5erlsm.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.462ygbavzx13vq94.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.46jrd86yq4lw68h2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4fje3xnao7r5wrt1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4hg485mnjy9sr86d.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4i7vrhqlfwzbqq2b.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4oc1ks6xhkgi2lzb.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4rqukl8vg8yk0nso.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4sr1s2a0edl74tgl.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4un5676tfsy3zg2k.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4wzw42rm6ryns1vy.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4y2apcey8j8ih8sz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4z40r1dzjf1say2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4z93qp9pe6eurb52.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4zgitqhpnrmdcmvg.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.4zn66wt4q5hal4s8.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.51495szpg2rwnxzq.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5239ms04fukwousf.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.524ij2y6igp5rwfi.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5362fcm6v3nu9pcs.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5509zhc6i5iw3ag3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.56kit77ypawtzgae.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5aq4aeb4tlwmtma1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5dnqbxay88c6yse0.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5fau2q19gzc6n2hs.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5gq07ejwm09kq0xc.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5y2jhoksm06ry9u.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.5z6u83jn238nwig.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.ai5vhg4morifl4z.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.b9779368rmkxrgs.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.bbxgj95jxvuvq1z.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.bfdv6f6cyqsdhol.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.bgl6jnpkdqdg9wz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.da4x899ht5ry59y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.dk5gnf0p3yh7ji2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.e1msz469ehg7fdl.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.fom697xst8pig81.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.g62ql4fvwnxx82h.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.kvtj3oj14f4rdw2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.oyz1toicv970m12.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.qds13y568ocoo3y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.r8gwcmplnaquasz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.sm5afncuearivin.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.srvcpoum7ou2b5d.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.uoq54cu64f2y7w4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.v4lxh1pdms6acfz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a.xfzmg7ofpccg907.rcgu.o" "--as-needed" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/debug/deps" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/bike-aid-nrf-rs-59148343a3af425d/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/cortex-m-0ed499f3c70fb778/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/cortex-m-rt-d94412e0b7575ee5/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/defmt-74dde9ec85e2cf09/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/nrf52840-pac-7c83f41e64f6a1ff/out" "-L" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib" "-Bstatic" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpanic_probe-0499431e019eae63.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libdefmt_rtt-80fce38922a9b94b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_executor-8605e64b13b70506.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf_softdevice-f300b21eb286c83f.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnum_enum-65e9131e93301e97.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures-ab130427174d52dd.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf_softdevice_s140-42bb440af7c67b16.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libmcp4725-c9ef69e5f004b78d.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_nrf-d2ee33b6e6fb72b5.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/librand_core-240854deea2fbe66.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf52840_pac-148d99ac0cbebe50.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m_rt-3ba7d5ff99d1e4ca.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_usb_driver-47eefc5732fa4689.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_embedded_hal-80f14d2ab24cc83e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time-e1735c324e846c98.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time_queue_driver-8cac8c847cd78a2b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal_async-a7133ee140e64db7.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal-9bbc8fabc529ed8c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_futures-2d36504d8ad568f6.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_storage_async-fa893f50497cd0fc.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfixed-d1036bd14f39f813.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libtypenum-f78b1125ec5277a6.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbytemuck-eded448bf2ce0512.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libhalf-e6236d3ba9ad5c4f.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libaz-a5de12ce8b6b129f.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_storage-7e0bfaf881cbe72e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcfg_if-f6ac33ee2c73cb29.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_hal_internal-186fce6580dee9a8.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m-fb97e8f95d8bc989.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal-ddb76ac632444cb0.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvoid-d1eb8d1fb9c8a645.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnb-7a7090af8f572d4c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnb-2e2e2e9ffda25bd1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvolatile_register-878030cc59850d67.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvcell-aefca07218433143.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbare_metal-681a48853ae787a3.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time_driver-a2dab17122e76684.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_sync-e59d5ff37768876c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnum_traits-671a9fed7602da45.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/liblibm-84d55c3b15197847.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_sync-ac682730c1e202e1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_util-4cdc15b1c70b64c2.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpin_project_lite-d0c3bb509ccc18a1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_sink-81d6ab4e8e14ca15.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_task-ff197f99ddc36840.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpin_utils-781c61b8ab94ab1e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_core-5a3f5c72e38d2296.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_io_async-980a54a9f6ffd909.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_io-773dca386276506a.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcritical_section-56ddebd80f3a7dfc.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libdefmt-95dccabf397ab20d.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbitflags-6541b571053c24c3.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libheapless-d0661fad5e143528.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libstable_deref_trait-14688411933b6c93.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libhash32-a8f367431ffa179b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbyteorder-21ff55cb6c407b61.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/librustc_std_workspace_core-d42a66d53256a043.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/libcore-b9eb2bda7efa6368.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/libcompiler_builtins-e1caca45e2f0b5ea.rlib" "-Bdynamic" "--eh-frame-hdr" "-z" "noexecstack" "-L" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib" "-o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-2b316ff02b3bb49a" "--gc-sections" "--nmagic" "-Tlink.x" "-Tdefmt.x"
  = note: rust-lld: error: duplicate symbol: _critical_section_1_0_acquire
          >>> defined at lib.rs:281 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:281)
          >>>            nrf_softdevice-f300b21eb286c83f.nrf_softdevice.a60eb0a3c2e4f353-cgu.4.rcgu.o:(_critical_section_1_0_acquire) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf_softdevice-f300b21eb286c83f.rlib
          >>> defined at lib.rs:281 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:281)
          >>>            cortex_m-fb97e8f95d8bc989.cortex_m.9332e1ad4daf93ef-cgu.0.rcgu.o:(.text._critical_section_1_0_acquire+0x1) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m-fb97e8f95d8bc989.rlib

          rust-lld: error: duplicate symbol: _critical_section_1_0_release
          >>> defined at lib.rs:285 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:285)
          >>>            nrf_softdevice-f300b21eb286c83f.nrf_softdevice.a60eb0a3c2e4f353-cgu.4.rcgu.o:(_critical_section_1_0_release) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf_softdevice-f300b21eb286c83f.rlib
          >>> defined at lib.rs:285 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:285)
          >>>            cortex_m-fb97e8f95d8bc989.cortex_m.9332e1ad4daf93ef-cgu.0.rcgu.o:(.text._critical_section_1_0_release+0x1) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m-fb97e8f95d8bc989.rlib
alexmoon commented 3 months ago

You need to remove the critical-section-single-core feature from cortex-m. It is not compatible with the softdevice.

Gibbz commented 3 months ago

When i remove the critical-section-single-core I get the following error:


error: linking with `rust-lld` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/bronson/.cargo/bin:/home/bronson/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-ndk:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/bronson/Android/Sdk/tools:/home/bronson/Android/Sdk/platform-tools" VSLANG="1033" "rust-lld" "-flavor" "gnu" "/tmp/rustckr8dN0/symbols.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.14gfil6cg0fziylu.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1c4klxpay6lt73wq.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1cffb8r3y2ur10q3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1ctiw2mz8fa2wtyi.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1cty80ucs8s7du29.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1cx10t5suo6vwv5d.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1dxzbmsx888pkvne.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1iobgxo1ekaouna4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1irjn8zso0e5ft1m.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1is79plj3t60gi2w.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1kmyapo5p789dfrr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1nggjod5va1h5290.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1nopimm4rhjxy84o.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1nzckum0pkgskxws.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1p5wxuvjo5u35241.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1pm695fra8tk7wtd.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1vb80cw0aavxrlfe.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.1wfxefnin0kxqjn8.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.20rh8rjn54eilvgr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.20z1i1l3qj48pgtc.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.22xhiclgk1fn3irs.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.23qpino3glf1i7li.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.24eqiiklne4jh307.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.29mf4y5h5gfmbil.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2balghlcl97gs2pv.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2d8wn8imw31rsipk.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2dtfvygq1ixv6pq8.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2nhwaw4jwh801a4i.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2nodfmhrajsckp7u.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2owi7dy245u7ezu7.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2rfzphvrlh2ibi5x.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2t9eux3sbi58hw30.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2untswagd9lrwd5o.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2wb982p669317w0t.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2xgoouho40i7c63l.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2zed1nwnfxd9ot16.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.2zqsitva8m03il57.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.30kec4s5f9zjmdg3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.358j6jpidta7ksuj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.38ttavi3ek0i5baa.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.39jtm0dfib66dra9.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3bh0d3pflf62qd8y.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3cf9bisyzo3qux6n.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3ctb0znop2ao6v1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3dq0ovoky2e1rc44.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3fwod468h5ssbjpd.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3hnl7nxsvwu1q5cj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3jyqqt64wmcwue4n.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3lsisgab5yw96dgl.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3o3xbu15j0w332qh.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3o97ol6dxky1w6ui.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3oeomhrxgdnni5nf.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3rb26h7brr1kiizw.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3vjdwrcmolopnotz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3vk4k3b3fpec2jks.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3vljv11azwenkxhk.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3w6i5eo3ue2i5p6b.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3w7sck3o9p6q72rs.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3xzpzw0roirle9vo.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.3zga1lc9fnk4w889.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.45co0ke716qm0t5z.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.46wunieckmwmt62k.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.470vyqaa8ncagf3t.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.473nrz9d6ne3ezxq.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.478tabl05mm7bnvn.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4aj3mq6gctgtkpwz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4ar8eki6r0t9tjqt.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4b8rtqiq1n00eva8.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4bk3hti1y7dc5qq4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4bp8l5pgnj3yhali.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4c96sz0b2up0upsv.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4elk4p4qqfnsxcev.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4f9rnhnj2d8n3pow.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4hk6pgoun2cng8qj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4n6vxvjewjr9b549.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4neivnlcre9j2eld.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4pp1blhb7gv2kzd1.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4qx898xm9yjqm2s0.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4tgd8b64w7wetaon.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4tgk6lyn5yx45dna.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4tttpfqlskhivsj6.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4wjfa7lmrom0opnl.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4wlp9f1lxt6zf3zz.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4xjck4w6na14yfds.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4xtacec5rryw9nio.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.4xy1yc71ytsz8man.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.50q61lkbl44dqvdf.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.51btjuxhh3xkx2k3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.51oqazc0uvqi4zn2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.549tn2phpvrj44ci.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.54j0ya7svw78m97o.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.54oeojqux0ho39x2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.57jqvphnelwxvhw0.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.59jhw9a5fch5j6j3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.59jt1sqlw0vx01do.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.5c57e2vhp4ha5l00.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.5cbzj503r1hl2r58.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.5ei2k4dj2s9wxjc9.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.6c3p8ntwx92hp1q.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.7ono58eyuz47mwj.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.bdax2k3p6fb7nj2.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.e5aa4pm4lhfh5la.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.gvh6gc72wz3mqje.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.h5nwit8qbhhd0xp.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.hwdscuw1kpl238s.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.iqe6rwi97xfl7pg.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.jsuevda0rqnmwtu.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.n1nhl0s9n84pch3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.po64n8p1m3pqfp4.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.po7ea6jrdelh0so.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.rbqynmmndq2ct6q.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.ree9o4rm8cr437r.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.srw73jxkaf0glcx.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.tnm82628z166f8n.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.v708cjv3p25k1nr.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.x2mbutmotr2bm9e.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.xggr5uxfsdvrdm3.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.xt3mrwr6ubs838t.rcgu.o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.xul9wn2m664oorx.rcgu.o" "--as-needed" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/debug/deps" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/bike-aid-nrf-rs-1558dcce9781bc1f/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/cortex-m-0b11110bca5dcb27/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/cortex-m-rt-d94412e0b7575ee5/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/defmt-74dde9ec85e2cf09/out" "-L" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/build/nrf52840-pac-1f7a8fc8df98e13e/out" "-L" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib" "-Bstatic" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libstatic_cell-95d3bb6d17838e8e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libportable_atomic-7c267a1f2b91f930.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpanic_probe-51ad88008502b8d7.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libdefmt_rtt-80fce38922a9b94b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_executor-c84ee75b80b933a3.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_nrf-a152b4318f6a6542.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/librand_core-240854deea2fbe66.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnrf52840_pac-82c6b2a1addaf895.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m_rt-3ba7d5ff99d1e4ca.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_usb_driver-47eefc5732fa4689.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_embedded_hal-80f14d2ab24cc83e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_futures-2d36504d8ad568f6.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_storage_async-fa893f50497cd0fc.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfixed-d1036bd14f39f813.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libtypenum-f78b1125ec5277a6.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbytemuck-eded448bf2ce0512.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libhalf-e6236d3ba9ad5c4f.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libaz-a5de12ce8b6b129f.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_storage-7e0bfaf881cbe72e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcfg_if-f6ac33ee2c73cb29.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_hal_internal-08be9b3776ab318e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcortex_m-61d931d49f11706b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvolatile_register-878030cc59850d67.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvcell-aefca07218433143.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbare_metal-681a48853ae787a3.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_sync-e59d5ff37768876c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time-e1735c324e846c98.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time_queue_driver-8cac8c847cd78a2b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal-ddb76ac632444cb0.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libvoid-d1eb8d1fb9c8a645.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnb-7a7090af8f572d4c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnb-2e2e2e9ffda25bd1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal_async-a7133ee140e64db7.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_hal-9bbc8fabc529ed8c.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_time_driver-a2dab17122e76684.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libnum_traits-671a9fed7602da45.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/liblibm-84d55c3b15197847.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_sync-ac682730c1e202e1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_util-4cdc15b1c70b64c2.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpin_project_lite-d0c3bb509ccc18a1.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_sink-81d6ab4e8e14ca15.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_task-ff197f99ddc36840.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libpin_utils-781c61b8ab94ab1e.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libfutures_core-5a3f5c72e38d2296.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_io_async-980a54a9f6ffd909.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembedded_io-773dca386276506a.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libcritical_section-56ddebd80f3a7dfc.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libdefmt-95dccabf397ab20d.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbitflags-6541b571053c24c3.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libheapless-d0661fad5e143528.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libstable_deref_trait-14688411933b6c93.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libhash32-a8f367431ffa179b.rlib" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libbyteorder-21ff55cb6c407b61.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/librustc_std_workspace_core-d42a66d53256a043.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/libcore-b9eb2bda7efa6368.rlib" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib/libcompiler_builtins-e1caca45e2f0b5ea.rlib" "-Bdynamic" "--eh-frame-hdr" "-z" "noexecstack" "-L" "/home/bronson/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabi/lib" "-o" "/home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42" "--gc-sections" "--nmagic" "-Tlink.x" "-Tdefmt.x"
  = note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire
          >>> referenced by lib.rs:183 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:183)
          >>>               /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.h5nwit8qbhhd0xp.rcgu.o:(critical_section::with::h059d260d681a1729)
          >>> referenced by lib.rs:183 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:183)
          >>>               /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.h5nwit8qbhhd0xp.rcgu.o:(critical_section::with::h0b7e10593004d3e6)
          >>> referenced by lib.rs:183 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:183)
          >>>               /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/bike_aid_nrf_rs-252983d24a92fe42.h5nwit8qbhhd0xp.rcgu.o:(critical_section::with::h159f861ac46fa7ad)
          >>> referenced 34 more times

          rust-lld: error: undefined symbol: _critical_section_1_0_release
          >>> referenced by lib.rs:200 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:200)
          >>>               embassy_executor-c84ee75b80b933a3.embassy_executor.8c6e8a818bfb0842-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h2af7496f4a5743fb) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_executor-c84ee75b80b933a3.rlib
          >>> referenced by lib.rs:200 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:200)
          >>>               defmt_rtt-80fce38922a9b94b.defmt_rtt.eb28a58dfd2b37ce-cgu.0.rcgu.o:(_$LT$defmt_rtt..Logger$u20$as$u20$defmt..traits..Logger$GT$::release::h13b9c5e44d9c5fe4) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libdefmt_rtt-80fce38922a9b94b.rlib
          >>> referenced by lib.rs:200 (/home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/critical-section-1.1.2/src/lib.rs:200)
          >>>               embassy_sync-e59d5ff37768876c.embassy_sync.c51c9d5126782167-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h123902211f7fe3f8) in archive /home/bronson/Projects/bike-aid/bike-aid-nrf-rs/target/thumbv7em-none-eabi/debug/deps/libembassy_sync-e59d5ff37768876c.rlib
Gibbz commented 3 months ago

Ok ive got it compiling! Now when i run the example on the nrf52840 chip, I get the following error:

ERROR panicked at 'sd_softdevice_enable err SdmIncorrectInterruptConfiguration'
└─ nrf_softdevice::softdevice::{impl#0}::enable @ /home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nrf-softdevice-0.1.0/src/fmt.rs:101 
ERROR panicked at /home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/defmt-0.3.8/src/lib.rs:367:5:
explicit panic
└─ panic_probe::print_defmt::print @ /home/bronson/.cargo/registry/src/index.crates.io-6f17d22bba15001f/panic-probe-0.3.2/src/lib.rs:104 

Should i open a separate issue for this?

My task(one of the examples):

use defmt::{*};
use embassy_executor::Spawner;
use nrf_softdevice::ble::advertisement_builder::{Flag, LegacyAdvertisementBuilder, LegacyAdvertisementPayload, ServiceList, ServiceUuid16};
use nrf_softdevice::ble::peripheral;
use nrf_softdevice::{raw, Softdevice};
use core::mem;

static TASK_ID : &str = "BLUETOOTH";

#[embassy_executor::task]
pub async fn bluetooth (
    spawner: Spawner
) {
    info!("{} : Starting task", TASK_ID);

    // softdevice config
    let config = nrf_softdevice::Config {
        clock: Some(raw::nrf_clock_lf_cfg_t {
            source: raw::NRF_CLOCK_LF_SRC_RC as u8,
            rc_ctiv: 16,
            rc_temp_ctiv: 2,
            accuracy: raw::NRF_CLOCK_LF_ACCURACY_500_PPM as u8,
        }),
        conn_gap: Some(raw::ble_gap_conn_cfg_t {
            conn_count: 6,
            event_length: 24,
        }),
        conn_gatt: Some(raw::ble_gatt_conn_cfg_t { att_mtu: 256 }),
        gatts_attr_tab_size: Some(raw::ble_gatts_cfg_attr_tab_size_t {
            attr_tab_size: raw::BLE_GATTS_ATTR_TAB_SIZE_DEFAULT,
        }),
        gap_role_count: Some(raw::ble_gap_cfg_role_count_t {
            adv_set_count: 1,
            periph_role_count: 3,
            central_role_count: 3,
            central_sec_count: 0,
            _bitfield_1: raw::ble_gap_cfg_role_count_t::new_bitfield_1(0),
        }),
        gap_device_name: Some(raw::ble_gap_cfg_device_name_t {
            p_value: b"HelloRust" as *const u8 as _,
            current_len: 9,
            max_len: 9,
            write_perm: unsafe { mem::zeroed() },
            _bitfield_1: raw::ble_gap_cfg_device_name_t::new_bitfield_1(raw::BLE_GATTS_VLOC_STACK as u8),
        }),
        ..Default::default()
    };

    // spawn softdevice task
    let sd = Softdevice::enable(&config);
    unwrap!(spawner.spawn(softdevice_task(sd)));

    // change config    
    let mut config = peripheral::Config::default();
    config.interval = 50;

    static ADV_DATA: LegacyAdvertisementPayload = LegacyAdvertisementBuilder::new()
        .flags(&[Flag::GeneralDiscovery, Flag::LE_Only])
        .services_16(ServiceList::Complete, &[ServiceUuid16::HEALTH_THERMOMETER]) // if there were a lot of these there may not be room for the full name
        .short_name("Hello")
        .build();

    // but we can put it in the scan data
    // so the full name is visible once connected
    static SCAN_DATA: LegacyAdvertisementPayload = LegacyAdvertisementBuilder::new().full_name("Hello, Rust!").build();

    let adv = peripheral::NonconnectableAdvertisement::ScannableUndirected {
        adv_data: &ADV_DATA,
        scan_data: &SCAN_DATA,
    };
    unwrap!(peripheral::advertise(sd, adv, &config).await);
}

#[embassy_executor::task]
async fn softdevice_task(sd: &'static Softdevice) -> ! {
    sd.run().await
}
daagaak commented 3 months ago

Using the softdevice requires setting up embassy-nrf to adhere to the soft device interrupt requirements: https://github.com/embassy-rs/nrf-softdevice/blob/master/examples/src/bin/ble_peripheral_onoff.rs#L82

Interrupt levels 0, 1 and 4 are reserved by the softdevice if it is enabled: https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd.html

The default is zero (I think) and so without further configuration at start up you will hit this assertion in the softdevice.

Gibbz commented 3 months ago

Thanks. I have added the config to my main.rs

    let mut config = embassy_nrf::config::Config::default();
    config.gpiote_interrupt_priority = Priority::P2;
    config.time_interrupt_priority = Priority::P2;
    let p = embassy_nrf::init(config);

But im still getting the same issue when running. Do I need to change the bindinterrupts im using for my i2c in some way?

    let i2c_bus = {
        use embassy_nrf::{bind_interrupts, peripherals::{self}};
        bind_interrupts!(struct Irqs {SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 => twim::InterruptHandler<peripherals::TWISPI0>;});
        let config = twim::Config::default();
        let i2c = Twim::new(p.TWISPI0, Irqs, p.P0_06, p.P0_08, config); // sda: p0.06, scl: p0.08
        let i2c_bus = Mutex::new(i2c);
        //let i2c_bus = NoopMutex::new(RefCell::new(i2c));
        //let i2c_bus = embassy_sync::mutex::Mutex::new(RefCell::new(i2c));
        I2C_BUS.init(i2c_bus)
    };

If i remove the i2c device from code, I get this error when running:

ERROR probe_rs::architecture::arm::core::armv7m: The core is in locked up status as a result of an unrecoverable exception
ERROR probe_rs::architecture::arm::core::armv7m: The core is in locked up status as a result of an unrecoverable exception
Error: The core is locked up.

Do I need to add this to my toml somewhere?

[[bin]]
name = "ble_bas_peripheral"
required-features = ["ble-gatt-server"]
Gibbz commented 2 months ago

I found the following to try and set priority on my interrupts, but it doesn't work: https://github.com/embassy-rs/embassy/issues/1541

Example

    use embassy_nrf::interrupt::Interrupt;
    embassy_nrf::interrupt::TEMP::set_priority(Priority::P2);  // <- Error: failed to resolve: `TEMP` is a variant, not a module
    bind_interrupts!(struct Irqs {
        TEMP => temp::InterruptHandler;
    });

The same for twim

        use embassy_nrf::interrupt::Interrupt;
        embassy_nrf::interrupt::SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0::set_priority(interrupt::Priority::P2); // <- Error: failed to resolve: `...` is a variant, not a module
        bind_interrupts!(struct Irqs {SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 => twim::InterruptHandler<peripherals::TWISPI0>;});
Gibbz commented 2 months ago

Ok I fixed the priority issue. Now I just have the core lockup issue. I'll open a new issue for that.