Giter Club home page Giter Club logo

Comments (10)

NitrofMtl avatar NitrofMtl commented on June 9, 2024

Correction: I t seem some example works other don't; on parse, rest_interface and sd_doc_root example, it compile on arduino UNO but not a Arduino DUE. for the base example, it complitly froze on compile on UNO as well but with the eror:

Exception in thread "Thread-639" java.lang.StackOverflowError
at java.lang.Character.codePointAt(Character.java:4866)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3775)
at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
at java.util.regex.Pattern$Loop.match(Pattern.java:4785)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)

and a lot of line of "at java..."

from uhttp.

hreintke avatar hreintke commented on June 9, 2024

@NitrofMtl :
It seems that you are not using the Sming environment but the Arduino.
Sming is used for esp8266 programming using a cross compile on windows/unix/mac.
You can find installation instructions on the "Getting started" part of the repository.
In the repository are also several examples on the usage of sming

from uhttp.

NitrofMtl avatar NitrofMtl commented on June 9, 2024

ok.. but this lib have been wrote for arduino... working on UNO but not DUE board... I've try to instal swing anyway... doesn't fix the problem

from uhttp.

hreintke avatar hreintke commented on June 9, 2024

Arduino libraries only run on sming after being adapted to the sming environment.
There are several libraries included in the sming repository. You can check there whether "your" library has a sming version. I not they can be used as example for sming adaption.
If ready and working, you can create a pull request to include the new library into sming.

from uhttp.

hreintke avatar hreintke commented on June 9, 2024

@NitrofMtl :
Sorry but I replied to the issue in the assumption it was a question on the sming repository.
Only now I see it is in the uHTTP repository.
Forget my inital comments, this is the answer on the original issue.

I worked shortly with uHTTP when starting with Arduino. After that I discontinued that and have no further experience with uHTTP. Can't help you with your compile issues.

from uhttp.

NitrofMtl avatar NitrofMtl commented on June 9, 2024

Ok. It appear that the problem came from that Arduino DUE have a lot more memory and all PROGMEM function should be remove. I din't have the skills to do it, maybe try something... :P

from uhttp.

NitrofMtl avatar NitrofMtl commented on June 9, 2024

Ok. upgraded my skills apparently :P
I was effectevely the PROGMEM function that have to be removed. so now it work.
Also, I tricked some function of my own to ease some basic function, like reconise a file on sd card, and send it to client ans some other function of that kind.

I will probably post it soon

see ya.

from uhttp.

tonyputi avatar tonyputi commented on June 9, 2024

Hi, can I close this issue?

from uhttp.

NitrofMtl avatar NitrofMtl commented on June 9, 2024

yep. find it hard to follow to do a pull request so maybe should I do it here right now. I work on modifying the library to work with Arduino DUE and add some more feature like sdFile request.
Not completed yet but still most of it work. uHTTP Nitrof version

from uhttp.

tonyputi avatar tonyputi commented on June 9, 2024

Ok. If you want I could add you on uHTTP develop team.

from uhttp.

Related Issues (13)

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.