Experimental super-lightweight GUI toolkit for TECS (TOPPERS Embedded Component System).
Before building the project, the directory that contains tecsgen
(TECS generator) must be added to the PATH
environment variable.
Development package of SDL2 library is required to build the project.
- Move to the build directory by
cd test/sdl-basic/build
- Run
make tecs
to generate TECS interface code from TECS CDL files. Thegen
directory will be created. - Run
make
to build the executable file. - RUn
./test
to start the example program.
When you update any dependent CDL files, you must re-run make tecs
so that interface code is up-to-date.
You need to install mbed-cli before building this project. Using pipenv is recommended to manage Python environments. Start the pipenv environment by running pipenv shell
at the repository root.
- Move to the build directory by
cd test/sdl-basic/build
- Run
make tecs
to generate TECS interface code from TECS CDL files. Thegen
directory will be created. - Run
make
to build the library file. cd ../mbed-app
cp mbed_settings_example.py mbed_settings.py
and editmbed_settings.py
to match your building environmentmbed update
(This might take a minute or an hour)mbed compile
A sample project for STM32F746G-Discovery can be found in the directory test/stm32f7d-stopwatch
.