Page 2 of 2
Re: Is STM32F030K6 supported?
Posted: Fri Jun 12, 2015 4:09 am
by MarkusS
I have ChibiOS 2.6.3 running with a STM32F030F4 without issues using PWM, ICU, ADC and Serial. So the F030 are at least somewhat supported.
The F4 has also 4kB of RAM and only 16kB of Flash, whereas the K6 has 32kb of Flash...
If you tell me on which GPIO your LED is, I could send you a sample blink app...
Regards,
Markus
Re: Is STM32F030K6 supported?
Posted: Fri Jun 12, 2015 2:27 pm
by kimgunzung
Hi, Markus.
You did something special. Thank you...
I assigned GPIOB Pin0 for LED and GPIOA PIN 9 and PIN 10 for Serial 1.
Thanks,
Gunzung.
Re: Is STM32F030K6 supported?
Posted: Mon Jun 15, 2015 2:45 pm
by MarkusS
Gunzung,
please find the blink project attached. It compiles with a stock 2.6.8 (my 2.6.3 is a bit modified, so I tested it also against a clean 2.6.8).
Works on my very simple STM32F030F4 development/breakout board. LED goes between PIN14 (PB1) and GND (PIN15) with suitable current limiting resistor...
I programmed the chip with a STM32F4 Discovery board...
Hope this helps,
Markus
Re: Is STM32F030K6 supported?
Posted: Mon Jun 15, 2015 6:15 pm
by kimgunzung
Thanks, Markus.
OK, it works !!!
The problem is board.h file. I changed my file like as your board.h file.
// #define STM32F030 // for STM32F03X
#define STM32F0XX_LD // for STM32F05X
But I don't know the reason.
The STM32F030K6 is not STM32F0XX_LD series but STM32F030 series.
Regards,
Gunzung
Re: Is STM32F030K6 supported?
Posted: Tue Jun 16, 2015 8:02 am
by Giovanni
Hi,
The ST headers used in 2.6.x do not support the 030. You are using it like a 050.
I recommend to switch to ChibiOS 3.0.0 where the 030 is officially supported.
Giovanni