Current News

Moderator: Mmiscool

User avatar
By Mmiscool
#27900 I am using a bit of a convoluted method to build the flashing utility at the moment and the bat file is dependent on absolute paths at the moment.

The flasher program is also compiled using the LBB (Liberty Basic Booster) compiler and I doubt many people on here are using that. There is some funny business that must be done to make the flasher that packages all of the files in to one exe.

Source for the bat file.

This will create 4 separate bin files. One for each flash size.
Code: Select allset INN=C:\Users\user\Documents\GitHub\Basic\ESP8266Basic\ESP8266BASIC.ino

set OUT=C:\Users\user\Dropbox\MicroController\esp8266\ESP8266_BASIC_INTERPERTERv2\ESPBasic_Flash_Tool\Build

arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=512K,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files --pref build.path="%OUT%\512k" "%INN%"

arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=1M512,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files --pref build.path="%OUT%\1M" "%INN%"

arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=2M,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files --pref build.path="%OUT%\2M" "%INN%"

arduino_debug --verify --board esp8266:esp8266:generic:FlashSize=4M,FlashMode=qio,CpuFrequency=80 --verbose --preserve-temp-files --pref build.path="%OUT%\4M" "%INN%"
User avatar
By AJB2K3
#28545
Code: Select allArduino: 1.6.5 (Mac OS X), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS)"

esp8266basic.ino:26:16: fatal error: FS.h: No such file or directory
compilation terminated.
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.


am i acting dumb here?
what is fs.h?
User avatar
By Mmiscool
#28547 FS.h is the Spiffs file system

http://arduino.esp8266.com/versions/1.6 ... rence.html

Allows for files to be stored on the esp8266 module.

Make sure you are using the staging version of the arduino environment
https://github.com/esp8266/Arduino

Boards manager link: http://arduino.esp8266.com/staging/pack ... index.json