Skip to content

Commit 7dda022

Browse files
sandeepmistryigrr
authored andcommitted
remove trailing whitespace
1 parent 2104664 commit 7dda022

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ GPIO16 can be ```INPUT``` or ```OUTPUT```.
3737

3838
```analogRead(0)``` reads the value of the ADC channel connected to the TOUT pin.
3939

40-
Pin interrupts are supported through ```attachInterrupt```, ```detachInterrupt``` functions.
41-
Interrupts may be attached to any GPIO pin, except GPIO16. Standard Arduino interrupt
40+
Pin interrupts are supported through ```attachInterrupt```, ```detachInterrupt``` functions.
41+
Interrupts may be attached to any GPIO pin, except GPIO16. Standard Arduino interrupt
4242
types are supported: ```CHANGE```, ```RISING```, ```FALLING```.
4343

4444
#### Timing and delays ####
45-
```millis``` and ```micros``` return the number of milliseconds and microseconds elapsed after reset, respectively.
45+
```millis``` and ```micros``` return the number of milliseconds and microseconds elapsed after reset, respectively.
4646

4747
```delay``` pauses the sketch for a given number of milliseconds and allows WiFi and TCP/IP tasks to run.
4848
```delayMicroseconds``` pauses for a given number of microseconds.
4949

50-
Remember that there is a lot of code that needs to run on the chip besides the sketch
50+
Remember that there is a lot of code that needs to run on the chip besides the sketch
5151
when WiFi is connected. WiFi and TCP/IP libraries get a chance to handle any pending
5252
events each time the ```loop()``` function completes, OR when ```delay(...)``` is called.
5353
If you have a loop somewhere in your sketch that takes a lot of time (>50ms) without
@@ -62,7 +62,7 @@ more than 20 milliseconds is not recommended.
6262

6363
```Serial``` object works much the same way as on a regular Arduino. Apart from hardware FIFO (128 bytes for TX and RX) HardwareSerial has additional 256-byte TX and RX buffers. Both transmit and receive is interrupt-driven. Write and read functions only block the sketch execution when the respective FIFO/buffers are full/empty.
6464

65-
Only 8n1 mode is supported right now.
65+
Only 8n1 mode is supported right now.
6666

6767
By default the diagnostic output from WiFi libraries is disabled when you call ```Serial.begin```. To enable debug output again, call ```Serial.setDebugOutput(true);```
6868

@@ -93,7 +93,7 @@ Size can be anywhere between 4 and 4096 bytes.
9393

9494
```EEPROM.write``` does not write to flash immediately, instead you must call ```EEPROM.commit()```
9595
whenever you wish to save changes to flash. ```EEPROM.end()``` will also commit, and will
96-
release the RAM copy of EEPROM contents.
96+
release the RAM copy of EEPROM contents.
9797

9898
Three examples included.
9999

@@ -125,7 +125,7 @@ Libraries that don't rely on low-level access to AVR registers should work well.
125125

126126
#### Upload via serial port ####
127127
Select "esptool" as a programmer, and pick the correct serial port.
128-
You need to put ESP8266 into bootloader mode before uploading code (pull GPIO0 low and
128+
You need to put ESP8266 into bootloader mode before uploading code (pull GPIO0 low and
129129
toggle power).
130130

131131
### Things not done yet ###

hardware/esp8266com/esp8266/platform.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ compiler.c.elf.cmd=xtensa-lx106-elf-gcc
2626
compiler.c.elf.libs=-lc -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp
2727

2828
compiler.cpp.cmd=xtensa-lx106-elf-g++
29-
compiler.cpp.flags=-c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD
29+
compiler.cpp.flags=-c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD
3030

3131
compiler.as.cmd=xtensa-lx106-elf-as
3232

@@ -66,7 +66,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.fla
6666
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}"
6767

6868
## Combine gc-sections, archives, and objects
69-
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
69+
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
7070

7171
## Create eeprom
7272
recipe.objcopy.eep.pattern=
@@ -89,6 +89,6 @@ tools.esptool.cmd.windows=esptool.exe
8989
tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266
9090

9191
tools.esptool.program.params.verbose=-vv
92-
tools.esptool.program.params.quiet=
92+
tools.esptool.program.params.quiet=
9393
tools.esptool.program.pattern="{path}/{cmd}" {program.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp {serial.port} -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"
9494

0 commit comments

Comments
 (0)