boards: add stm32f030f4-demo#12433
Conversation
fe582d5 to
9275d2a
Compare
|
Code looks good, could you run all tests on the board and post the output here?,
|
|
Also add a commit blacklisting the required applications please. |
9b6f92c to
df6e1e4
Compare
494028d to
b575df5
Compare
test results are in(failures due to insufficient memory already added to the blacklist) Failures are:
I will look into these individually. I suspect they run out of heap space. |
b7f4338 to
ac9a116
Compare
|
Not sure if the right course of action here is to make a separate PR to convert the pthread tests to static initialization or just to blacklist this board. |
|
With the tweaked stack size, I now get Why |
|
Given that the static version overflows the RAM on arduino-nano arduino-duemilanove arduino-uno and nucleo-f031k6, I would highly suspect that the pthread* tests wouldn't ever have worked there either. |
I agree with your |
Might it be just a reset/timing issue? |
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
The pthread tests dynamically allocate memory for the thread stacks. Therefore while compilation succeeds, they will fail to run on these low memory boards. Static allocation of thread stacks is an option to make those tests work for those boards (confirmed for `tests/pthread`), but it would change the nature of the tests.
|
rebased again to resolve merge conflicts |
@benpicco so the test is passing? I'm a bit confused by your output, to me it seems you were able to make it pass, and that this PR is OK to go. |
|
The test is passing but the python script doesn't pick it up for some reason. |
Seems weird, I got the test to pass on a |
|
Thank you for the review! |
Contribution description
This adds support for the STM32F030F4 Demo board and the associated MCU.
At a price of less that 1€ the board is probably one of the cheapest to run RIOT.
Programming is done using the SWD pins exposed at the end of the board.
Testing procedure
The 16k ROM / 4k RAM restriction can be quite limiting. I wasn't able to fit the
periph_spitest, so I did not test this and only filled out the config according to the data sheet.I tested successfully:
examples/defaultwithoutshell_commands)tests/periph_timer)tests/periph_rtc)tests/periph_adc)It's possible that #12305 allows to run some more tests.
Issues/PRs references
stm32duino/Arduino_Core_STM32#165