Closed exepirit closed 4 months ago
Hi, I think there are a few things going on.
master
branch I inadvertently introduced some code that does not compile in no_std
mode. I have just pushed a fix. This problem was not present at the v0.3.0
tag.ax25
crate has a default feature std
. When compiling for your target you will need to use --no-default-features
.ax25
which supports no_std
, and ax25_tnc
, which does not. If you are testing any builds please do it within the ax25
subdirectory.With the fixes for (1) I am able to run this successfully:
# in ax25 subdir
cargo check --lib --target thumbv6m-none-eabi --no-default-features
Does this help?
Disabling all crate features of the crate fixed (or masked?) the problem.
$ cargo remove ax25
$ cargo add --no-default-features ax25
Thank you very much!
I'm using the ax25 v0.3.0 crate, which is giving me trouble when I try to compile it for a thumbv6m-none-eabi target on an RP2040 microcontroller. The compilation process fails with some import-related errors:
I think that issues in the
ax25
crate, and i've cloneax25-rs
repository and run checks for all libs. Checks passes forx86_64-unknown-linux-gnu
target without any issues, but failed forthumbv6m-none-eabi
with same errors:Is it library and target incompatibility issue or maybe my build toolchain issue? How can I use this library on arm6 targets?