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

STM32F303xC: correct RAM size #15378

Merged
merged 3 commits into from
Jan 26, 2023
Merged

STM32F303xC: correct RAM size #15378

merged 3 commits into from
Jan 26, 2023

Conversation

jeromecoutant
Copy link
Collaborator

Summary of changes

Fix #15377

wrong info in keil pack
=> wrong info in ARM pack manager IRAM1 mbed section
=> wrong info in cmsis_nvic.h file

This PR corrects the mbed-os part :-)

@JojoS62

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


@JojoS62
Copy link
Contributor

JojoS62 commented Jan 23, 2023

thanks for your quick fix.
The remainig 8 kB can be used by defining a section in the linker script. I'm currently testing this and can send the modification.

@JojoS62
Copy link
Contributor

JojoS62 commented Jan 23, 2023

this is my modified linker file, it adds a RAM_CCM section.
https://github.com/mbed-ce/mbed-os/blob/fix-F303-ramsize/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303xC/TOOLCHAIN_GCC_ARM/STM32F303XC.ld

I have it only for gcc_arm.

are the cmsis_nvic.h files generated from the arm pack files by a script ?

@mergify mergify bot added the needs: CI label Jan 23, 2023
@mbed-ci
Copy link

mbed-ci commented Jan 25, 2023

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

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

Successfully merging this pull request may close these issues.

target STM32F303CC has wrong RAM size
6 participants