mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-10-14 09:51:31 +08:00
1.8 KiB
1.8 KiB
Arduino IDE board configuration
The ESP8266 comes in various models:
configure your Arduino IDE -> Tools -> Boards as:
Known working configs
The latest ESP01 and ESP12Es come with 4Mb of flash: For those
- Board: Generic ESP8266 Module
- Upload Speed: 115200
- CPU frequency: 160 MHz
- Flash Size: 4M (3M SPIFFS)
- Flash Mode: DIO
- Flash Frequency: 40Mhz
- Reset Method: CK
- Debug Port: Disabled
- Debug Level: None
Some of the older devices come with 1M flash
- Board: Generic ESP8266 Module
- Upload Speed: 115200
- CPU frequency: 160 MHz
- Flash Size: 1M (128K SPIFFS)
- Flash Mode: DIO
- Flash Frequency: 40Mhz
- Reset Method: CK
- Debug Port: Disabled
- Debug Level: None
Though now no longer supported, it is possible to run the firmware on devices like the ESP07 with 512K of flash:
- Board: Generic ESP8266 Module
- Upload Speed: 115200
- CPU frequency: 160 MHz
- Flash Size: 512k (128K SPIFFS)
- Flash Mode: DIO
- Flash Frequency: 40Mhz
- Reset Method: CK
- Debug Port: Disabled
- Debug Level: None
Figuring out the Flash Size
If you are unsure how much flash memory your particular module has. you can figure it out from the Arduino IDE:
- Open the Arduino IDE
- Click File, Examples, ESP8266, CheckFlashConfig
- Upload the sketch to the ESP8266
- View the Serial Monitor (115200 baud)
- This compares what you have in Tools -> Board -> Flash Size to what is actually on the board...
For example:
Flash real id: 001340C8
Flash real size: 524288
Flash ide size: 524288
Flash ide speed: 40000000
Flash ide mode: DIO
Flash Chip configuration ok.
(NB: If you dont get a 'Flash Chip configuration ok.' uploading will appear to work succesfully but the chip will crash on startup and never show an access point / serial output)