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.
broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Add fileserver reading from sdcard for demo  Topic is solved

Postby broucari » Tue Aug 24, 2021 2:05 pm

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 167 times

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Add fileserver reading from sdcard for demo

Postby Giovanni » Tue Aug 24, 2021 2:49 pm

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

Postby broucari » Tue Aug 24, 2021 10:54 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Add fileserver reading from sdcard for demo

Postby Giovanni » Mon Nov 01, 2021 2:01 pm

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


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 9 guests