Add fileserver reading from sdcard for demo Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Add fileserver reading from sdcard for demo

Post by broucari »

Hi,

Could be possible to add this self contained file server reading from file ?

I plan to give a lecture to student and it will be nice to improve the demos.

Feel free to review I will done the needed stuff

Bastien
Attachments
patch.zip
(1.66 KiB) Downloaded 502 times
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Add fileserver reading from sdcard for demo

Post by Giovanni »

Hi,

Interesting, how could I test this file server?

Giovanni
broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Re: Add fileserver reading from sdcard for demo

Post by broucari »

Hi,

Add some file like test.html to the sdcard and do http://192.168.1.10/test.html in your borwser.

I plan to refactor in order to allow dynamic json5 file for reading some variable. with a little bit of javacript it will be nice.

Bastien
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Add fileserver reading from sdcard for demo

Post by Giovanni »

Hi,

I integrated this change in a little different way, the code is under /os/vaious/httpd_fatfs_bindings, this way it is also available outside the demo for others to integrate.

Giovanni
Post Reply