skvamme / atlast-wrapper

Atlast Forth 1.2 wrapper for ESP32-WROVER and FreeRTOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atlast-wrapper

Atlast Forth 1.2 "wrapper"** for ESP32-WROVER and FreeRTOS. Pulled out of fryblik/esp32-atlast to allow integration into other projects.

Wraps Atlast in a FreeRTOS task, input and output are buffered. Specifically modified Atlast 1.2 files are required (src/atlast-1.2-esp32/).

Usage

Submit line of code for evaluation:

void atlastCommand(char* command)

Get contents of Atlast output buffer (clears the buffer):

std::string atlastOutput()

Check if Atlast output buffer is populated:

bool atlastOutputAvailable()

Send ATL_BREAK signal:

void atlastKill(false)

Restart Atlast task and clear Atlast return stack:

void atlastKill(true)

About

Atlast Forth 1.2 wrapper for ESP32-WROVER and FreeRTOS.

License:MIT License


Languages

Language:C 91.0%Language:C++ 9.0%