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

SPL for F0 variant #683

Closed
zserge opened this issue Jun 2, 2016 · 4 comments
Closed

SPL for F0 variant #683

zserge opened this issue Jun 2, 2016 · 4 comments
Assignees
Milestone

Comments

@zserge
Copy link

zserge commented Jun 2, 2016

I'm trying to use PlatformIO with custom STM32F0 boards (F051 and F030). Previously I've been using libopencm3 framework, all worked fine, but now I need SPL as a framework.

It turns out that SPL installed by PlatformIO comes with F4, F3 and L1 variants. Would it be possible add missing variants, too, so people could use all STM32 MCUs?

@zserge
Copy link
Author

zserge commented Jun 5, 2016

I tried to re-pack the framework-spl and replace it manually. It seems to do the trick, but I don't know how to automate it or offer a pull request. Attached it my hand-crafted package with SPL for F0 included.

framework-spl.tar.gz

@valeros
Copy link
Member

valeros commented Jun 9, 2016

Updated, thanks!

@valeros valeros closed this as completed Jun 9, 2016
@ivankravets ivankravets added this to the 2.9.4 milestone Jun 9, 2016
ivankravets added a commit that referenced this issue Jun 10, 2016
* develop:
  Add support for STM32F0 boards for SPL framework // Issue #683
  Add support for emonPi the OpenEnergyMonitor system // Resolve #687
  Fix path to dfu util when it contains spaces.
ivankravets added a commit that referenced this issue Jun 14, 2016
* develop:
  Add support for ST Nucleo L031K6 board to ARM mbed framework
  Fix typo
  Fix pylint error
  Update history
  Improve linker flags handling for mbed
  Update examples
  Improve include selection for mbed boards with a custom vendor
  Re-submit a package to PyPI
  Version bump to 2.10.0 (issues #683, #687, #688, #689, #691)
  Pass PlatformIO macros with version to libs
  Update ARM mbed framework package to v121
  Typo fixes
  Move custom platform and board to separate page
  Add new ST Nucleo board
  Update build script for mbed framework
  Improve firmware uploading to Arduino Leonardo based boards // Resolve #691
  Typo fix
@zserge
Copy link
Author

zserge commented Nov 28, 2016

Sorry @ivankravets but I would like to re-open this.

The assembly file framework-spl/stm32/cmsis/variants/stm32f0/startup_stm32f0xx.s is named with a lower-case .s, causing build problems. Renaming to the upper-case .S helps, but it should better be renamed in the SPL F0 package.

@ivankravets
Copy link
Member

@zserge Please open new issue here ( https://github.com/platformio/platform-ststm32/issues ) with further explanations what need to do. Thanks.

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

No branches or pull requests

3 participants