You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Goran Mahovlić fedd8fcdf5 Hello world is now on the screen 1 year ago
.settings FPU was not selected, project now starts but no picture 1 year ago
.vscode Initial not working 2 years ago
Core Compiles, but does not work 1 year ago
Drivers Touch interrupt is working - but not in app 2 years ago
FATFS Task manager is now active 2 years ago
Middlewares Hello world is now on the screen 1 year ago
Release Compiles, but does not work 1 year ago
Src FPU was not selected, project now starts but no picture 1 year ago
USB_DEVICE Task manager is now active 2 years ago
Utilities Initial not working 2 years ago
template Adding initial includes 1 year ago
.cproject FPU was not selected, project now starts but no picture 1 year ago
.cproject_backup Compiles, but does not work 1 year ago
.gitmodules Removing eez adding eez-framework as submodule 1 year ago
.mxproject Changing default colors to RGB565 2 years ago
.project Initial not working 2 years ago
LICENSE Initial commit 2 years ago
README.md Initial not working 2 years ago
STM32F746NGHX_FLASH.ld Task manager is now active 2 years ago
STM32F746NGHX_RAM.ld Initial not working 2 years ago
stm32f746g-disco.ioc Touch interrupt is working - but not in app 2 years ago
stm32f746g-disco.launch FPU was not selected, project now starts but no picture 1 year ago

README.md

Ownership and License

The contributors are listed in CONTRIB.TXT. This project uses the GPL v3 license, see LICENSE.TXT. This project uses the C4.1 (Collective Code Construction Contract) process for contributions. To report an issue, use the issues page tracker.

Build

First, build the project using EEZ Studio.

STM32 binary

Import project from {{projectDirPath}} into STM32CubeIDE and build it.

Simulator

Linux

sudo apt-get update
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential libbsd-dev
cd {{projectDirPath}}
mkdir -p Src/build/linux
cd Src/build/linux
cmake ../..
make

Start simulator with:

./{{projectName}}

Windows

Install Visual Studio Community 2017 and CMake.

Download and install SDL2 development libraries for Windows from https://www.libsdl.org/download-2.0.php.

Download and install SDL2_Image development libraries for Windows from https://github.com/libsdl-org/SDL_image/releases.

Update these environment variables in cmake.bat according to the location (and version) where SDL2 and SDL2_Image has been installed:

set SDL2DIR=..\SDL2-2.0.14
set SDL2IMAGEDIR=..\SDL2_image-2.0.4

Execute cmake.bat:

cd {{projectDirPath}}\Src
.\cmake.bat

Visual Studio solution is created in {{projectDirPath}}\Src\build\win32.

Use Visual Studio to build the solution.

Emscripten

These instructions are for the Linux.

Download and install Emscripten

source /path/to/emsdk/emsdk_env.sh
export EMSCRIPTEN=/path/to/emsdk/upstream/emscripten
mkdir -p {{projectDirPath}}/Src/build/emscripten
cd {{projectDirPath}}/Src/build/emscripten
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
make