Skip to content

Added support for Nucleo F303RE #959

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

Merged
merged 3 commits into from Mar 10, 2015
Merged

Added support for Nucleo F303RE #959

merged 3 commits into from Mar 10, 2015

Conversation

ghost
Copy link

@ghost ghost commented Mar 7, 2015

I am not sure if it's the right SP, but the basic blink code works.
What does the SP stand for? Stack pointer?

Also, if you could tell me where to look for the correct address, I would.
I looked in the reference manual and the programming manual that STM provides, with no luck.

Cheers

dominus97 added 2 commits March 7, 2015 22:13
I am not sure if it's the right SP, but the basic blink code works.
What does the SP stand for? Stack pointer?

Also, if you could tell me where to look for the correct address, I would.
I looked in the reference manual and the programming manual that STM provides, with no luck.

Cheers
The OS_TASKCNT is set to 6, could be more.
The OS_SCHEDULERSTKSIZE is set to 112, could also be more.
The OS_CLOCK is set to 72000000 which matches the description on https://developer.mbed.org/platforms/ST-Nucleo-F303RE/

Cheers
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 9, 2015

Yes ,stack pointer and should point to the top of the RAM, which seems to be correct for your target. You should be able to find the RAM size, starting address. Or look at the linker command file for like arm gcc ,where is defined RAM region with its size.

You can remove the comment from the code.

Please sign http://developer.mbed.org/contributor_agreement/ and share your nick on mbed if it does not match your github.

@ghost
Copy link
Author

ghost commented Mar 9, 2015

Hi.
Thanks for the help!
I'm new to all this github and version control thingy but it looks cool.

I removed the comment in the code and I've signed the agreement. I've written my nickname on my mbed profile.

image

Link to datasheet
Page 27.

Here it says, that the stating address of RAM is 0x20000000, but when I try that in the program, it doesn't work.

But if I input 0x20010000, it works, so I'll just leave it at that.

Cheers

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2015

Thanks

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2015

2 small notes - don't leave trailing spaces, and use more descriptive commit headline message (from Added support for Nucleo F303RE to Add RTOS support for Nucleo F303RE, for instance).

I'll merge this as it is now

0xc0170 added a commit that referenced this pull request Mar 10, 2015
Added support for Nucleo F303RE
@0xc0170 0xc0170 merged commit 3b22bf5 into ARMmbed:master Mar 10, 2015
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

Successfully merging this pull request may close these issues.

1 participant