Skip to content

enable_icache not available on STM32G0x0 #585

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

Closed
kpfleming opened this issue Apr 10, 2025 · 1 comment
Closed

enable_icache not available on STM32G0x0 #585

kpfleming opened this issue Apr 10, 2025 · 1 comment

Comments

@kpfleming
Copy link

According to the RM for these devices, icache is available for 2 cache lines of 64 bits each. (Additionally there is a prefetch mode for a small number of instructions).

However, the enable_icache function in the SCB struct is only available for devices that are not armv6m, which is the target used for these devices.

@kpfleming
Copy link
Author

Never mind... the icache is part of the flash peripheral on these chips, not the CPU core.

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

1 participant