Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unresolved import use embassy_stm32::cordic #3695

Open
saosebastiao opened this issue Dec 29, 2024 · 2 comments
Open

unresolved import use embassy_stm32::cordic #3695

saosebastiao opened this issue Dec 29, 2024 · 2 comments

Comments

@saosebastiao
Copy link

I can't seem to properly import the embassy_stm32::cordic module regardless of how I configure my project. I tried looking for feature definitions, but it seems like the cordic module should only be disabled for two specific stm32 variants:

https://github.com/embassy-rs/embassy/blob/a4f8fddd696ca2e3705827ba4b3806cbadcb3134/embassy-stm32/src/lib.rs#L59C1-L59C52

The docs also show this as available for the exact processor that I'm using:
https://docs.embassy.dev/embassy-stm32/git/stm32g474ce/cordic/index.html

For reference, this is my dependency statement:

embassy-stm32 = { version = "^0.1", features = [ "stm32g474ce","rt", "defmt", "memory-x","time","time-driver-any","exti","low-power"] }
@yodaldevoid
Copy link
Contributor

The cordic support was added after the 0.1.0 release. You will need to use the git repo directly to get this support.

@saosebastiao
Copy link
Author

Thank you, I just found the part in the embassy book about using git repo dependencies. I can do that. I don't know why, but that has always made me a little uncomfortable. It seems like embassy hasn't had a versioned release in quite a while. Is there a schedule or milestone-based target for version releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants