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

SVD error for F7 #17

Closed
astro-jerry opened this issue Apr 19, 2016 · 2 comments
Closed

SVD error for F7 #17

astro-jerry opened this issue Apr 19, 2016 · 2 comments
Labels

Comments

@astro-jerry
Copy link
Contributor

In the svd directory, the file stm32_svd-spi.ads does not have the correct bit layouts for some of the registers (CR1, CR2, SR) - they seem to be for the F4 chips. On the F7 these registers have changed.
Reference: page 1110 of RM0385 for STM32F75xxx and STM32F74xxx advanced ARM-based
32-bit MCUs

@Fabien-Chouteau
Copy link
Member

Hello,

We already have a "fixed" version of the STM32F7 SVD file in the svd2ada project:
https://github.com/AdaCore/svd2ada/tree/master/CMSIS-SVD

Please submit a fix there, generate the files and then submit a patch with fixed generated file on this repo.

Regards,

@lambourg
Copy link
Member

Hello, some additional definitions for the F7 SPI interface have been added. If you're spotting other issues like this one, please fill free to modify the SVD file from svd2ada and submit a fix. You can try the generation of the bindings using the makefile located in ARM/STM32/svd.

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

No branches or pull requests

3 participants