wosk / stm32-vserprog-lpc

flashrom serprog LPC programmer based on STM32 MCU
GNU General Public License v3.0
11 stars 4 forks source link

Can't compile #1

Open nonfacility opened 5 years ago

nonfacility commented 5 years ago

I know this is old and maybe even forgotten.

I'm trying to compile this to be able to reflash a 3.3V only flash chip from a motherboard, but I can't compile your code, it has a bunch of misplaced dependencies everywhere.

At first I get this:

`main.h:8:34: fatal error: libopencm3/stm32/rcc.h: No such file or directory

include <libopencm3/stm32/rcc.h>`

And if I fix this, more errors keep popping up.

If you could just post the compiled binary, that would be great.

wosk commented 5 years ago

I check clone & compile on my desktop Debian 9. All right. What OS you use? Pay attention to warnings while do steps from cloning to making. Seems your system not update submodule libopencm3.

Only for you done the first binary release ) Check this