-
Notifications
You must be signed in to change notification settings - Fork 0
Finding Platform Folder
M Hightower edited this page Jul 27, 2019
·
1 revision
The file platform.local.txt
needs to be in the hardware folder that supports the board platform you are using.
For example, to find the right folder for an ESP8266 board, follow these steps:
- Select a board from the ESP8266 list.
- Set preferences for a verbose compile,
- From the Arduino IDE select Edit->File->Preferences.
- Find the selection: "Show verbose output during: [] compilation [] upload"
- Check the box for "compilation"
- Open a new sketch.
- Run Verify, (Sketch->Verify/Compile).
- Scroll up to the top of the Arduino IDE message area.
- Look for the text "Using core 'esp8266' from platform in folder"
and make note of the path. This line will be near the top, before "Detecting libraries used...".
This is the location you need to remember for saving
platform.local.txt
.
A sample of Arduino IDE message area text:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs ...
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine ...
Using board 'generic' from platform in folder: C:\Users\mhightower83\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0
> Using core 'esp8266' from platform in folder: C:\Users\mhightower83\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0
Detecting libraries used...
...
For this sample, we would save the
platform.local.txt
file to:
C:\Users\mhightower83\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0
- 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.