I got my STM32's , but not the final PCB's yet.
I hacked a ghetto style print together on a tssop-28 board , complete w. 5v to 3v ldo , caps and a dual led.
I adapted this stm32F0 repos to fit the F030
https://github.com/szczys/stm32f0-discovery-basic-templateYou have to adapt the linker file to fit the F30 (16k flash /4K ram) , and adjust the initial stakpointervalue
See Device/ldscripts/stm32f0discovery_def.ld , i have attached the modified one.
I also replaced the contents of src/main.c with the one from dannyf.
Bacically you run the following commands:
make clean
make all
make program
Or all in 1
make clean all program
And power off / on the STM32F030 board , now it blinks the led on PA0/PA1
Ohh i had to split the "reset halt" commands into separate lines or oocd would complain during programming.
in the extra/stm32f0-openocd.cfg command file
And the oocd board definition location th the makefile.
I can't attach the full project as it is 1MB+ zipped , but I have attached the files that i modified.
/Bingo
Edit:
I have a 100K pulldown on BOOT0 (you can see it) , and there's a 560R SMD's on the led pins
Edit2:
If using OOCD like i do - Save some time and remember to adjust
set WORKAREASIZE 0x1000
= (4K ram) In the board definition file you are using.
I (the repos linked) was using stm32f0discovery.cfg witch has 8K Ram and
set WORKAREASIZE 0x2000
,
and amazingly it worked for the test blinky , but when i switched to the current ST lib 1.3.1 it failed to program the flash every time.