Page 1 of 1

Issue when compile firmware

Posted: Wed Dec 09, 2020 10:28 am
by Ventran
I have a problem when trying compile micropython firmware for F411:
https://github.com/WeActTC/WeAct_F411CE-MicroPython

Everything is OK when use stable version 1.13 of Micropython but I need newest daily version for my experiment.
git clone https://github.com/micropython/micropython.git
cd micropython
git submodule update --init
cd mpy-cross
make -j4
cd ../ports/stm32/boards
git clone https://github.com/WeActTC/WeAct_F411CE-MicroPython
cd ..
make BOARD=WeAct_F411CE-MicroPython -j4

Re: Issue when compile firmware

Posted: Wed Dec 09, 2020 6:04 pm
by dhylands
I suspect that the board definition files need to be updated to reflect the format/layout of the new board definition files.

I ran into the same problem with one of my board definition files which I updated recently (for an F401 - the G30HDR board). You can see my updated files here:
https://github.com/dhylands/G30HDR

The changes I made were these:
https://github.com/dhylands/G30HDR/comm ... d6565073da

Re: Issue when compile firmware

Posted: Wed Dec 09, 2020 10:58 pm
by Ventran
Thank you for your answer. Is really helpful. I will try this and give feedback.

Re: Issue when compile firmware

Posted: Thu Dec 10, 2020 6:53 pm
by Ventran
OK, Just editing file stm32f4xx_hal_conf.h resolved the problem. Thank you.