Closed benno90 closed 4 years ago
Had the same problems, take a peek at my repository and the Travis build instructions, should contain everything you need: https://github.com/Frans-Willem/TSDZ2-Clean-EBike/blob/master/.travis.yml https://github.com/Frans-Willem/TSDZ2-Clean-EBike/tree/master/travis
Mind you though, these scripts were written to be run in a temporary (throw-away) build environment. If you intend to install this stuff on your own machine, it might be better to install it somewhere in your home directory instead of root.
When i try to compile the stm-binutils, the compilation crashes.
Definitely not able to compile stm-binutils on ubuntu18. Tried it with two compiler versions: gcc-7 and gcc-4.8
I had to remove my bashrc temporarily in order to compile the stm-binutils. After that it worked.
I installed the sdcc compiler and stm8flash in order to compile the TSDZ2-Smart-EBike firmware and flash the micro controller. I'm currently stuck with the following error message
make: stm8-size: Command not found
. The makefile refers to another utility that i am probably missing: stm8-objcopy. Is there an easy way to install these utilties? I cam across the following page but i could not compile it.addendum: I also have the following compiler-warning:
unknown compiler option '--out-fmt-elf'
. I have the following sdcc version installed:stm8 3.5.0 #9253 (Apr 3 2018) (Linux)