Files
Upsilon/docs/build/index.md
2019-09-19 09:50:47 +02:00

2.2 KiB

title, layout, breadcrumb
title layout breadcrumb
Installing the SDK — Software Engineering breadcrumb SDK

Build and run your own version of Epsilon

Install the SDK

Windows

We recommend using the Msys2 environment to install most of the required tools. We support Windows 7 and up. Once Msys2 has been installed, launch the Msys2 terminal application, and enter the following commands

pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-freetype mingw-w64-x86_64-pkg-config mingw-w64-x86_64-fltk git make python
export PATH=/mingw64/bin:$PATH

Last but not least, download and install the latest GCC toolchain from ARM.

macOS

We recommend using Homebrew to install all dependencies. Once you have installed Homebrew, install all the dependencies with the following command:

brew install armmbed/formulae/arm-none-eabi-gcc fltk freetype dfu-util libpng pkg-config

Debian or Ubuntu

Installing the required tools is just a command away:

apt-get install build-essential dfu-util gcc-arm-none-eabi git libfltk1.3-dev libfreetype6-dev libpng12-dev

Note that you may want to use the latest version of GCC distributed by ARM instead of the one provided by your distribution. In that case you can skip the gcc-arm-none-eabi package.

Retrieve the source code

The code is hosted on GitHub. You can retrieve it using the follwing command.

git clone https://github.com/numworks/epsilon.git

Run Epsilon on your computer

Once the SDK has been installed, just open your terminal (Msys2, Terminal.app, xterm, etc...) and type the following commands:

make PLATFORM=simulator clean
make PLATFORM=simulator
./epsilon.elf

Run Epsilon on your calculator

You can also update your NumWorks calculator easily. Note that you'll need to press the Reset button and that all data on your calculator will be lost.

make clean
make
make epsilon_flash

Congratulations, you're running your very own version of Epsilon!