jbaumann / pio_and_stm32cubeide

Use PlatformIO with Projects generated by STM32CubeIDE
Apache License 2.0
23 stars 9 forks source link

Cocus/small fixes #6

Closed cocus closed 1 year ago

cocus commented 1 year ago
  1. Renames the startup assembly file if it has a lowercase S extension (uses two renames for FS that don't have native lowercase support)
  2. Only removes the PIOFRAMEWORK env variable if it's there (handy when you don't specify ANY framework on your .ini file!)

I didn't push two other changes I have, which remove the default addition of the -mcpu and -mthumb. These are always added by the .cproject's configs, so there's no need. But I thought there's no harm in leaving these (as long as the -mcpu matches the one on the .cproject!)

jbaumann commented 1 year ago

Very nice addition. Thank you for the pull request.