diff options
author | 2020-01-08 13:22:51 +0000 | |
---|---|---|
committer | 2020-01-08 13:22:51 +0000 | |
commit | befa1213606ce22306584f04473c2271ce55e708 (patch) | |
tree | 4c58fcf420c5441468b65445fffd066afcd11f9c | |
parent | ec7a1a7fdaa26f686b22fe01b1c0f6387ab260b9 (diff) | |
parent | 9d0d89308efad03dd681db6c9381a330de49b27a (diff) | |
download | cortex-m-befa1213606ce22306584f04473c2271ce55e708.tar.gz cortex-m-befa1213606ce22306584f04473c2271ce55e708.tar.zst cortex-m-befa1213606ce22306584f04473c2271ce55e708.zip |
Merge #235
235: Document a possible reason for the 'interrupt vectors are missing' error r=korken89 a=Disasm
This error happens when you have all the needed dependencies in Cargo.toml but do not use them yet in main.rs. Due to the fact that you already "have" a "svd2rust generated device crate", this error is quite confusing.
Co-authored-by: Vadim Kaushan <admin@disasm.info>
-rw-r--r-- | cortex-m-rt/link.x.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cortex-m-rt/link.x.in b/cortex-m-rt/link.x.in index 30d4af1..4db25fa 100644 --- a/cortex-m-rt/link.x.in +++ b/cortex-m-rt/link.x.in @@ -191,6 +191,7 @@ ASSERT(SIZEOF(.vector_table) > 0x40, " ERROR(cortex-m-rt): The interrupt vectors are missing. Possible solutions, from most likely to less likely: - Link to a svd2rust generated device crate +- Check that you actually use the device/hal/bsp crate in your code - Disable the 'device' feature of cortex-m-rt to build a generic application (a dependency may be enabling it) - Supply the interrupt handlers yourself. Check the documentation for details."); |