FactbirdHQ / atat

no_std crate for parsing AT commands
Apache License 2.0
115 stars 31 forks source link

use target.thumbv7em-none-eabihf.dev-dependencies #106

Closed andresv closed 3 years ago

andresv commented 3 years ago

Then dev-dependencies (examples) are built only for thumbv7em-none-eabihf. This fixed #104 for me.

Now I can run cargo test --tests and everything builds and runs. Without this I got:

   Compiling stm32l4 v0.12.1
   Compiling stm32l4xx-hal v0.5.0 (https://github.com/MathiasKoch/stm32l4xx-hal?branch=enhancement/prepare-embedded-hal-1.0#28490318)
LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma.
error: could not compile `stm32l4`
warning: build failed, waiting for other jobs to finish...
error: build failed

Which makes sense, because those libs cannot be built for x86.

MathiasKoch commented 3 years ago

Seems like the CI is not happy about the changes? I guess the easy solution is to change the CI to use thumbv7em-none-eabihf instead of thumbv7m-none-eabi?

Could you add that change?

MathiasKoch commented 3 years ago

Thanks for the fix! :+1: