by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Attila Magyar
    @zeroflag
    @Lukas07803645_twitter you need to setup wifi only once
    wifi settings are stored persistently so next boot it will connect automatically, no need to call wifi-connect again
    you can load and start a repl on tcp by executing:
    TCPREPL load
    repl-start
    then you can connect to it on port 1983
    Lukas
    @Lukas07803645_twitter
    Ok thank you very much. I will try. Do I need to call TCPREPL load every time I boot or are all Settings that I make persistent ? And the Port 1983 is Telnet ?
    Lukas
    @Lukas07803645_twitter
    And if I create a own forth file and its on the flash how can I autostart it on Boot ?
    And if I connect over Telnet I cant send commands ? is this Normal ? Sorry that I ask so much but Im a newbie and dont know forth well
    Attila Magyar
    @zeroflag
    you need to load and start the TCPREPL every time you reboot yes
    you can specify your own forth file using --main parameter of flash.py
    that file will be executed at every boot
    and yes you should be able to use any telnet client to connect to the tcprepl
    Lukas
    @Lukas07803645_twitter
    Ok all worked ! Thanks. One Question, I read you said something about the ESP32 and punyforth. Are there any news ? My Company and I are searching for a working forth on the ESP32 and maybe you had success. :D
    Lukas
    @Lukas07803645_twitter
    image.png
    Telnet is weird somehow
    Attila Magyar
    @zeroflag
    don't use the windows telnet client, it doesn't support buffering
    try putty for example
    I had no luck with esp32 unfortunately, maybe i'll try to make it work again in the future
    Lukas
    @Lukas07803645_twitter
    I tried putty before windows telnet but putty is weird as well. Are there any settings ? I worked only one time with telnet
    Attila Magyar
    @zeroflag
    make sure you select telnet or raw protocol (I don't remember which one) in putty
    Lukas
    @Lukas07803645_twitter
    tried both but dont work... :(
    Attila Magyar
    @zeroflag
    what was the error?
    Lukas
    @Lukas07803645_twitter
    no error, but the exact same weird terminal in and output
    Lukas
    @Lukas07803645_twitter
    Any Ideas ?
    Attila Magyar
    @zeroflag
    i'll check this, it worked last time
    Lukas
    @Lukas07803645_twitter
    Thanks. Maybe you can help me :D thats the only thing thats not working right now
    Lukas
    @Lukas07803645_twitter
    Do you know something new ?
    Attila Magyar
    @zeroflag
    looks like something is broken in netcon
    it needs more investigation
    Lukas
    @Lukas07803645_twitter
    So Can I help you or you do it on your own ?
    Attila Magyar
    @zeroflag
    I suspect something changed in netbuf_copy_partial after an sdk upgrade
    Attila Magyar
    @zeroflag
    i'll check it at the weekends, if you can help debugging it that would be great
    Lukas
    @Lukas07803645_twitter
    Yeah I can help. Just inform me if its ready to be tested.
    Lukas
    @Lukas07803645_twitter
    Something new ?
    Attila Magyar
    @zeroflag
    Ah sorry, something else came up, will try to do this week
    Lukas
    @Lukas07803645_twitter
    Ok thanks
    Lukas
    @Lukas07803645_twitter
    You got something ?
    Attila Magyar
    @zeroflag
    @Lukas07803645_twitter yeah, I guess a fixed it
    try the latest binary and let me know if you still see the problem
    i tested it with putty in raw mode
    Lukas
    @Lukas07803645_twitter
    Ok I will try. Tahnk you very much
    Lukas
    @Lukas07803645_twitter
    Ok seems like all is working fine. Thank you vey much. But I have one Question. Is there anything like the "words" command in your punyforth ?
    Attila Magyar
    @zeroflag
    there is a help word that prints out every word name from the dictionary
    Lukas
    @Lukas07803645_twitter
    Thanks. Worked
    TRiXER88
    @TRiXER88
    Hey, Do you got something done for the ESP32 ? Would be so nice to have a Forth with Wifi REPL on the ESP32
    fountainman
    @fountainman
    Question about punyforth -
    Do I understand correctly that the PunyForth flashing script writes source code to flash, and then every single time the machine boots it compiles the entire codebase to RAM, and there is no way to store compiled code in flash?
    Attila Magyar
    @zeroflag
    @TRiXER88 no, there was an attempt to port it to esp32 (you can search for the issue) but it didn't succeed
    @fountainman yes, that's how it works by default, however there is module called turnkey which is supposed to dump the compiled code and store it to flash so that booting will be faster (i'm not sure if it works properly in the latest version though), and there is a 3rd party cross compiler but I haven't tested that