Skip to content

03 Installing the build environment

stancecoke edited this page May 24, 2023 · 4 revisions

A few steps are required to set up the software. But they should also be feasible for inexperienced computer users: -).

  1. download and install Java Runtime Environment

  2. download and install SDCC. Make sure, that the SDCC version is 4.1.0 and that the checkbox for setting the path is activated.

  3. download or clone the Github repository and unpack it to the desired location, in the simplest case directly to C: \

  4. download and install ST Visual Development with the default settings. If the path to the file "STVP_CmdLine.exe" is different from "C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp", you have to edit the first line of the "Start_Compiling.bat" and the "WriteOptionBytes.bat" according to your path (rightclick on the .bat-file -->edit) . To download the software you have to enter an e-mail address, to which the download link will be sent. This has not caused any unwanted advertising mails/newsletters for me.

  5. optional for brave people who want to add more features themselves: Download Eclipse for C++ Developers and unzip it to the desired location. There is no installer here, just double-click on eclipse.exe. Alternatively you can also use Netbeans, VSCode or whatever IDE you like, compiling and flashing is always possible via the Java configurator (see next page) which just calls some bodged together .bat/.sh files. It's not pretty, but it's working!