Bringing WiFi to the Cidco Mailstation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

esp8266: Increase max upload size to 0xffff

My banked dataflash loader can handle large uploads now

+3 -3
+2 -2
esp8266/http.cpp
··· 139 139 <p> 140 140 Binary to execute on MailStation (<em>maximum size is %d bytes</em>): 141 141 <p> 142 - <input type="file" name="file" maxlength="%d" size="%d"> 142 + <input type="file" name="file" maxlength="%d"> 143 143 <br> 144 144 <p> 145 145 Ensure the WSLoader application is running on the MailStation ready to accept ··· 148 148 <input type="submit" value="Upload"> 149 149 </form> 150 150 )END", 151 - MAX_UPLOAD_SIZE, MAX_UPLOAD_SIZE, MAX_UPLOAD_SIZE); 151 + MAX_UPLOAD_SIZE, MAX_UPLOAD_SIZE); 152 152 }); 153 153 154 154 /*
+1 -1
esp8266/wifistation.h
··· 58 58 extern struct eeprom_data *settings; 59 59 extern Syslog syslog; 60 60 61 - #define MAX_UPLOAD_SIZE (16 * 1024) 61 + #define MAX_UPLOAD_SIZE 65535 62 62 63 63 /* these are ESP8266 pins */ 64 64 const int pRedLED = 0;