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

STM32F3: flash programming operations added #627

Closed
wants to merge 1 commit into from

Conversation

cemizm
Copy link
Contributor

@cemizm cemizm commented Feb 29, 2016

No description provided.

Clears program error, end of operation, busy flags.
*/
Program error, end of operation, write protect error, busy.
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I undertand adding write protect, but why remove the fairly important "clears" verb?

@karlp
Copy link
Member

karlp commented Feb 29, 2016

Apart from the general style comments above, please note that this is all common code with f0. Please combine the f0 code with this in some way, rather than duplicating it further.

@cemizm
Copy link
Contributor Author

cemizm commented Feb 29, 2016

Before duplicating I started to combine it with F0 Code. But it lead to rework the whole flash module over all families. In my opinion that should not be part of this pull request.

If you gonna accept this pull request as it is, I could fix the style comments you mentioned. Otherwise please reject and create an issue.

@karlp
Copy link
Member

karlp commented Feb 29, 2016

Ok well if I merge this, it just makes the work of finally merging the flash code even harder. So I'm not super motivated to do that. It's very easy to add code that "improves things for this one platform" but that doesn't help anyone next year.

@karlp
Copy link
Member

karlp commented Feb 29, 2016

It should be a good beginning ot just make a common/flash_v3.c or something (v1 being f1, v2 something else) and use the _v3 file in f0 and f3. The current naming of the "common" files makes it very hard to follow, I agree, but you shouldn't have to overhaul the entire flash driver just to start work o n f3 and f0 combining

atx added a commit to atx/libopencm3 that referenced this pull request Aug 15, 2017
Copy link

@OpenUAS OpenUAS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be so nice to have it included. I'll see if I can cherrypick ont the Paparazzi Project used LibopenCM3,, then will test on STM32F3 discovery board.

karlp added a commit to karlp/libopencm3 that referenced this pull request Jul 25, 2018
karlp added a commit to karlp/libopencm3 that referenced this pull request Jul 29, 2018
karlp added a commit to karlp/libopencm3 that referenced this pull request Jul 29, 2018
karlp added a commit that referenced this pull request Aug 17, 2018
@karlp
Copy link
Member

karlp commented Aug 17, 2018

I think I've covered most/all of this via the commits merged just above.

@karlp karlp closed this Aug 17, 2018
BOJIT pushed a commit to BOJIT/PlatformIO-libopencm3 that referenced this pull request Jan 30, 2021
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.

None yet

3 participants