Skip to content

Commit

Permalink
example: fix the compilation target to Cortex-M4F using hard floats
Browse files Browse the repository at this point in the history
This fixes the issue of mismatched binary of Cryptocell310 and the
nRF compilation target, making cryptocell310-based backend work in this
example, as well. Using now the cryptocell310 backend by default.
  • Loading branch information
malishav committed Oct 25, 2024
1 parent d806f7a commit 7a6d147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/lakers-nrf52840/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
runner = "probe-rs run --chip nRF52840_xxAA"

[build]
target = "thumbv7em-none-eabi"
target = "thumbv7em-none-eabihf"

[env]
DEFMT_LOG = "trace"
2 changes: 1 addition & 1 deletion examples/lakers-nrf52840/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cortex-m-rt = "0.7.0"
panic-probe = { version = "0.3", features = ["print-defmt"] }

[features]
default = [ "crypto-psa", "ead-none" ]
default = [ "crypto-cryptocell310", "ead-none" ]
crypto-cryptocell310 = [ "lakers-crypto/cryptocell310" ]
crypto-psa = [ "lakers-crypto/psa-baremetal" ]
ead-none = [ ]
Expand Down

0 comments on commit 7a6d147

Please sign in to comment.