-
Notifications
You must be signed in to change notification settings - Fork 1k
New Board: STM32F030F4 Demo Board #165
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
Comments
Hi, |
Hi @Adminius, |
@fpistm pls not yet. i was on vacation. |
No worries ;) |
btw. this board/issue is not blocker for next release ;) |
I have this board. How can I use it with this library? I don't see any options to select this model of chip. |
it is not possible yet... i have to find a time to test my implementation. after that i can commit it to this repository. This board have not enough pins for standart Arduino Layout (e.g. SPI on D10-D13) |
I think you should not try to be aligned with Ardunio layout for this board, user will mainly use the pin name PXy (like the blue pill) |
i will also use PXy ;) |
Just pay attention you will have to duplicate Analog pins else this will not work. I do that for Maple variant: Note: Even if in this case it should work as D0=A0=0 |
yes, i know:
|
@fpistm what is the best name for this board (menu, folder name...)? |
That's a good question.
So maybe it could be the name in the menu. For variant name, something like that:
For the menu, maybe add a menu "Other" |
So for the menu: The other you show: one could be named using V2.00 and the other maybe bluepill F030 :) |
I think no you do not need pid/vid if no usb. About menu name: |
i need help :(
my configuration: i don't know what is wrong... P.S. HW Upload not tested yet... |
No worries, it is only warnings in LL.
I review your variant. Nice work ;)
Only 3 options as only 3 U(S)ART could be available for F0 |
oh, thanks. i didn't rework this section because of warnings... |
I know for F030F4 but F030x8 have 2 USART and F030xC 3 ;) |
Upload with ST-Link:
how can i reduce the "overhead"? or maybe Arduino Core is not a good idea for this board? |
I've use your previous code to test and reproduce the same. I'm not surprise. I've generate the code with CubeMx to use LL instead of HAL for RCC:
Now building Fading sketch with default optim (-Os) I've had After that, I think it should be best to disable some unused feature when not required.
I think, will open an issue to be able to disabled some of basic feature when not used in the sketch. |
For your current config it is set to 48MHz? |
in general .... for any internal function (UART/SPI via DMA or so). |
Hi, I have read this thread and did my best to try and follow everything... I am interested in making this board supported on the Arduino IDE and I am sure that Professional like yourselves can DO that and I will be help :) Please let me know if this board already been supported with Arduino IDE and if not why? and how Can I assist? thanks |
I added this board to arduino but when I try to compile, an error show up. The arduino.h was used instead of stm32 \AppData\Local\Temp\arduino_build_687106\sketch\ASCIITable.ino.cpp:1:21: fatal error: Arduino.h: No such file or directory #include <Arduino.h>
compilation terminated. exit status 1 |
I have played with the Adminius customised board profile for STM32F4P6. I had been following similar investigation on my own, and then I discovered this thread. My version was almost identical, exc I set SERIAL_UART_INSTANCE as 0, and it then saved some compile bytes. In general, this board compiles under Arduino IDE, and it flashes easily using ST-link-V2 cheapie from eBay. Clearly it's short of flash for Arduino. It copes happily with simple blink, and anything using math, digital GPIO, analog read, shiftIn/Out, delay, millis. I compile blink in under 10K of the 16K flash, and it works. They did sell it as a "minimum" board. Possibilities:
But there are other boards without this flash shortage. For this board, I'd just stick to digital IO and analog read & math, and enjoy the $1 I saved versus a bluepill. FOOTNOTE 1 Nov. I did knock together a crude 9600 Serial Out & In, and it works. This alone makes this board now slightly useful as a arduino device. |
This board have been added thanks #367 . |
I have put up some library code for F030F4P6 here: |
BLavey, |
Aryeguetta, As I understand it, those are USB identification "vendor" / "product" codes. This chip / board has no USB. The USB connector is only for power. |
Be careful: |
The only issue I saw about pin numbering is the one raised by @BLavery about PA13 and PA14.
And I2C on:
And by default Serial instance are configured on:
|
@BLavery I've made SDA and SCL on UART header, because SDA and SCL are available on this pins only... @aryeguetta you image is not applicable for official core (v1.5.0+), |
Thanks @Adminius |
@aryeguetta in fact it is ok for this core but as you mark it is for @BLavery variant this is not correct as his variant define PF0 and PF1. So in fact, there is 2 versions of the picture: one for @BLavery and one for 1.5. |
I own all of the three boards mentioned above (but did not really used them
apart from a blink to test they work).
So the mini USB version has a 8 MHz quartz and from what I remember, the LED
is not connected to the same pin.
|
Thanks for letting me know. The third one I have NOT even found on AliExpress and I am sure it would teach me the same way version 2 will or even more. |
@aryeguetta |
So, yes I got the crystal with the board. I had to solder it. About the links, I have the smallest one but it is now unavailable (I bought it the 26th of August 2016): https://www.aliexpress.com/item/STM32F030F4P6-minimum-system-board-core-board-learning-board-ARM-STM32/32585222766.html But for the mini USB one, bought the same day, the page does not exist anymore: https://www.aliexpress.com/item/STM32F030F4P6-development-board-TTL-serial-ports-to-download/32353640682.html All the 3 boards: So if is not possible to find them anymore, maybe their support can be skipped. |
Anyway, I have found the mini USB one on Aliexpress: |
And the small one but more expensive: And other variants but much more expensive: |
Thanks, Romain, The ONLY one that I will buy is the one w/out the Crystal - I will solder it myself as well. I would be happy to learn more about these boards and build with them even to eliminate the use of ATtiny85 - where needed. Thanks fpistm,
That will leave us with two different images - of which i am not sure there will be a need for both eventually. If someone knows where I could find a CHEAP version of this Short STM32 I would be happy to know. Thanks, |
some cheap version STM32F030F4P6 |
Hi,

i'm trying to add support for this china board.
Sketch uses 10124 bytes (61%) of program storage space. Maximum is 16384 bytes. Global variables use 3704 bytes (90%) of dynamic memory, leaving 392 bytes for local variables. Maximum is 4096 bytes. Low memory available, stability problems may occur.
Any chance to get more RAM?
The text was updated successfully, but these errors were encountered: