32cc374921
Force disable IOSWAP for UART0 in HardwareSerial initialization ( #744 )
2015-09-09 13:39:55 +03:00
e5d2ba5db8
Pass timeout to optimistic_yield, add cont_can_yield check
2015-07-20 15:48:25 +03:00
17de2d7a4e
define in header
...
remove extern from cpp files
2015-07-15 16:32:49 -07:00
d815c36753
optimistic_yield()
...
this introduces optimistic_yield() used for when standard library
methods are normally used in tight loops waiting for something to
happen, like available().
2015-07-13 13:47:13 -07:00
fc83952685
Merge pull request #438 from Links2004/esp8266
...
update SDK to esp_iot_sdk_v1.1.2_15_06_16_p1
2015-06-26 20:33:02 +03:00
ca8ebdbb97
Enable Serial RX/TX Only mode (needed by I2S)
2015-06-20 23:26:26 +03:00
d6f62943d4
fix problems with serial and cbuf (some times freeze on high load)
2015-06-19 10:41:20 +02:00
6ab3c76e03
register and clock changes
2015-06-02 00:11:20 +03:00
5b5deb5a77
improve os_printf handling when buffer full.
...
- wait for free buffer in hw fifo
2015-05-17 13:43:49 +02:00
b4a8bb0653
fix bug when TX buffer is full and os will write.
...
in this case we hang endless or until wtd triggers.
new:
now we overdrive the data in FIFO --> no hang / crash but we loss chars.
only happens by extensive use of os_printf!
2015-05-14 21:45:19 +02:00
669609f3d7
fix uart receive
2015-05-12 18:44:31 +03:00
34b09f7e23
small clean up of HardwareSerial
2015-05-05 13:27:28 +03:00
b752822aef
fix UART clock divider
...
UART clock is constant
2015-05-03 20:56:58 +03:00
fcbd7dbed0
Change UART register access methods
2015-05-03 16:44:19 +03:00
66ded562f3
Revert "Revert "disable debug on Serial.end() if debug on this interface.""
...
This reverts commit b2d4169734
.
2015-05-01 16:15:58 +03:00
bbba691cac
Revert "disable debug on Serial.end() if debug on this interface."
...
This reverts commit 28a868d6dd
.
2015-05-01 16:09:46 +03:00
a250492c20
disable debug on Serial.end() if debug on this interface.
2015-05-01 14:58:48 +02:00
2b3302c714
add new macro for force function to ram
...
move uart_interrupt_handler in ram
2015-04-29 07:01:19 +08:00
be5f1f83c1
HardwareSerial: add other configs than 8N1
2015-04-26 00:20:39 +02:00
1d6fc00fdb
uart_interrupt_handler is now in ram
2015-04-24 21:15:41 +02:00
021ca1972b
fix bug #98
2015-04-22 16:44:30 +02:00
273ee1a3b7
fix possible null ptrs in HardwareSerial.cpp
2015-04-11 10:14:38 +02:00
f165a0afcd
use Eclipse auto Format to get rip auf the tab, space and code style inconsistency
2015-04-06 19:33:50 +02:00
0276148613
fix printf corrupts Serial.print
2015-04-06 19:15:10 +02:00
fb286ff1d4
fix C&P Fail
2015-04-01 22:52:09 +02:00
1ee7ecdaa2
rewrite HardwareSerial code for UART0 + UART1 support in ESP8266
2015-04-01 22:47:13 +02:00
07432e5aa8
Add more pin mux definitions to eagle_soc.h
2015-01-16 17:53:53 +03:00
a3f28ef787
Fix HardwareSerial initialization and interrupt handling
...
RXD pin was not configured properly
2015-01-16 17:29:58 +03:00
4ef93a4f1e
Fix esp8266 HardwareSerial::flush
...
HardwareSerial::flush discarded data instead of waiting for it to be sent
2015-01-16 17:28:36 +03:00
5c362798f9
Add method to use GPIO13 and GPIO15 as UART RX and TX
2015-01-09 02:33:42 +03:00
4cf6737823
More license headers
2014-12-19 01:43:18 +03:00
2a77249147
Implement tx and rx buffers and interrupts for HardwareSerial
2014-12-18 18:49:14 +03:00
4d62fada68
Disable debug output in Serial.begin
2014-12-12 04:41:24 +03:00
160f99c31c
Move some code to flash and fix prototypes
2014-12-01 00:34:59 +03:00
39e087a19e
Fix initialisation, fix HardwareSerial, add esptool.py flashing
2014-11-25 09:58:14 +03:00
15b434f5e2
Fix build errors
2014-11-21 12:15:50 +03:00
27b0163958
Updates for esp8266 platform
2014-11-20 17:25:01 +03:00