Comments (10)
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.
@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.
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.
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.
@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.
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.
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.
Hi, can I close this issue?
from uhttp.
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.
Ok. If you want I could add you on uHTTP develop team.
from uhttp.
Related Issues (13)
- Remove String declaration HOT 1
- uHTTP SVG image
- Timeout
- uHTTP::body() don't return full data HOT 5
- Wont compile on SMD architecture
- Query string
- Uppercase and lowercase
- Authentication
- Parse body in according to method
- Bug HOT 15
- Why base on EthernetClient and not Client? HOT 3
- Arduino reset after receiving http request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uhttp.