Build issues vs. linux
andysworkshop opened this issue · comments
- STM32PLUS_VERSION is not part of the Path which is made when you compile the stm32plus lib.
verify that stm32plus is installed in the defined location
stm32plus_file=STM32PLUS_INSTALL_DIR+"/"+STM32PLUS_VERSION+"/libstm32plus-"+STM32PLUS_VERSION+"-f051-"+mode+".a"
stm32plus_file=STM32PLUS_INSTALL_DIR+"/libstm32plus-"+STM32PLUS_VERSION+"-f051-"+mode+".a"
- The Linker expects always a "small" made lib.a, but when you made a debug version, he cannot find. Even the STM32PLUS_VERSION in the Path is wrong.
set the library path
env.Append(LIBS="stm32plus-"+STM32PLUS_VERSION+"-f051-small")
env.Append(LIBPATH=STM32PLUS_INSTALL_DIR+"/"+STM32PLUS_VERSION)
env.Append(LIBS="stm32plus-"+STM32PLUS_VERSION+"-f051-"+mode+".a")
env.Append(LIBPATH=STM32PLUS_INSTALL_DIR)
So, not a big deal. I want use you library in a project, so thats the reason i started to deal with it.
Thanks a lot man.
Andre
This is fixed by 79aa957 and build-tested on Ubuntu.