Coder Social home page Coder Social logo

aenchevich / pc_simulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lvgl/lv_port_pc_eclipse

0.0 2.0 0.0 2.68 MB

PC simulator project for LittlevGL embedded GUI Library

Home Page: https://littlevgl.com/pc-simulator

License: MIT License

Makefile 16.11% C 83.89%

pc_simulator's Introduction

PC project for LittleV Graphics Library

The Littlev Graphic Library is written mainly for microcontrollers and embedded systems however you can run the library on your PC as well without any embedded hardware. The code written on PC can be simply copied when your are using an embedded system.

Using a PC simulator instead of an embedded hardware has got several advantages:

  • Costs $0 because you you don't have to buy design PCB
  • Fast because you don't have to design an manufacture PCB
  • Collaborative because any number of developers can work without hardware requirements
  • Developer friendly because much easier and faster to debug on PC

Requirements

  • The PC simulator is cross platform so Windows, Linux and OSX is supported
  • SDL a low level driver library to use graphics, handle mouse, keyboard etc.
  • This project (configured for Eclipse CDT IDE)

Usage

Get the PC project

Clone the PC project and the related sub modules:

git clone https://github.com/littlevgl/proj_pc.git
cd proj_pc
git submodule update --init

or download it as zip here.

Install SDL

You can download SDL from https://www.libsdl.org/

On Linux you can install it via terminal:

  1. Find the current version of SDL2: apt-cache search libsdl2 (e.g. libsdl2-2.0-0)
  2. Install SDL2: sudo apt-get install libsdl2-2.0-0 (replace with the found version)
  3. Install SDL2 development package: sudo apt-get install libsdl2-dev
  4. If build essentials are not installed yet: sudo apt-get install build-essential

Install Eclipse CDT

Download and install Eclipse CDT from http://www.eclipse.org/cdt/

Import the PC simulator project

  1. Open Eclipse CDT
  2. Click File->Import and choose General->Existing project into Workspace
  3. Browse the root directory of the project and click Finish
  4. Build your project and run it

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request!

If you find an issue, please report it via GitHub!

Donate

If you are pleased with the graphics library and found it useful pleas support its further development:

Donate

pc_simulator's People

Contributors

kisvegabor avatar chenshijianworkgit avatar

Watchers

James Cloos avatar  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.