Commit graph

738 commits

Author SHA1 Message Date
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
f4a5675854 Merge branch 'master' of https://github.com/SuperHouse/esp-open-rtos into sntp 2016-03-31 15:41:20 +02:00
Angus Gratton
02c35d8a71 Merge pull request #118 from UncleRus/core/gpio_cpp_fix
esp/gpio.h c++ linker compatibility
2016-03-22 13:27:12 +11:00
UncleRus
3a62a0af0c esp/gpio.h c++ compatibility 2016-03-22 01:51:50 +05:00
Alex Stewart
cf3f811af1 Merge pull request #117 from UncleRus/core/spi_bugfix
SPI big endian swap bug fix, spi_get_settings()/spi_set_settings()
2016-03-18 15:19:56 -07:00
UncleRus
42018f0315 SPI big endian swap bug fix, spi_get_settings()/spi_set_settings() 2016-03-18 03:27:36 +05:00
Angus Gratton
b6132a480e Merge pull request #110 from UncleRus/core/spi
Hardware SPI driver
2016-03-16 17:01:12 +11: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
UncleRus
b0fb8736a8 Comments updated 2016-03-13 16:48:05 +05:00
UncleRus
22ceb08b49 Tabs to spaces. Again. 2016-03-13 02:25:15 +05:00
UncleRus
b4554b5806 SPI mode bug fixed, SPI endianness bugs fixed, new spi_transfer() 2016-03-13 01:59:52 +05:00
doragasu
0482aebf7d Added quick and dirty _gettimeofday_r() test implementation. 2016-03-11 13:11:15 +01:00
Angus Gratton
0ff4289261 Merge pull request #113 from kzys/lets-encrypt
howmyssl.com's root certificate has been updated
2016-03-10 07:40:37 +11:00
doragasu
16c831fffa Added sntp support and example 2016-03-09 17:18:51 +01:00
Kazuyoshi Kato
41e28717f9 howmyssl.com's root certificate has been updated
Now the site is using Let's Encrypt's root certificate.
2016-03-08 20:19:50 -08: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
UncleRus
9dc565ff7c Separate send/receive buffers 2016-03-08 04:00:11 +05:00
UncleRus
b5c2120efc Removed redeclaration of peripheral bus freq 2016-03-06 01:24:59 +05:00
UncleRus
0e3f3bb2ca Frequency divider bug 2016-03-05 03:07:57 +05:00
UncleRus
bd40f75d37 Hardware SPI driver 2016-03-05 02:29:01 +05: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
Alex Stewart
17133f408b Merge pull request #102 from darksv/patch-1
Fix delays in DS18B20 driver
2016-02-29 22:21:06 -08:00
Angus Gratton
dd0bbc15a1 Merge pull request #105 from UncleRus/master
Removed sdk_system_get_vdd() (function missing from binary RTOS SDK 0.9.9)
2016-03-01 08:40:11 +11:00
UncleRus
c1f086579e Removed sdk_system_get_vdd() 2016-02-29 12:58:45 +05:00
Angus Gratton
798d5c7488 Merge pull request #104 from UncleRus/master
Added definition of SDK functions
2016-02-29 09:24:25 +11:00
UncleRus
b18f2947ee Added definition of SDK functions 2016-02-29 01:55:51 +05: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
Angus Gratton
a32d1099fa espressif/spi_flash.h: Add comments and more appropriate argument types 2016-02-26 16:10:51 +11:00
Alex Stewart
07b21ace2c Merge pull request #88 from hetii/ds18b20
Add ds18b20 driver and examples.
2016-02-25 17:56:45 -08:00
Grzegorz Hetman
7fc39ff2d8 Merge branch 'master' into ds18b20 2016-02-25 10:21:46 +01:00
Angus Gratton
ab37e7e003 Merge pull request #100 from jkent/headerfix
fix sdk_bss_info STAILQ_ENTRY
2016-02-25 07:52:42 +11:00
Jeff Kent
c427784c5d fix sdk_bss_info STAILQ_ENTRY 2016-02-24 14:03:30 -06:00
Grzegorz Hetman
02751c820d Add short comment and license info. 2016-02-24 17:19:33 +01:00
Grzegorz Hetman
b5f1c893bf Merge branch 'master' into ds18b20 2016-02-24 17:05:20 +01:00
Angus Gratton
2e8c370d2c Merge pull request #94 from foogod/gpio_pullup_changes
Separate pullup config out of `gpio_enable()`
2016-02-24 09:17:39 +11:00
Angus Gratton
f3c4172785 Merge branch 'feature/float-io' 2016-02-24 09:11:12 +11:00
Angus Gratton
19b0a19ad6 libc: Recompile newlib to enable float & long double i/o in printf/scanf
Enabled by default, set PRINTF_SCANF_FLOAT_SUPPORT=0 in local.mk/Makefile to disable

newlib-xtensa revision ae10be3

Configure/compile steps:

../configure --with-newlib --enable-multilib
--disable-newlib-io-c99-formats --enable-newlib-supplied-syscalls --enable-target-optspace --program-transform-name="s&^&xtensa-lx106-elf-&" --disable-option-checking --with-target-subdir=xtensa-lx106-elf
--target=xtensa-lx106-elf --prefix=/home/gus/dev/esp/rtos/open-rtos/libc/ --enable-newlib-nano-malloc --enable-newlib-nano-formatted-io --enable-newlib-reent-small --prefix=path_to/esp-open-rtos/libc

CROSS_CFLAGS="-DSIGNAL_PROVIDED -DABORT_PROVIDED" make
make install

Closes #95
2016-02-24 09:10:52 +11:00
Angus Gratton
d1091b69d1 Make the task stack overflow message clearer
Related to #96
2016-02-24 08:54:32 +11:00
hetii
c1aa8f2e73 Merge pull request #1 from foogod/hetii-ds18b20
A couple of fixups prior to merging into main project
2016-02-23 10:20:23 +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
Alex Stewart
8279b5cfd1 Added some clarifications to comments in esp/gpio.h 2016-02-22 09:32:12 -08:00