Coder Social home page Coder Social logo

gruiik's Introduction

Gruiik

GRaffic User Interface Intuitive Toolkit

Gruiik is a attempt at building a simple C++11 graphic toolkit for embedded systems. (initial target is stm32F746discovery kit) It surely lacks of optimization and is still a bit messy :)

Thanks to Gábor Kiss-Vámosi for the littlevgl environment. Thanks to Jardel Weyrich for the calculator software. I had to modify it for floating point calculation, the original code should be found here: https://gist.github.com/jweyrich/4bd1d4556069f3d49d73

To build the stm32F746discovery demo:

edit makefile to set the right GCC_BASE GCC_BASE = ~/.platformio/packages/toolchain-gccarmnoneeabi/

cd Release make

drag and drop gruiik_stm32f7.bin to the disco mass storage device. To see the curve demo, select menu0/go curve and press btn2 to generate the curve data. Sliding on top, bottom, left and right edges of the curve select zoom and position.

Go term opens the terminal. Pressing btn3 activates a counter inside the terminal.

Menu1 provides a calculator and a keyboard demo. When CALC_SOLO and VERTICAL_LAYOUT are defined in main.cpp, the app reduces to the calculator (in portrait mode).

To build the PC demo:

cd gruiik

sudo apt-get install libsdl2-2.0-0 (or whatever version) sudo apt-get install libsdl2-dev

g++ sdl.cpp --std=c++11 -g -o pcgruik -lSDL2 -lm ./pcgruik

gruiik's People

Contributors

graffou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.