STM32CubeMX :: STM32F030F4 support

Development of new Cores using the STMCubeMX and HAL
stevech
Posts: 441
Joined: Thu Aug 27, 2015 6:32 am

Re: STM32CubeMX :: STM32F030F4 support

Post by stevech » Fri Apr 22, 2016 12:23 am

Static classes!
No heap use.
Operator overloading = unmaintable code (IMO). Same for most function overloads. Same for many forms of virtual functions. Just bad news complexity.
No String and the like class .. uses heap and garbage collector.
Use no exception statements.
Beware linker's load map will have the name-mangled listing. Yuck.

aneespk
Posts: 4
Joined: Mon May 09, 2016 5:36 pm

Re: STM32CubeMX :: STM32F030F4 support

Post by aneespk » Sat May 14, 2016 9:16 am

1-Any option to connect the same in Arduino IDE?
2-I cannot understand the same - "" There is a new "core" being developed, which should support it, but its early days.Please read the HAL MX Core topic""
How can i add the same?

Please reply and support .
I am planing some project in STM32F0 based controller.It is low cost and support more peripherals.

Regards
Anees PK.
Mail id - mail2aneespk@gmail.com

User avatar
Vassilis
Posts: 307
Joined: Thu May 21, 2015 6:42 am
Location: Thessaloniki, Greece
Contact:

Re: STM32CubeMX :: STM32F030F4 support

Post by Vassilis » Sat May 14, 2016 9:57 am

Download the HALMX core files and extract the zip file into the [yourArduinoIDE_folder]\hardware\ folder. An example path is:
HALMX_path.jpg
HALMX_path.jpg (92.63 KiB) Viewed 1371 times
then run the Arduino IDE 1.6.5 and select the HALMX board you need.
HALMX_Arduino_IDE.jpg
HALMX_Arduino_IDE.jpg (140.32 KiB) Viewed 1371 times
Write your own sketch and upload it to the STM32. The STM32F030 does not have hardware USB. That means, no stm32duino_bootloader.
To upload the firmware to the STM32 you need an ST-link

The HALMX for STM32F030 is under development. The HALMX core for that MCU will be functional in summer 2016.

-= EDIT =-
I saw your previous topic and I saw that you own the Nucleo STM32F030R8 board that already has ST-Link v2.1 on board.

User avatar
robert94
Posts: 7
Joined: Sun Jul 03, 2016 11:31 pm
Location: Vietnam

Re: STM32CubeMX :: STM32F030F4 support

Post by robert94 » Sat Jul 16, 2016 3:21 am

i can't use the library https://github.com/rogerclarkmelbourne/ ... uino_STM32
step 1: i download the library in github.
step 2: i put it in C:\Users\Robert\Documents\Arduino\hardware\HALMX_Arduino_STM32-master
then i open Arduino IDE 1.6.9 and i can't see the Generic STM32F030F...
:oops:

User avatar
RogerClark
Posts: 6726
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: STM32CubeMX :: STM32F030F4 support

Post by RogerClark » Sat Jul 16, 2016 3:51 am

All boards except the F103 have been disabled as they need the SPI and USB serial and other updates

User avatar
martinayotte
Posts: 1213
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32CubeMX :: STM32F030F4 support

Post by martinayotte » Sat Sep 03, 2016 1:28 am

I've decided to get into those F030F4 TSSOP20 ...
I've received small DevBoard and also Bare chips from eBay.
First digging : SPL is working but take much all resources, simple Blinky with Serial chat take 14K out of 16K Flash.
Second digging : after 2 days of work, getting rid of SPL and going with some merged SPL/LeafLab and other BareMetal, I've came to compromise with 5K out of the 16K Flash ... A bit better ... :D

User avatar
ddrown
Posts: 133
Joined: Sat Jan 09, 2016 4:49 am

Re: STM32CubeMX :: STM32F030F4 support

Post by ddrown » Sat Sep 03, 2016 3:45 pm

I too have been playing with an 030f4 based board. I'm using stm32cubemx and a makefile generator to use gcc.

PWM blinky led + UART (no optimization besides -Os compiler flag) = 8k flash

If there's any interest, I can post my setup and code

Post Reply