Giter Club home page Giter Club logo

gnat4rpi's Introduction

The project is aimed to port GNAT GPL for LEGO MINDSTROMS NXT-Ravenscar edition to Raspberry Pi. The work includes the porting of GNAT compiler toolset, Ravenscar runtime and drivers. The GNAT compiler toolset in GNAT GPL for LEGO MINDSTROMS NXT-Ravenscar edition can be used directly for Raspberry Pi. Only the porting of Ravenscar runtime and drivers are necessary. They are placed in folers RTS/drivers and RTS/ravenscar respectively. Application level test programs resides in RTS-test folder. 
To compile example programs on Windows platform, in my case, a laptop with Windows 7 64bit home basic pre-installed, first download GNAT GPL for LEGO MINDSTROMS NXT-Ravenscar edition from Libre.Adacore.com. Download also gnumake executable and place it into the bin folder in GNAT installation. Download all the files in both RTS and RTS-Test folders. Open a console and change current directory to say RTS-Test/blinker and invoke 'make'. Blinker01.bin as well as other stuffs will be created. Copy Blinker01.bin to a SD card as kernel.img, together with other stuffs needed for booting Pi. One can also tranfer Blinker01.bin directly to Pi using a bootloader. Please visit https://github/dwelch67/raspberrypi for detailed instruction.
At present stage, only drivers for GPIO, mini_uart, sound playing by PWM and a  system timer are prepared, other drivers will come soon.

gnat4rpi's People

Contributors

zhenggennj avatar

Watchers

Yao Fei 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.