diff options
| author | James Munns <[email protected]> | 2025-12-04 19:24:06 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-04 19:24:06 +0100 |
| commit | 85b92010deb835d27ce30ec0870cdedadf4465ec (patch) | |
| tree | 8a7474daa8aadad67d7b0a0f4cbd42b841b00442 /embassy-mcxa | |
| parent | e7e4d0e03f6ccee7a8577058bfccefaf92b2689e (diff) | |
Tweak how target setting is handled
Diffstat (limited to 'embassy-mcxa')
| -rw-r--r-- | embassy-mcxa/.cargo/config.toml | 2 | ||||
| -rw-r--r-- | embassy-mcxa/Cargo.toml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/embassy-mcxa/.cargo/config.toml b/embassy-mcxa/.cargo/config.toml deleted file mode 100644 index 55dd5ea5f..000000000 --- a/embassy-mcxa/.cargo/config.toml +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | [build] | ||
| 2 | target = "thumbv8m.main-none-eabihf" # Cortex-M33 | ||
diff --git a/embassy-mcxa/Cargo.toml b/embassy-mcxa/Cargo.toml index 5ff6d313c..a2662f424 100644 --- a/embassy-mcxa/Cargo.toml +++ b/embassy-mcxa/Cargo.toml | |||
| @@ -9,6 +9,12 @@ keywords = ["embedded", "hal", "nxp", "mcxa", "embassy"] | |||
| 9 | categories = ["embedded", "hardware-support", "no-std"] | 9 | categories = ["embedded", "hardware-support", "no-std"] |
| 10 | documentation = "https://docs.embassy.dev/embassy-mcxa" | 10 | documentation = "https://docs.embassy.dev/embassy-mcxa" |
| 11 | 11 | ||
| 12 | [package.metadata.embassy] | ||
| 13 | build = [ | ||
| 14 | {target = "thumbv8m.main-none-eabihf", features = ["defmt", "time", "unstable-pac"]}, | ||
| 15 | {target = "thumbv8m.main-none-eabihf", features = ["defmt", "time", "unstable-pac"]}, | ||
| 16 | ] | ||
| 17 | |||
| 12 | [dependencies] | 18 | [dependencies] |
| 13 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } | 19 | cortex-m = { version = "0.7", features = ["critical-section-single-core"] } |
| 14 | # If you would like "device" to be an optional feature, please open an issue. | 20 | # If you would like "device" to be an optional feature, please open an issue. |
