Ivan Grokhotkov
5ee9677331
Ticker library update
2014-12-22 18:42:57 +03:00
Collin Kidder
065459c18f
Implement transmit buffering with interrupts for USART devices
2014-12-21 20:57:08 -05:00
Ivan Grokhotkov
2f6dfed924
More license headers
2014-12-19 11:16:28 +03:00
Ivan Grokhotkov
6a77bf6ea6
Ticker library
2014-12-19 01:43:40 +03:00
Ivan Grokhotkov
79bd1e2952
More license headers
2014-12-19 01:43:18 +03:00
Ivan Grokhotkov
a07332e4ae
WiFi scanning (incomplete) and diagnostics
2014-12-19 01:41:35 +03:00
Ivan Grokhotkov
af64431191
Update license headers in files that were completely rewritten
2014-12-19 01:40:47 +03:00
Ivan Grokhotkov
20cb0422b0
Clean up unused stuff
2014-12-19 01:39:27 +03:00
Ivan Grokhotkov
07420687d8
Implement tx and rx buffers and interrupts for HardwareSerial
2014-12-18 18:49:14 +03:00
Ivan Grokhotkov
b2e2c44125
Implement pin interrupts
2014-12-18 18:47:46 +03:00
Ivan Grokhotkov
ab43d404fc
Make sigma_delta.c unused
2014-12-18 18:47:07 +03:00
Ivan Grokhotkov
d3e3be50b9
Remove i2c.c
...
replaced with i2c.cpp
2014-12-18 18:46:45 +03:00
Ivan Grokhotkov
c418bac33c
Clean up ets_printf declarations
2014-12-18 18:45:22 +03:00
Ivan Grokhotkov
c87a77e0da
Fix sdk files permissions
2014-12-17 10:30:35 +03:00
Ivan Grokhotkov
bf69f10401
WiFi client connect with hostname
2014-12-17 10:29:29 +03:00
Ivan Grokhotkov
bce15fee5f
EEPROM examples
2014-12-12 10:37:40 +03:00
Ivan Grokhotkov
b8caeb363c
Add sigma-delta api
2014-12-12 10:37:24 +03:00
Ivan Grokhotkov
36fbb75d48
Disable debug output in Serial.begin
2014-12-12 04:41:24 +03:00
Ivan Grokhotkov
73b0e8b1ff
Upload sketch at 115200
2014-12-12 04:40:59 +03:00
Ivan Grokhotkov
c1e59a37e1
analogRead
2014-12-12 04:40:43 +03:00
Ivan Grokhotkov
40e2eca7f6
EEPROM library
2014-12-09 22:20:30 +03:00
Ivan Grokhotkov
4936093dcf
Update SDK to 0.9.3
2014-12-09 10:25:59 +03:00
Ivan Grokhotkov
e510c0226a
WiFi scanning fixes
2014-12-09 10:23:50 +03:00
Ivan Grokhotkov
bb3e2ed04b
Wire library with i2c master support
2014-12-09 10:11:42 +03:00
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
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
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
Ivan Grokhotkov
636745b9a8
Fix initialisation, fix HardwareSerial, add esptool.py flashing
2014-11-25 09:58:14 +03: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
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
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
b9e186e45a
Upped version to 1.6.0
2014-11-18 14:48:01 +01:00
Ivan Grokhotkov
e94179fbd3
Wiring time functions
2014-11-16 16:09:55 +03:00