-
Notifications
You must be signed in to change notification settings - Fork 0
ESPurna Build Aids
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.
- Keeping the Lights On - how to manage GPIO state across reboots and crashes
- Boot fails when SPI Bus used
- GPIO Drive Strength and Ringing
- LDO Regulators WIP
- ESP8266 Power Considerations This is only a rough outline, needs a lot of development.
- Upgrading Flash Chips, QIO, and DIO
- Dodgy Extra 2K of DRAM or CONT - WIP
- WDTracks - Print last call before WDT
- 5V Tolerant I/O?
Arduino IDE specific
Misc.
- Exception Causes
- ESP8266 will not boot
- Stacks sys and cont
- WIP Boot ROM and SDK Notes
- Multi-segment Boot ROM Loader, notes
- Cache_Read_Enable How to turn off and on instruction cache execution.