sheinz
a41407e3d1
DHT11/22 library fix
...
Support DHT11/DHT22 modules.
Data representation fix.
Library refactoring.
2016-07-06 15:58:59 +03:00
iosen
37180024f4
sntp: free the pbuf after sending the request
...
Fixes a memory leak.
2016-06-26 21:36:04 +10:00
Kenshi Kawaguchi
84856f80a9
ota_tftp_download takes an optional receive_cb that will report on the status of the TFTP transfer
2016-05-28 11:27:10 +10:00
Angus Gratton
d9202af2aa
Use latest upstream rboot, always build with OTA - use prebuilt rboot if
...
none is compiled locally.
2016-05-28 11:27:10 +10:00
Angus Gratton
1f1881a452
rboot-ota: Always put a checksum in rboot config
...
Means bootloader will still work if configured to verify the checksum
2016-05-28 11:27:10 +10:00
Angus Gratton
53b2b50241
rboot: Add cryptographic digest support for OTA images & SHA256 example
2016-05-28 11:27:10 +10:00
Angus Gratton
03559de5cb
Move rboot_verify_image to rboot-api
...
Removes rboot-integration.c, removes need for clients to include rboot-integration.h
2016-05-28 11:27:10 +10:00
Angus Gratton
6eceb5843c
OTA: Move OTA-aware Cache_Read_Enable to core
...
Otherwise images built with OTA=1 are only OTA-suitable if they also
link rboot-ota.
2016-05-28 11:27:10 +10:00
Angus Gratton
e671927bd0
OTA: Add TFTP client mode, expand ota_basic example.
2016-05-28 11:27:10 +10:00
Angus Gratton
d5221e7efa
mbedtls: Remove WIN32 #ifdef sections, use socket's SO_ERROR flag over errno when possible
2016-05-27 11:51:11 +10:00
Drasko DRASKOVIC
e7607ffc2b
Add JSON support
...
This commits adds JSON support by adding Jsmn
(http://zserge.com/jsmn.html ), a minimalistic JSON parser.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2016-05-15 22:32:14 +10:00
Angus Gratton
57c718d835
Travis: Work around 4MB log limit when building all examples
2016-05-15 22:16:42 +10:00
Angus Gratton
5809a0119b
Merge pull request #114 from doragasu/sntp
...
Added sntp support and example
2016-05-15 20:42:35 +10:00
jsuiker
99eba80c4d
Added DHT library to extras and sample code to examples
2016-04-25 01:58:09 +00:00
Angus Gratton
8453445620
mbedtls: Update to upstream v2.3.0
2016-04-20 09:05:33 +10:00
Angus Gratton
736e790e80
Merge pull request #124 from kanflo/rboot-merge
...
Updated rboot to #75ca33b including the flash write bug.
2016-04-15 11:19:56 +10:00
Yudi Ludkevich
7e9d5bd2e2
MQTT client api and example
...
This code based on ESP8266 port of the embedded C client in Eclipse Paho project
(http://www.eclipse.org/paho/ ) and it port for espressif
ESP8266_RTOS_SDK by baoshi (https://github.com/baoshi/ESP-RTOS-Paho.git )
2016-04-14 16:59:07 +10:00
Johan Kanflo
9c49134d61
Updated rboot to #75ca33b including the flash write bug.
2016-04-07 20:29:28 +02:00
Alex Stewart
494c2d9cec
Implement new ds18b20 APIs
2016-04-05 10:05:42 -07:00
Alex Stewart
60e468bdb2
Misc ds18b20 fixups/enhancements
...
add onewire_power() after CONVERT_T
Fix naming of DS18B20_* constants
2016-04-05 10:04:56 -07:00
Alex Stewart
9c37da6834
Add more documentation for onewire.h
2016-04-05 10:04:31 -07:00
Alex Stewart
9b49b426f6
Added error-checking in onewire routines
2016-04-05 10:04:31 -07:00
Alex Stewart
a2b9d688ea
Multiple cleanups/tweaks for onewire driver
...
Use onewire_addr_t for onewire addresses
Move internal defines out of onewire.h
Remove global variables for search state
use taskENTER_CRITICAL instead of portDISABLE_INTERRUPTS
remove unnecessary onewire_init function
Remove unnecessary critical sections
Use GPIO_OUT_OPEN_DRAIN
reformat/style cleanup
2016-04-05 10:03:17 -07:00
doragasu
11c9031d9b
Removed my _time() implementation to use newlib provided one.
2016-03-31 16:05:15 +02:00
doragasu
9651692ca2
Cleanup and some changes to make implementation a bit more conforming to the standard.
2016-03-13 18:29:30 +01:00
doragasu
f14025b1c7
Removed non working clock_* calls from example. Using vars for tz and dst.
2016-03-13 17:04:03 +01:00
doragasu
0482aebf7d
Added quick and dirty _gettimeofday_r() test implementation.
2016-03-11 13:11:15 +01:00
doragasu
16c831fffa
Added sntp support and example
2016-03-09 17:18:51 +01:00
Alex Stewart
6c50e968f5
Merge pull request #107 from UncleRus/extras/pcf8574
...
Driver for PCF8574 (8-bit I2C GPIO expander)
2016-03-07 19:06:09 -08:00
Angus Gratton
81df978fa9
Add missing MIT license for rboot-ota
2016-03-03 08:15:21 +11:00
Angus Gratton
f360935800
Merge pull request #106 from MightyPork/ws2812b-driver
...
WS2812B driver & example
2016-03-02 21:10:19 +11:00
Ondřej Hruška
b0e683b909
Use anonymous struct in ws2812_rgb_t.
2016-03-01 23:17:13 +01:00
UncleRus
124332b5ea
License changed to MIT
2016-03-02 02:19:46 +05:00
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