Attila Magyar
Attila Magyar
Cool, esp-idf should work too. Let me know if you have any questions.
I made an attempt with esp-idf. After cutting out some pieces, punyforth compiled and started on an esp32. However it fails when the assembly code tries to call C functions...
Hi @hinsech475, Since stack effect and other comments are not stored in the dictionary there is no way to access them during runtime. You can use the word _help_ to...
hi @wolfgangr, The core of punyforth is independent of RTOS, but there are lots of esp specific functionalities (like WiFi controlling, GPIO, i2c, spi, netcon) which are coming from RTOS....
> * Can we shift more of runtime FORTH to FLASH? > * Can we set the compiler to store the dictionary in FLASH, instead of RAM? > * Can...
@Jos-Ven probably the problem was that your esp doesn't support Quad I/O mode which is used by default by flash.py. When you switched to dio it looks like it started...
@Jos-Ven, If you start Punyforth on the esp you should get the (stack) prompt automatically after the system booted. If you start some code that runs indefinitely in single task...
The spi functions are based on the spi.c from esp-open-rtos. There is a thin wrapper: https://github.com/zeroflag/punyforth/blob/feab7a0fea1c815a5dc441085251fdea44c7089e/arch/esp8266/rtos/user/forth_spi.c And the Forth words are here: https://github.com/zeroflag/punyforth/blob/6a2e89c1969c12798d627f9b5c49326139f99e8a/arch/esp8266/ext.S#L394 There isn't any user friendly documentation yet,...
Here is the documentation of spi_transfer from https://github.com/SuperHouse/esp-open-rtos/blob/61c3d509e5b930c6c1b269ceff99e2d1f60d2010/core/include/esp/spi.h#L275 ``` * \param bus Bus ID: 0 - system, 1 - user * \param out_data Data to send. * \param in_data Receive...
Hi, sorry for the late response. The `req at: #name` is for accessing the key value pairs in a `application/x-www-form-urlencoded` request (I'm not sure what content-type you used in the...