Issue when compile firmware

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
User avatar
Ventran
Posts: 23
Joined: Sun Jun 21, 2020 4:28 pm
Location: Poland, Europe

Issue when compile firmware

Post by Ventran » Wed Dec 09, 2020 10:28 am

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
Attachments
err_implicity_declaration_of_function.png
err_implicity_declaration_of_function.png (79.28 KiB) Viewed 365 times

User avatar
dhylands
Posts: 3592
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Issue when compile firmware

Post by dhylands » Wed Dec 09, 2020 6:04 pm

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

User avatar
Ventran
Posts: 23
Joined: Sun Jun 21, 2020 4:28 pm
Location: Poland, Europe

Re: Issue when compile firmware

Post by Ventran » Wed Dec 09, 2020 10:58 pm

Thank you for your answer. Is really helpful. I will try this and give feedback.

User avatar
Ventran
Posts: 23
Joined: Sun Jun 21, 2020 4:28 pm
Location: Poland, Europe

Re: Issue when compile firmware

Post by Ventran » Thu Dec 10, 2020 6:53 pm

OK, Just editing file stm32f4xx_hal_conf.h resolved the problem. Thank you.

Post Reply