Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forth for ESP32 #39

Open
quozl opened this issue Jan 6, 2017 · 12 comments
Open

Forth for ESP32 #39

quozl opened this issue Jan 6, 2017 · 12 comments

Comments

@quozl
Copy link

quozl commented Jan 6, 2017

Mitch Bradley has ported C Forth to ESP32.

I have begun testing. My build steps on Ubuntu;

Hardware so far is;

Any other Forth implementations for ESP32 yet?

@jamesbowman
Copy link
Member

Yes, swapforth has a port:

https://github.com/jamesbowman/swapforth/tree/master/esp8266

It's a bare-metal subroutine-theaded Forth. It currently passes the ANS compliance tests.
The difficult part (for me, at least) is providing a Forth interface to the various APIs that are in the SDK. They're gnarly.

@MitchBradley
Copy link

MitchBradley commented Jan 6, 2017 via email

@MitchBradley
Copy link

MitchBradley commented Jan 6, 2017 via email

@MitchBradley
Copy link

MitchBradley commented Jan 6, 2017 via email

@quozl
Copy link
Author

quozl commented Jan 6, 2017

@jamesbowman, thanks for the link to swapforth. I've looked through the esp8266 directory but can't find anything to build on esp32. I did find the esp8266 bootrom disassembly interesting.

@anse1
Copy link

anse1 commented Jul 5, 2019

These chips are intriguing… some of those boards are actually cheaper than hooking the cheapest bluetooth uart to a msp430 for a wireless forth experience. Did some new ports happen since 2017?

@DRuffer
Copy link
Member

DRuffer commented Jul 5, 2019

@MitchBradley
Copy link

cforth (https://github.com/MitchBradley/cforth) runs pretty well on ESP32. It has interfaces to the SDK socket layer and I2C. It should be easy enough to add bluetooth interfaces via cforth's C-to-Forth gateway mechanism, assuming you understand bluetooth. cforth has some bluetooth app code that runs on top of other cforth ports that could be used as examples. It's not comprehensive; I didn't try to handle every possible bluetooth device, but focused on the task at hand at the time, which was talking to a BLE IoT gadget.

@MPETREMANN11
Copy link

Hello,
I am starting to get started with ESP32forth produced by CH TING and completed by Brad NELSON.
It is a FORTH rather than complete. It even integrates a "TELNET Daemon" and an "HTTP Daemon". In short, you have an HTTP server in the ESP32 card!
Access ESP32Forth web UI: https://arduino-forth.com/article/ESP32_installation_accessWEBUI
BR

@quozl
Copy link
Author

quozl commented Jun 12, 2021 via email

@RGD2
Copy link

RGD2 commented Jun 13, 2021 via email

@quozl
Copy link
Author

quozl commented Jun 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants