From b93cba104610a7db7021765a79a415e2546aa359 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Tue, 3 Apr 2018 01:58:22 +0200 Subject: [PATCH] simple fixes (#4597) * wemos d1 r1: move comment out of define line * update 4M filesystem info --- doc/filesystem.rst | 20 ++++++++++---------- variants/d1/pins_arduino.h | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/filesystem.rst b/doc/filesystem.rst index 1541d8319..3e6fdeffb 100644 --- a/doc/filesystem.rst +++ b/doc/filesystem.rst @@ -31,29 +31,29 @@ which is selected in IDE, you have the following options for flash size: +---------------------------------+--------------------------+---------------------------+ | Generic module | 2M | 1M | +---------------------------------+--------------------------+---------------------------+ -| Generic module | 4M | 3M | +| Generic module | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| Adafruit HUZZAH | 4M | 1M, 3M | +| Adafruit HUZZAH | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| ESPresso Lite 1.0 | 4M | 1M, 3M | +| ESPresso Lite 1.0 | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| ESPresso Lite 2.0 | 4M | 1M, 3M | +| ESPresso Lite 2.0 | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| NodeMCU 0.9 | 4M | 1M, 3M | +| NodeMCU 0.9 | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| NodeMCU 1.0 | 4M | 1M, 3M | +| NodeMCU 1.0 | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ | Olimex MOD-WIFI-ESP8266(-DEV) | 2M | 1M | +---------------------------------+--------------------------+---------------------------+ | SparkFun Thing | 512k | 64k | +---------------------------------+--------------------------+---------------------------+ -| SweetPea ESP-210 | 4M | 1M, 3M | +| SweetPea ESP-210 | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| WeMos D1 & D1 mini | 4M | 1M, 3M | +| WeMos D1 R1, R2 & mini | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| ESPDuino | 4M | 1M, 3M | +| ESPDuino | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ -| WiFiduino | 4M | 1M, 3M | +| WiFiduino | 4M | 1M, 2M, 3M | +---------------------------------+--------------------------+---------------------------+ **Note:** to use any of file system functions in the sketch, add the diff --git a/variants/d1/pins_arduino.h b/variants/d1/pins_arduino.h index d557d38c7..e64940910 100644 --- a/variants/d1/pins_arduino.h +++ b/variants/d1/pins_arduino.h @@ -32,7 +32,8 @@ static const uint8_t SDA = PIN_WIRE_SDA; static const uint8_t SCL = PIN_WIRE_SCL; -#define LED_BUILTIN 2 //new ESP-12E GPIO2 +//new ESP-12E GPIO2 +#define LED_BUILTIN 2 static const uint8_t D0 = 3; static const uint8_t D1 = 1;