-
Notifications
You must be signed in to change notification settings - Fork 7k
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
qdec in same70q21b not compiling, however in same70q21 works #65432
Comments
Hi @tswaehn , Please, open a PR on the hal and create a PR in Zephyr to update the hash. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Finally I created the changes in hal_atmel And also created a PR in zephyr (west.yaml) to point to the changeset in hal_atmel ... I hope thats it, or did I miss something? |
This update fixes the qdec in SAME70b, which could not be compiled prior to this fix, due to missing TC_CMR definitions. Moreover it fixes zephyrproject-rtos#65432. Signed-off-by: Sven Ginka <[email protected]>
This update fixes the qdec in SAME70b, which could not be compiled prior to this fix, due to missing TC_CMR definitions. Moreover it fixes #65432. Signed-off-by: Sven Ginka <[email protected]>
It looks like there is an issue with using the QDEC in same70q21b vs same70q21.
When compiling with enabled
sam-qdec
I get an issue in that file:drivers/sensor/qdec_sam/qdec_sam.c
missing definition of
TC_CMR_ETRGEDG_NONE
this definition is present in:
asf/sam/include/same70/component/tc.h
but not present in:
asf/sam/include/same70b/component/tc.h
steps to reproduce
cmake
-DBOARD=sam_e70b_xplained
(fails) vs-DBOARD=sam_e70_xplained
(works)dt
conf
from the datasheet, I dont see any difference between both revision regarding qdec:

I suggest to copy paste from
same70/same70q21.h
to
same70b/same70q21b.h
The text was updated successfully, but these errors were encountered: