No description, website, or topics provided.
C++ C Other Python Processing Shell Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files
fw
lib
src
.gitignore
.travis.yml
README.md
blank.bin
esp_init_data_default.bin
esptool.exe
esptoolpy.py
forced.txt
lat.bat
latest.bin
platformio.ini
test.bat
upd1.bat
upd15.bat
upd2.bat
upd_stage.bat
updp.bat
updx.bat

README.md

vESPrino Firmware

This is the firmware behind the vThing range of devices. It has a variety of sophisticated features targeted to decrease development and maintenance costs.

Building

To reduce TCD efforts, the project is a real C++ project, with just a twist of Arduino in it. At some point of time the Arduino IDE and the limitation to only use INO files made the whole development quite complicated, so i decided to move it to Platform IO. So the steps to build it are as follows:

  1. Install PlatformIO IDE.
  2. Clone this repository and open in the IDE via File->Open Folder... (the root folder with the platformio.ini) file
  3. Build it via PlaformIO->Build - this will download the necessary platform files and build the project
  4. Upload it to your device. In platformio.ini, you can optionally specify BAUD Rate (e.g. upload_speed=256000), COM Port (e.g.upload_port=COM5) and board type (e.g. board=nodemcuv2)

Uploading latest built version

  1. Download the fw from here: http://anker-bg.com/vlast3k/vesprino/latest.bin
  2. Download the flashing tool for your OS from here: https://github.com/igrr/esptool-ck/releases/tag/0.4.9
  3. and then execute something like (replace the comport)
esptool -vv -cd nodemcu -cb 256000 -cp "COM5" -cf latest.bin