Git Product home page Git Product logo

Comments (7)

billroy avatar billroy commented on August 10, 2024

Hi, Tim, and thanks for your note.

If you already have a wiring port available, most of the work will be sorting out the header file includes to be correct for your platform. As you’ve already found, avr.h is included, but you don’t want that.

Have a look in src/bitlash.h and you will see several chunks of code which configure for different platforms. You’ll need to do something similar. You’ll probably need to add an #ifdef for your platform and include the wiring header files. You’ll also need to #ifdef out the avr stuff.

I hope that helps. Let me know if you hit a snag.

Kind regards,

-br

On Jun 15, 2015, at 1:16 PM, Tim Caswell [email protected] wrote:

I would love to use bitlash on my various wifi-enabled development boards. They all have a port of arduino's wireing which I imagine is most the work porting bitlash, but I'm wondering what else would be required and if anyone has tried this before.

For example, when trying to import the bitlash header into an ESP8266 project using the Arduino IDE, I get errors about bitlash trying to include avr.h.

I'd be willing to do the work to port what's left, but I'm looking for some guidance.


Reply to this email directly or view it on GitHub #47.

from bitlash.

igrr avatar igrr commented on August 10, 2024

Hi Tim, did you get any further? It would be cool if we could make Bitlash ESP8266-compatible. Let me know if you need some help (here or in esp8266 gitter chat).
Thanks.

from bitlash.

creationix avatar creationix commented on August 10, 2024

bitlash makes a lot of avr and arduino assumptions. I'm currently working on a language kinda like bitlash, but developing for esp chips first. I have one based on esp8266/Arduino and am starting one using esp-open-sdk directly. https://github.com/creationix/uscript

from bitlash.

q2dg avatar q2dg commented on August 10, 2024

Maybe ESP8266 and Spark go a bit out of scope of Bitlash but I think official ARM-based Arduino boards (Due and Zero at the moment) should be default-supported.
Thanks anyway.

from bitlash.

tochinet avatar tochinet commented on August 10, 2024

OTOH, on ARM/ESP8266 boards, you also have Espruino as an alternative. This
gives you complete Javascript capabilities, much more than what bitlash
intended to do.

On Thu, Aug 20, 2015 at 7:12 PM, Osqui LittleRiver <[email protected]

wrote:

Maybe ESP8266 and Spark go a bit out of scope of Bitlash but I think
official ARM-based Arduino boards (Due and Zero at the moment) should be
default-supported.
Thanks anyway.


Reply to this email directly or view it on GitHub
#47 (comment).

from bitlash.

creationix avatar creationix commented on August 10, 2024

@tochinet well yes, and esp8266 in particular has a popular elua port called nodemcu, but it's not the same category as bitlash. I'm looking for a simpler language.

from bitlash.

ioeverything avatar ioeverything commented on August 10, 2024

If you wana experience micropython in esp8266 you can find something in
https://github.com/micropython
http://docs.micropython.org/en/latest/esp8266/index.html

from bitlash.

Related Issues (20)

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.