Commit graph

251 commits

Author SHA1 Message Date
UncleRus
03ee667d5d Tabs replaced to spaces 2016-03-02 02:17:07 +05:00
UncleRus
875db616ae Driver for PCF8574 (8-bit I2C GPIO expander) 2016-03-02 00:52:13 +05:00
Ondřej Hruška
e97dca4859 Added WS2812 driver and examples (squashed commits) 2016-03-01 14:06:40 +01:00
darksv
dc2c4be4e9 Fix delay in DS18B20 driver
There is a bug in the driver for DS18B20: instead of delaying for 750ms it waits only for 750us, which obviously causes that read temprature is not valid (it's default 85 degrees).
2016-02-28 11:30:16 +01:00
Grzegorz Hetman
b5f1c893bf Merge branch 'master' into ds18b20 2016-02-24 17:05:20 +01:00
Alex Stewart
d0ed5f03a2 A couple of fixups prior to merging into main project
Changed the ds_sensor_t struct to just return a float instead of major/minor
Renamed ds18b20.h functions to have consistent `ds18b20_*` naming.
Removed some unnecessary LICENSE files.  Clarified onewire origin/license.
2016-02-22 21:18:50 -08:00
Angus Gratton
7c1d7fb43e Merge branch 'feature/dhcp-server' 2016-02-21 10:36:28 +11:00
Grzegorz Hetman
6178865cc6 Add clear version of commit 72f30ad. 2016-02-18 18:42:50 +01:00
Angus Gratton
3dfa2272cc mbedtls: mbedlts_net_bind should bind on all interfaces with bind_ip == NULL
As per mbedtls documentation. This is different to lwip_getaddrinfo()
which uses loopback for a NULL address.

Fixes bug mentioned here https://groups.google.com/forum/#!topic/esp-open-rtos/3KH5TZSTMUw
2016-02-09 10:54:57 +11:00
Angus Gratton
e2759f9e7d Merge pull request #77 from jcard0na/master
Initial PWM implementation from gpascualg
2016-02-09 09:30:51 +11:00
Angus Gratton
d5e50edc0b ota_basic example, ota-tftp support: Add links to the new OTA wiki page 2016-02-08 16:58:31 +11:00
Blipi
72d5dd99fb Initial PWM implementation from gpascualg 2015-12-11 15:20:28 -08:00
Angus Gratton
336bad573d timers.h: Remove compile-time-auto-inlining complexity
Fixes bug mentioned in #72 (oops!), also progress towards #57.
2015-11-28 16:32:52 +11:00
Angus Gratton
d14d5b1aab stdin_uart_interrupt driver: Don't reset TX FIFO (loses output otherwise)
Fixes bug in 'terminal' example where banner message didn't print on startup.

Relates to #59.
2015-11-21 17:13:08 +11:00
Johan Kanflo
4cfe40d348 extras/stdin_uart_interrupt: stdin via IRQ driven RX driver on UART0
See examples/terminal/ for usage
2015-11-21 16:15:58 +11:00
Angus Gratton
65307aed75 Merge branch 'feature/mbedtls' 2015-09-28 13:29:38 +10:00
Angus Gratton
1907e3c45e Remove extraneous extras/ subdirs - all merged into cpp_support now 2015-09-25 18:26:51 +10:00
Angus Gratton
87f77b1021 Refactor Hardware RNG functions to esp/hwrand.h
As suggested by @foogod, thanks!
2015-09-24 20:48:16 +10:00
Angus Gratton
09405a9095 Merge branch 'master' into feature/mbedtls 2015-09-24 20:40:36 +10:00
Angus Gratton
43a8bf2087 Merge branch 'master' into feature/dhcp-server 2015-09-24 08:33:48 +10:00
Angus Gratton
a0a23ae232 dhcpserver: Cleanup find_lease routine, fix bug 2015-09-23 22:24:30 +10:00
Angus Gratton
c5a53c87fa bmp180: Fix more 'temperatue' typos (thanks @atomman) 2015-09-21 08:46:45 +10:00
Angus Gratton
8a470e6f98 Merge branch 'master' into feature/mbedtls 2015-09-20 21:26:29 +10:00
Angus Gratton
b03f279f74 mbedTLS: Add ESP8266 hardware entropy source discovered by @foogod
Addresses #3, provided turns out to be an effective HWRNG.
2015-09-20 21:15:30 +10:00
Angus Gratton
1b22cc088e Add initial mbedTLS and HTTPS example project (using howsmyssl.com JSON API)
mbedTLS version 2.1.0 (current stable)

Has some known issues/hacks:
* Entropy source not hooked in at all
* Linker script has a messy hack in it to store some (not all) data in
  irom
2015-09-20 21:13:38 +10:00
Angus Gratton
a5ba05b5f9 Remove stray extras/cplusplus 2015-09-20 21:13:38 +10:00
Angus Gratton
1c8017484c Move c++ operators back to link-time resolutions, part of 'core'
This reverts commit e9b1df5cb5.
2015-09-20 21:13:38 +10:00
Angus Gratton
6416fe7329 Post-merge cleanup of extras/cpp_support 2015-09-20 21:13:38 +10:00
Michael Jacobsen
fbb01c81ad Header files adjustment
(MQTT changes split from original commit - @projectgus.)
2015-09-20 21:13:38 +10:00
Michael Jacobsen
602d3e2d98 Header files re-arrangement 2015-09-20 21:13:38 +10:00
Michael Jacobsen
028451fa84 Updated license 2015-09-20 21:13:38 +10:00
Michael Jacobsen
63bbf92a76 Header files adjustments 2015-09-20 21:13:38 +10:00
Michael Jacobsen
627b78331a Added C++ base components and example 2015-09-20 21:13:38 +10:00
Angus Gratton
cceb9de300 bmp180 i2c: Fix typo temperatue->temperature.
Closes #47
2015-09-18 17:59:50 +10:00
Angus Gratton
46111bad52 dhcpserver cleanup, add access_point example
DHCP Server & AP mode tested w/ Debian & Android clients
2015-09-13 18:42:20 +10:00
Angus Gratton
9fc223b3c2 dhcpserver: Add expiry, DHCPNAK packets 2015-09-13 18:42:20 +10:00
Angus Gratton
4c98f575e7 dhcpserver: Initial DHCP server support, hands out leases but doesn't expire them 2015-09-13 18:42:11 +10:00
Angus Gratton
8b90dbd9e5 Merge branch 'feature/c++' 2015-09-12 16:27:26 +10:00
Angus Gratton
7e73693898 Rework component makefiles to have a default <component>_ROOT
This fixes a long-standing bug where build directories sometimes
expanded many levels deeper than they should have.

Component names can now no longer contains slashes (ie the component
name for 'extras/i2c' is now just 'i2c')
2015-09-08 09:59:59 +10:00
Angus Gratton
ed2c1ad713 Update README with some recent developments 2015-09-07 17:52:01 +10:00
Angus71
fd1081a0cc Added BMP180 and I2C driver and example
Fixed reference to unknown environment var
Moved drivers into extras folder and added additional documentations.
Changed LOCAL to static and renamed DEBUG to BMP180_DEBUG
2015-08-31 13:39:27 +02:00
Angus Gratton
18d1bb21f7 Remove stray extras/cplusplus 2015-08-26 11:16:58 +10:00
Angus Gratton
43ecec5470 Move c++ operators back to link-time resolutions, part of 'core'
This reverts commit e9b1df5cb5.
2015-08-26 11:07:06 +10:00
Angus Gratton
e9b1df5cb5 Post-merge cleanup of extras/cpp_support 2015-08-26 10:45:21 +10:00
Michael Jacobsen
5c1ce0a508 Header files adjustment
(MQTT changes split from original commit - @projectgus.)
2015-08-26 10:45:21 +10:00
Michael Jacobsen
94a953d3e3 Header files re-arrangement 2015-08-26 10:45:21 +10:00
Michael Jacobsen
6bc95994b7 Updated license 2015-08-26 10:45:21 +10:00
Michael Jacobsen
4f7d1c2393 Header files adjustments 2015-08-26 10:45:21 +10:00
Michael Jacobsen
1282e11c08 Added C++ base components and example 2015-08-26 10:45:21 +10:00
Angus Gratton
19b8383069 Working TFTP server based OTA updates
Tested with 16MBit flash configuration, two rboot update slots.

Closes #10
2015-08-05 14:10:14 +10:00
Angus Gratton
147257efa4 Almost functional OTA support
ota_basic example can receive new image via TCP.

However - writing to flash with interrupts disabled causes data loss,
and the TCP flow is very slow to recover. Linux sender quickly ramps up
RTT timer to very long retry intervals, crippling performance &
throughput.

Running the update without the flash writes causes the data to be
received quickly, so this is definitely an issue with the time taken for
the erase cycle.

Progress towards #10
2015-07-29 16:50:23 +10:00