energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

Updating SLFS to latest version, add EMT #817

Closed spirilis closed 8 years ago

spirilis commented 8 years ago

This will become a pull request for updating the SLFS library in all CC3100/CC3200 WiFi libraries with the latest version, deleting the old examples and adding the new examples. As the API has changed a little bit (new functions, return code is no longer true/false but SL_FS_OK (0) for success and < 0 for error), it's best folks get used to the updated library rather than use the old one from pull request # 572.

rei-vilo commented 8 years ago

Un-committing previous pull request might be safer.

Also, EMT has a dedicated fatfs library.

spirilis commented 8 years ago

Nah I figured out the deltas. Pullreq forthcoming...

spirilis commented 8 years ago

Pullreq as #819

rei-vilo commented 8 years ago

There's a nice feature available on the Arduino IDE for the Arduino Yun. If the folder of the folder has a sub-folder called www, it is automatically uploaded to the board.

For more information, please refer to Arduino Yún · Intro to web server.

rei-vilo commented 8 years ago

New ticket #827.

robertinant commented 8 years ago

This would require enhancing cc3200prog and probably the IDE to instruct cc3200prog to upload the www folder. I'll put it on the list of enhancements for cc3200prog.

spirilis commented 8 years ago

Another option would be an Energia "feature" to auto-generate a sketch that includes the files in a C array, and produces SLFS code to upload them, then compiles, uploads and runs. I think the cc3200prog route is better.