1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00
Commit Graph

4695 Commits

Author SHA1 Message Date
Ivan Grokhotkov
d0e58a756b digitalWrite fix 2014-12-09 10:10:26 +03:00
Ivan Grokhotkov
1154cd8ae5 Add stubs for itoa, ltoa 2014-12-09 10:09:12 +03:00
Ivan Grokhotkov
fa546bb31a Implement most WiFi functions
Need to update to SDK 0.9.3 because DHCP client functions are missing
2014-12-05 22:39:40 +03:00
Ivan Grokhotkov
92babaed21 Open-drain output mode 2014-12-05 00:05:01 +03:00
Federico Fissore
2f08fe4ecf 38400 baud rate had issues with RXTX and linux. With JSSC, it seems to be working fine again. Fixes #2296 2014-12-04 13:10:01 +01:00
Cristian Maglie
6c4f7dc293 Merge branch 'master' into ide-1.5.x
Conflicts:
	hardware/arduino/cores/arduino/wiring.c
	libraries/Ethernet/src/utility/util.h
	libraries/Ethernet/src/utility/w5100.cpp
	libraries/Ethernet/src/utility/w5100.h
	libraries/Ethernet/util.h
	libraries/Ethernet/utility/util.h
	libraries/SPI/SPI.cpp
	libraries/SPI/SPI.h
2014-12-02 22:35:17 +01:00
Cristian Maglie
1be99c3a1d Merge pull request #2365 from cmaglie/ide-1.0.x-spi-transaction
[IDE 1.0.x (backport from 1.5.x)] SPI Transactions
2014-12-02 22:24:51 +01:00
Cristian Maglie
ae402c2907 Update revision log 2014-12-02 22:20:40 +01:00
PaulStoffregen
20ca43646a Fix SPI transaction mismatch errors 2014-12-02 22:18:43 +01:00
Cristian Maglie
37115d03ef Backported SD library from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
b9b0fcdadc Backported Ethernet library from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
6ecb174c40 Backported 'yield()' hook from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
042fa0c3f2 Backported SPI Transcations from 1.5.x 2014-12-02 22:14:59 +01:00
Ivan Grokhotkov
f788022730 Modify the linker script to move some code into flash, enable -mtext-section-literals 2014-12-02 00:46:57 +03:00
Ivan Grokhotkov
d3359d3670 Don't use timer for zero delay 2014-12-01 00:37:51 +03:00
Ivan Grokhotkov
9cc12ccc15 Add ESP8266WiFi library 2014-12-01 00:36:56 +03:00
Ivan Grokhotkov
4fc356fbf5 Add circular buffer implementation 2014-12-01 00:36:07 +03:00
Ivan Grokhotkov
c346734adc Move some code to flash and fix prototypes 2014-12-01 00:34:59 +03:00
Ivan Grokhotkov
22b88f73c2 Fix malloc/free references 2014-12-01 00:34:28 +03:00
Ivan Grokhotkov
f5f851c978 Remove WiFi shield library 2014-12-01 00:17:45 +03:00
Cristian Maglie
a9735bf91f Fix atomicity issues in SPI::beginTransaction and SPI::endTransaction (Andrew Kroll)
Previously, it could happen that SPI::beginTransaction was
interrupted by an ISR, while it is changing the SPI_AVR_EIMSK
register or interruptSave variable (it seems that there is
a small window after changing SPI_AVR_EIMSK where an interrupt
might still occur). If this happens, interruptSave is overwritten
with an invalid value, permanently disabling the pin interrupts.

To prevent this, disable interrupts globally while changing
these values.
2014-11-25 15:56:11 +01:00
Cristian Maglie
84b6cc27a5 [avr] Made SPI.usingInterrupt() synchronized (Andrew Kroll) 2014-11-25 15:56:11 +01:00
Cristian Maglie
d9537cb7da [avr] Added SPI.notUsingInterrupt() (Andrew Kroll) 2014-11-25 15:56:11 +01:00
Cristian Maglie
8344812ce8 [avr] Made SPI.begin() and SPI.end() synchronized (Andrew Kroll) 2014-11-25 15:49:17 +01:00
Cristian Maglie
53e25d8b55 [avr] Improved SPI speed on 16bit transfer.
From https://github.com/arduino/Arduino/pull/2376#issuecomment-59671152

Quoting Andrew Kroll:

   [..this commit..] introduces a small delay that can prevent the wait
   loop form iterating when running at the maximum speed. This gives
   you a little more speed, even if it seems counter-intuitive. At
   lower speeds, it is unnoticed. Watch the output on an oscilloscope
   when running full SPI speed, and you should see closer back-to-back
   writes.

Quoting Paul Stoffregen:

   I did quite a bit of experimenting with the NOP addition. The one
   that's in my copy gives about a 10% speedup on AVR.
2014-11-25 15:49:17 +01:00
Cristian Maglie
6eef453944 Fixed EditorConsole new-line regression.
Now EditorConsole starts a newline also when a CR character is read
from command output.
2014-11-25 15:37:55 +01:00
Cristian Maglie
15f3d1f8e7 Fixed import style in EditorConsole.java 2014-11-25 15:37:54 +01:00
Cristian Maglie
81a562e0ed Updated eclipse project library path 2014-11-25 15:37:54 +01:00
Federico Fissore
ca1a355628 Network discovery: not showing board name is not resolvable (was printing "null") 2014-11-25 13:51:47 +01:00
Federico Fissore
5bbdc6dd26 windows: missing jar in config.xml 2014-11-25 11:46:14 +01:00
Ivan Grokhotkov
636745b9a8 Fix initialisation, fix HardwareSerial, add esptool.py flashing 2014-11-25 09:58:14 +03:00
Arturo Guadalupi
060c1e766c Updated description
It reads the state of a potentiometer (an analog input) and turns on an LED
 only if the LED goes above a certain threshold level. It prints the analog value
 regardless of the level.

updated to

 It reads the state of a potentiometer (an analog input) and turns on an LED
 only if the potentiometer goes above a certain threshold level. It prints the analog value
 regardless of the level.
2014-11-24 09:37:20 +01:00
Ivan Grokhotkov
c633f53634 Implement digital IO functions 2014-11-21 21:23:27 +03:00
Ivan Grokhotkov
71e7ed040f Tidy up backend code for esp8266 (malloc, free, yield) 2014-11-21 19:15:40 +03:00
Ivan Grokhotkov
e059e5a231 Implement global init for esp8266 2014-11-21 18:14:45 +03:00
Cristian Maglie
7b45b18ae8 Merge branch 'ide-1.5.x-libastyle-2.05' of github.com:ffissore/Arduino into ide-1.5.x 2014-11-21 11:45:46 +01:00
Federico Fissore
0aa800b4d7 Upgrading libastyle to 2.05 2014-11-21 11:07:30 +01:00
Ivan Grokhotkov
723c87c1b7 Implement delay() 2014-11-21 12:16:12 +03:00
Ivan Grokhotkov
11e8e3d16f Fix build errors 2014-11-21 12:15:50 +03:00
Ivan Grokhotkov
b42b22c9e7 Fix continuations 2014-11-21 12:15:03 +03:00
PaulStoffregen
c0bc2d22f6 Fix SPI transaction mismatch errors 2014-11-20 18:54:04 -08:00
Ivan Grokhotkov
319c22d492 Continuations support 2014-11-20 17:25:27 +03:00
Ivan Grokhotkov
307a029a0e Updates for esp8266 platform 2014-11-20 17:25:01 +03:00
Cristian Maglie
257238c050 IDE: better error handling for upload/burn bootloader
RunnerException was displayed with an ugly stacktrace, while the
message contained in the exception itself is already quite enough
detailed and clear.
2014-11-20 14:00:43 +01:00
Cristian Maglie
85aecfe0da IDE: Fixed default board selection. 2014-11-20 13:50:11 +01:00
Cristian Maglie
b9e186e45a Upped version to 1.6.0 2014-11-18 14:48:01 +01:00
Cristian Maglie
b0bd52b387 Removed duplicate version fields in Base class 2014-11-18 14:04:14 +01:00
Cristian Maglie
13fd27704f Added unit-test jars into eclipse project class path 2014-11-18 12:31:17 +01:00
Cristian Maglie
6aff4f4077 Merge branch 'ide-1.5.x-gui-refactor' into ide-1.5.x 2014-11-18 12:22:43 +01:00
Ivan Grokhotkov
e94179fbd3 Wiring time functions 2014-11-16 16:09:55 +03:00