ovidiucp / TinyWebServer

Small web server for Arduino, fits in 10KB ROM, less than 512 bytes RAM
http://www.webweavertech.com/ovidiu/weblog/archives/000484.html
GNU Lesser General Public License v2.1
245 stars 65 forks source link

Couple of minor bits we over-looked #5

Closed Hardcore-fs closed 12 years ago

Hardcore-fs commented 12 years ago

Also the LEDblink is not 100% reliable on a cold boot, I have found and fixed it. Its only a demo so it is better it works (if just a bit slower), I will also file a bug with the Arduino SPI library

I notice the TWS library only allows 160 bytes of buffer space, it would be good if the user could change this by passing in a constructor 512 bytes would be better since this is the size of a sector on the Dos library.

But I notice that you have tied the buffer size with "uint8_t" at various places in the code

Hardcore-fs commented 12 years ago

Forget this.. After spending a fair amount of time looking into this, I may have a minor solution that fixes the SPI and other issues apart from the 'cold boot'. Also it returns the code to a more cross-platform state without the need for testing the board type.

Aylr commented 11 years ago

I have searched, probed, scoped and hacked and can't seem to find the solution to the cold boot. Any other thoughts?