Skip to content

Commit befa121

Browse files
bors[bot]Disasm
andauthored
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 <[email protected]>
2 parents ec7a1a7 + 9d0d893 commit befa121

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cortex-m-rt/link.x.in

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ ASSERT(SIZEOF(.vector_table) > 0x40, "
191191
ERROR(cortex-m-rt): The interrupt vectors are missing.
192192
Possible solutions, from most likely to less likely:
193193
- Link to a svd2rust generated device crate
194+
- Check that you actually use the device/hal/bsp crate in your code
194195
- Disable the 'device' feature of cortex-m-rt to build a generic application (a dependency
195196
may be enabling it)
196197
- Supply the interrupt handlers yourself. Check the documentation for details.");

0 commit comments

Comments
 (0)