From 28bfe331d5df49d47bc510b9be45602930012b86 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 25 Jan 2015 22:44:49 +0300 Subject: [PATCH] Fix typo, add mode keyword for ESP8266WiFi, remove .bss section from sketch flash size calculation --- NOTES | 2 +- hardware/arduino/esp8266/libraries/ESP8266WiFi/keywords.txt | 1 + hardware/arduino/esp8266/platform.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NOTES b/NOTES index 95a509e1f..b2d7aabc4 100644 --- a/NOTES +++ b/NOTES @@ -13,7 +13,7 @@ What works - analogRead(0) reads the value of the ADC channel connected to the TOUT pin. - pin interrupts (attachInterrupt, detachInterrupt) - Interrupts may be attach to any GPIO pin. Standard Arduino interrupt types are + Interrupts may be attached to any GPIO pin. Standard Arduino interrupt types are supported: CHANGE, RISING, FALLING. - shiftIn, shiftOut diff --git a/hardware/arduino/esp8266/libraries/ESP8266WiFi/keywords.txt b/hardware/arduino/esp8266/libraries/ESP8266WiFi/keywords.txt index 8f26dffaa..4be0fb1f8 100644 --- a/hardware/arduino/esp8266/libraries/ESP8266WiFi/keywords.txt +++ b/hardware/arduino/esp8266/libraries/ESP8266WiFi/keywords.txt @@ -22,6 +22,7 @@ Server KEYWORD1 firmwareVersion KEYWORD2 status KEYWORD2 +mode KEYWORD2 connect KEYWORD2 write KEYWORD2 available KEYWORD2 diff --git a/hardware/arduino/esp8266/platform.txt b/hardware/arduino/esp8266/platform.txt index b6b923c9f..7f275fb87 100644 --- a/hardware/arduino/esp8266/platform.txt +++ b/hardware/arduino/esp8266/platform.txt @@ -75,7 +75,7 @@ recipe.objcopy.hex.pattern="{compiler.tools.path}{compiler.esptool.cmd}" -eo "{b ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" -recipe.size.regex=^(?:\.text|\.data|\.bss|\.rodata|\.irom0\.text|)\s+([0-9]+).* +recipe.size.regex=^(?:\.text|\.data|\.rodata|\.irom0\.text|)\s+([0-9]+).* #recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).* #recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*