Template project for running EEZ Flow firmware project using STM32F469I-DISCO development board
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.
 
 
 
 
 
 
Martin Vladic 3faebf4e2a update eez-framework 2 years ago
.settings update post.js 2 years ago
.vscode working version 2 years ago
Core working version 2 years ago
Drivers working version 2 years ago
FATFS init 2 years ago
Middlewares update eez-framework 2 years ago
Src update eez-framework 2 years ago
USB_DEVICE working version 2 years ago
Utilities init 2 years ago
template some cleanup 2 years ago
.cproject added template folder 2 years ago
.gitignore update post.js 2 years ago
.gitmodules init 2 years ago
.mxproject working version 2 years ago
.project added template folder 2 years ago
README.md Update README.md 2 years ago
STM32F469NIHX_FLASH.ld init 2 years ago
STM32F469NIHX_RAM.ld init 2 years ago
eez-flow-template-stm32f469i-disco.ioc added template folder 2 years 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

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 {{projectName}}
mkdir -p build/linux
cd 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 {{projectName}}
.\cmake.bat

Visual Studio solution is created in {{projectName}}\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 {{projectName}}/build/emscripten
cd {{projectName}}/build/emscripten
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
make