Giter Club home page Giter Club logo

forthright's Introduction

Forthright

This is a port of Jones Forth to the ESP-8266 microcontroller.

The starting point was the work done by Cheng Chang Wu, who tried to achieve ANS Forth compliance.

See https://github.com/chengchangwu/jonesforth

Planned features

* Debug serial out
* GPIO
* PWM
* ADC
* Timer
* I2C
* SPI

To keep the higher level libraries reasonably portable, I think some constants will be required to be defined at Assembler level, or perhaps even in Makefile configuration.

Future CPUs

Other processors will be considered (or maybe not) in the future if this one is successful.

Obvious candidates are;

  • ARM

    • Texas Instrument CC2538, CC32xx controllers
    • Atmel (now/soon Microchip) range of ARM-based controllers
    • ST Eectronics ARM range of controllers
    • Many Linux/Android capable systems
  • 8051

    • Many Texas Instrument controllers are 8051 based
    • ST Electronic range of 8051 based controllers.

Note for Mac users

This project requires a cross-compile environment, and Espressif recommends the crosstool-ng project, and provides instructions on how to build that. However, that doesn't work on Mac OSX as the "sed" instruction is different in GNU vs the BSD origin of Mac OSX.

Here is what I did (assuming MacPorts is installed)

sudo port install gsed
sudo mv /usr/bin/sed /usr/bin/sed.orig
sudo ln -s `which gsed` /usr/bin/sed

That should do the trick and crosstool-ng building.

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.