-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix F4x7vx definitions #940
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
Conversation
Signed-off-by: Frederic Pillon <[email protected]>
One little note about ccm ram since you are included it to loader script and defined a region At least at f4, it have an issue with dfu upload |
@stas2z |
Have you accessed ccm on it? You can simply check this issue, just define estack to ccm origin+0x10000, upload, and upload it again, it will stuck until reset |
Ok this is because you specifically access it 😉 |
Sure, as i said "can stuck in hardfault when accessing ccm" |
Really, im serious, i think it's a bad idea to provide support for this F4x5/7 feature and miss simple issue which can cause serious headache (believe me, i spent a few hours trying to find out whats wrong with it) |
so you advise to not add it to the linker script ? |
as an option |
This should be OK now. |
Feeling myself boring, but, are you sure ccm memory have to be defined with (xwr) attr? |
No worries 😉 |
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
I've fixed it. |
I did, and it has worked on all the hardware I own (well, except for the F407). However, it would be great if the Arduino_Tools repo could provide the correct linker scripts for each target, just like it contains |
Unfortunately, It could not as there is no access to the linker script generator. If the Cube MX had a CLI it would be easy. |
Issue reported by @stas2z
#937 (comment)
Thanks