Code Monkey home page Code Monkey logo

timkoi / libmule Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 2.96 MB

libMule - Microcontroller-Universal Library (that is Extendable) (mirror of https://gitlab.com/timkoi/libmule, pull-requests should be sent to GitLab, not GitHub)

License: GNU Lesser General Public License v2.1

Shell 1.51% C++ 72.31% QMake 0.20% Python 2.57% Makefile 2.53% Objective-C 0.37% Objective-C++ 3.92% PLpgSQL 0.15% Batchfile 0.01% HTML 14.66% C 1.76% ASP 0.01% Lua 0.01% PHP 0.01% Perl 0.01% Ruby 0.01% Visual Basic 0.01%
libmule mule raspberry-pi lego-ev3 linux library microcontroller

libmule's Introduction

libMule - Microcontroller-universal Library (that is Extendable)

libMule (or just Mule for short) is a C++ library that allows you to 
create applications that will work on any microcontroller (LEGO 
Mindstorms EV3 or Raspberry Pi, for example). It is similar to Qt in 
some ways... except Qt is for cross-platform GUI apps and Mule is 
for embedded microcontroller apps.

====== Supported platforms ======
Currently, only these platforms are supported:
- Raspberry Pi
- LEGO EV3 (Mindstorms)
- Mule Microcontroller Simulator
- Arduino Uno, Leonardo and Mega 2580
- Any Linux GPIO-capable microcontroller

Support for more platforms will be added in future releases.

See also src/platformsupport/SUPPORTED_TOOLCHAINS to get more info about 
tested and officially supported toolchains

====== Building Mule ======
WARNING!!! Mule does not work on Windows unless you use MSYS2.

To build Mule for your device, you'll need:
- GNU bash and GNU make
- A toolchain for your target device with a C++ cross-compiler and ar 
utility

Navigate to the source code directory of libMule and create a build 
directory:

# mkdir builddir
# cd builddir

Then, run ../configure:

# ../configure -prefix=<path to the directory where libMule will be installed> -platform=<your platform name*> \
	      -platformcc=<path to the C cross-compiler> -platformcxx=<path to the C++ cross-compiler> \
	      -platformar=<path to the ar utility that produces static libraries for the TARGET device>

After configure generates a Makefile, run make:
# make
# su -c "make install"

That's it!

* Platform names for each supported device: "legoev3" for LEGO EV3, 
"pigpio_rpi" for Raspberry Pi, "dummy" for the dummy platform, "microcontrollersim"
for Mule Microcontroller Simulator

Documentation and API reference are available at https://gitlab.com/timkoi/libmule/wikis/home

libmule's People

Contributors

tenfensw avatar

Stargazers

MOATASSEM BILLAH SANDHU avatar Ivan Shi 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.