Open Sascha274 opened 10 years ago
C:\Users\anson>spark compile sparkcore-local-http-server-rest-json-master Including: sparkcore-local-http-server-rest-json-master\HttpRequest.cpp sparkcore-local-http-server-rest-json-master\HttpRequest.h sparkcore-local-http-server-rest-json-master\HttpResponse.cpp sparkcore-local-http-server-rest-json-master\HttpResponse.h sparkcore-local-http-server-rest-json-master\http_parser.cpp sparkcore-local-http-server-rest-json-master\http_parser.h sparkcore-local-http-server-rest-json-master\slre.cpp sparkcore-local-http-server-rest-json-master\slre.h sparkcore-local-http-server-rest-json-master\spark-Web-Tinker.ino attempting to compile firmware pushing file: sparkcore-local-http-server-rest-json-master\HttpRequest.cpp pushing file: sparkcore-local-http-server-rest-json-master\HttpRequest.h pushing file: sparkcore-local-http-server-rest-json-master\HttpResponse.cpp pushing file: sparkcore-local-http-server-rest-json-master\HttpResponse.h pushing file: sparkcore-local-http-server-rest-json-master\http_parser.cpp pushing file: sparkcore-local-http-server-rest-json-master\http_parser.h pushing file: sparkcore-local-http-server-rest-json-master\slre.cpp pushing file: sparkcore-local-http-server-rest-json-master\slre.h pushing file: sparkcore-local-http-server-rest-json-master\spark-Web-Tinker.ino grabbing binary from: https://api.spark.io/v1/binaries/538834749a647454700d9d90 saved firmware to C:\Users\anson\firmware_1401435254222.bin Compiled firmware downloaded.
C:\Users\anson>spark flash 55ff6a065075555319331787 firmware_1401435254222.bin Including: firmware_1401435254222.bin attempting to flash firmware to your core 55ff6a065075555319331787 flash core said {"ok":false,"errors":[{"id":"55ff6a065075555319331787","status" :"Update failed - File was too big!"}]}
Hi Sascha274 and zhaozhongyao Can you test new commit of ino file ?
new commit still can't flash,because of the file was too big. I get a .bin file form server with 108KB after compile.
I try SparkCore-RESTserver,It works fine.
Use webIDE for compil and flash.
Me it works
If I import the bin file and I pushed with Spark CLI it works
New commit of HttpRequest.h (All buffers 512 to 128)
It works,thanks!
Cool
I have inserted all the files in the Spark Web IDE. Verification passed.
It says: "Flash successful! Please wait a moment while your Core is updated... Ready."
But nothing happend on the Core . (other Programms like LED FLASHING Example are working (can be flashed) this way)
Can somebody help or confirm?!