Based on ESP8266 off-chip SPI-Flash demo

Start a freertos task to run the flashDB routine, and then restart after 1000 seconds. Run log, please see the ESP8266_flashDB_log.rtf log in the current directory

ESP8266 Development Environment

ESP8266 Development Guide

Compile and download

  • cd into the esp8266_spi_flash directory
  • make all
  • Use serial cable to connect 8266 development board to PC
  • Enable the serial port, execute the command: sudo chmod 777 /dev/ttyUSB*
  • make flash
  • make monitor