rizacelik / STM32F411CEU6_INAV_Firmware

STM32F411CEU6 Board Firmware
136 stars 34 forks source link

Compiling/Building #11

Closed GatzeTech closed 1 year ago

GatzeTech commented 1 year ago

I'm trying to compile the inav software with your configuration files.

I put it in the directory \src\main\target\STM32F411CE of the inav firmware.

It al works well with the commands 'cmake ..' and make 'STM32F411CE' and get a hexfile (inav_6.0.0_STM32F411CE.hex)

But when I upload it, the board doesn't start, there is also no com port to connect to. But when I upload your hexfile from this github page, everything is working fine, the blue led starts to blink and there is a com port to connect to and I can configurate.

Tried compiling in Linux subsystem for Windows and also Linux it self.

Want to change some pinning, that's why I try to compile myself. Do you know what the problem could be why my compiled hex file with your settings from this page is not working and the precompiled hexfile is ?

Thanks in advance.

PS. there is a slight difference in size from your hexfile (1261 kB) and mine (1257 kB)

VasilKalchev commented 1 year ago

I have the same problem, also tried with inav 5.1.0 and with my configuration files. @rizacelik, are these the same configuration files used to compile the hex files.

HKR1987 commented 1 year ago

I add pull request with new target blackpill. Take look at https://github.com/iNavFlight/inav/pull/8902

VasilKalchev commented 1 year ago

HKR1987's changes fix the problem.