Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 977 Bytes

Development.mediawiki

File metadata and controls

19 lines (12 loc) · 977 Bytes

See here tecnhical notes about TSDZ2: https://opensourceebikefirmware.bitbucket.io/development_tsdz2

How to compile the code on Windows

  1. Install SDCC (https://sourceforge.net/projects/sdcc/files/snapshot_builds/x86_64-w64-mingw32-setup) version 3.7 or 3.8 (NOTE: 3.9 has a bug which causes it to crash while building LCD3). Make sure to add it to your PATH (option in one of the last screens of the installer... )
  2. Git clone the project or download zip file: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike (make sure to get the master branch)
  3. Use any text editor to make the desired firmware changes.
  4. Double-click Start_Compiling.bat to compile the firmware. The resulting main.ihx can be programmed in the controller.

How to compile the code on Linux

The stm8 eforth project is developed on linux.

https://github.com/TG9541/stm8ef/wiki/STM8S-Programming

Various