Commit graph

520 commits

Author SHA1 Message Date
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
Alex Stewart
c36feab845 Separate pullup config out of gpio_enable()
Created `gpio_set_pullup` to configure pullups independently of direction.
Removed GPIO_INPUT_PULLUP direction type.
Added misc other helper functions in iomux.h
2016-02-21 18:34:11 -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
e12077513f common.mk: Consider possibility that not building inside a git checkout 2016-02-17 15:51:46 +11:00
Angus Gratton
71a2eb7b85 common.mk: Fix places using build/ instead of configurable BUILD_DIR 2016-02-17 15:47:40 +11:00
Angus Gratton
2696e80471 common.mk: Rename FW_BASE to FIRMWARE_DIR, in line with other directory variable names 2016-02-17 15:47:09 +11:00
Angus Gratton
30d8e162b3 blink example: Change default to GPIO2 as this pin has an LED on most boards 2016-02-09 10:58:56 +11: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
7e0fee39c0 Merge pull request #85 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2016-02-09 09:25:33 +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
Angus Gratton
c8716747bb Add tls_server example, showing binding a socket and accepting a TLS connection 2016-02-08 15:41:44 +11:00
ReadmeCritic
a72fa10b15 Update README URLs based on HTTP redirects 2016-02-05 14:12:11 -08:00
Angus Gratton
3e7edd43aa Makefile: Don't apply C_CXX_FLAGS to assembler source, move "universal" flags to CPPFLAGS
Closes #79
2016-01-04 12:03:09 +11:00
Angus Gratton
562a8e08f1 Update LWIP to use modified debug macro for C++ compatibility, contributed by @paoloach 2016-01-02 23:10:22 +11:00
Angus Gratton
0ea1b3070e Travis: esptool2 now in its own repository 2015-12-30 15:08:31 +11:00
Angus Gratton
bb0f31369f Bump esp-open-sdk revision used for Travis, fix build as old revisions now missing 2015-12-30 14:09:53 +11:00
Angus Gratton
0102b8090d Makefile: Allow EXTRA_CFLAGS, EXTRA_CXXFLAGS, overriding of CXXFLAGS, etc. 2015-12-30 13:06:39 +11:00