ESPurna Build Aids - mhightower83/Arduino-ESP8266-misc GitHub Wiki
To aid in building the ESPurna Firmware under the Arduino IDE, I added two new board selections of ESPurna for ESP8266 based Modules and ESPurna for ESP8285 based Modules. Each board has a selection of models to further define the needs for building firmware for a specific device. This was done by creating files boards.local.txt
and platform.local.txt
in the ESP8266 hardware platform folder. To find this folder see Finding Platform Folder.
Examples of boards.local.txt
and platform.local.txt
are in this repository. These files should be edited to suit your build needs. Note the different boards.local.txt
files for Arduino ESP8266 core 2.3.0 and 2.4.1.
This page builds upon the information contained on pages:
To use this page follow the guidance on the Global Defines page and substitute the platform.local.txt
file referenced there, with the platform.local.txt
, boards.local.txt
, and additional files linked to below.
Summary of files and folders to be added or optional:
- In platform folder
platform.local.txt
- In platform folder
boards.local.txt
1 for core 2.4.1 or - In platform folder
boards.local.txt
1 for core 2.3.0 - In platform folder
variants/sonoff/pins_arduino.h
- In Sketch's folder
globals.h
, Optional - In Sketch's folder
compiler_flags.txt
, Optional - In Sketchbook folder
include/ide_globals.h
, Optional
1. The files boards.local.txt
for core 2.3.0 and 2.4.1 are different. All other files are the same for core 2.3.0 and 2.4.1.↩
For information on what you can do with boards.txt
, boards.local.txt
, platform.txt
, and platform.local.txt
see the Arduino IDE 1.5 3rd party Hardware specification.