Giter Club home page Giter Club logo

Comments (13)

zeroflag avatar zeroflag commented on May 28, 2024

Could you elaborate further, what kind of linux support do you mean? Currently you can run punyforth on linux, but there is no os integration (socket, file system, etc).

$ cd punyforth/arch/x86
$ ./build

Thils will compile, test, and start the REPL on linux.

from punyforth.

yunfan avatar yunfan commented on May 28, 2024

no i mean build that firmware on linux and flashing them to my module using esptool

also when i compiled it on my cellphone(termux on android) it fails too, and mostly caused by assembly syntax

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

no i mean build that firmware on linux and flashing them to my module using esptool

Ok, there are no build instructions yet. But basically you'll need to clone and build this project first

https://github.com/SuperHouse/esp-open-rtos

This needs esp-open-sdk, just follow the instructions on the github page. After that copy punyforth into the example directory of esp-open-rtos and run make.

There will be detaild instructions about the build process at some time.

from punyforth.

yunfan avatar yunfan commented on May 28, 2024

so your forth is an rtos app not barebone one?

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

Yes, this is a programming language, not an operating system.

from punyforth.

yunfan avatar yunfan commented on May 28, 2024

i followed all the ins of esp-open-rtos

and then i got this after i enter the examples/punyforth then type make

still got error

jyf@brix:~/repo/git/esp-open-rtos/examples/punyforth$ LC_ALL=c  make
make: *** No targets specified and no makefile found.  Stop.

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

The makefile is located at esp-open-rtos/examples/punyforth/arch/esp8266/rtos/user

Try to run make in this directory.

from punyforth.

yunfan avatar yunfan commented on May 28, 2024

yes i have enter that directory and type make too
still lack of a file named uber.forth

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

yes i have enter that directory and type make too
still lack of a file named uber.forth

The uber.forth is generated by the modules.py python script. It is just a big (zero terminated) source file that contains all of the selected modules in the correct order. Use the modules.py to generate one then you'll be able to flash it with help of the flash script (it is in the same directory as the modules.py).

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

I added build instructions to the wiki

https://github.com/zeroflag/punyforth/wiki/Build-environment-setup

from punyforth.

yunfan avatar yunfan commented on May 28, 2024

export PATH=$PATH:/esp/esp-open-sdk/xtensa-lx106-elf/bin

should be

export PATH=$PATH:~/esp/esp-open-sdk/xtensa-lx106-elf/bin

from punyforth.

zeroflag avatar zeroflag commented on May 28, 2024

@yunfan thx, fixed

from punyforth.

mhoffma avatar mhoffma commented on May 28, 2024

what is uber.forth it seems to be missing? is that just any forth program from the examples directory?

from punyforth.

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.