ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Functions
testflash.c File Reference

Create or read a flash test pattern file - used for testing esp8266 flash. More...

#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Create or read a flash test pattern file - used for testing esp8266 flash Depends on esptool from https://github.com/themadinventor/esptool Example - test 1 megabyte of flash - we write and verify a pattern ESPTOOL=/usr/local/bin/esptool.py ESPPORT=/dev/ttyUSB0 gcc testflash.c -o testflash -mkdir tmp testing first megabyte Create megabyte size test file ./testflash -s 0x100000 -w tmp/test1w.bin Write file to ESP8266 -p -b write_flash \ \ 0x000000 tmp/test1w.bin read flash back from ESP8266 -p -b read_flash \ 0x000000 0x100000 tmp/test1r.bin Verify data read back matches what we wrote ./testflash -s 0x100000 -r tmp/test1r.bin. More...
 

Detailed Description

Create or read a flash test pattern file - used for testing esp8266 flash.

Date
1 Nov 2016
Copyright © 2015-2016 Mike Gore, GPL License
You are free to use this code under the terms of GPL
please retain a copy of this notice in any code you use it in.

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file testflash.c.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Create or read a flash test pattern file - used for testing esp8266 flash Depends on esptool from https://github.com/themadinventor/esptool Example - test 1 megabyte of flash - we write and verify a pattern ESPTOOL=/usr/local/bin/esptool.py ESPPORT=/dev/ttyUSB0 gcc testflash.c -o testflash -mkdir tmp testing first megabyte Create megabyte size test file ./testflash -s 0x100000 -w tmp/test1w.bin Write file to ESP8266 -p -b write_flash \ \ 0x000000 tmp/test1w.bin read flash back from ESP8266 -p -b read_flash \ 0x000000 0x100000 tmp/test1r.bin Verify data read back matches what we wrote ./testflash -s 0x100000 -r tmp/test1r.bin.

Definition at line 52 of file testflash.c.