Commit graph

918 commits

Author SHA1 Message Date
Ruslan V. Uss
253ac0790a
Merge pull request #667 from UncleRus/sdio_cmd25_fix
CMD25 workaround for SDIO, fix #666
2018-10-17 14:15:48 +05:00
Ruslan V. Uss
f82a420b87
Merge pull request #678 from k-korn/master
Add ADS1015 support to ads111x lib.
2018-08-25 00:28:28 +05:00
Korn
b5b05286e9
Add ADS1015 support to ads111x lib. 2018-08-22 19:04:18 +03:00
Ruslan V. Uss
47cc1770c5
Merge pull request #677 from SuperHouse/revert-671-master
Revert "Shrink gpio<>iomux maps"
2018-08-22 17:40:07 +05:00
Ruslan V. Uss
d627251a32
Revert "Shrink gpio<>iomux maps" 2018-08-22 17:39:50 +05:00
Ruslan V. Uss
9353f06df6
Merge pull request #676 from quietboil/master
Fixed sysparams flash area address calculation
2018-08-22 15:46:32 +05:00
Alex Demenchuk
13d78403fd Fixed sysparams flash area address calculation 2018-08-21 15:23:22 -04:00
Ruslan V. Uss
014025df5a
Merge pull request #671 from quietboil/master
Shrink gpio<>iomux maps
2018-08-08 19:07:43 +05:00
Alex Demenchuk
d848620975 Shrink gpio<>iomux maps 2018-08-07 16:12:52 -04:00
UncleRus
e104409d52 CMD25 workaround for SDIO 2018-08-02 19:05:42 +05:00
Ruslan V. Uss
46499c0f26
Merge pull request #648 from phkehl/improve_docu
Improve documentation of http_get_bearssl example
2018-07-04 23:23:33 +05:00
Johan Kanflo
b80a00065b Really added missing include 2018-06-30 20:50:57 +02:00
Johan Kanflo
81fb2d4cae Added missing include 2018-06-30 20:32:11 +02:00
Ruslan V. Uss
a8c60e0960
Merge pull request #647 from ourairquality/libmain-save-wifi-params
libmain: add a compile option to avoid saving wifi params to flash
2018-06-17 18:55:27 +05:00
Philippe Kehl
8bec6e0e81 improve http_get_bearssl example documentation
Add text explaining how to build the 'brssl' tool, how to use it and how
to obtain the server certificate for an exiting https host.
2018-06-17 13:59:18 +02:00
Philippe Kehl
59cb689a45 Merge remote-tracking branch 'upstream/master' 2018-06-17 13:45:21 +02:00
Our Air Quality
4d072e20ed sysparam editor: avoid saving any wifi params to flash 2018-06-17 20:32:07 +10:00
Our Air Quality
7a8ee567b6 libmain: add a compile option to avoid saving wifi params to flash
Add source code for sdk_wifi_param_save_protect() and a compile time,
WIFI_PARAM_SAVE, option to skip writing the wifi state to flash. This
avoids wear on the flash and does not appear to be necessary when the
app initializes the state anyway.

Define WIFI_PARAM_SAVE to 0 for the wificfg example.
2018-06-17 20:12:29 +10:00
Ruslan V. Uss
07772c643d
Merge pull request #587 from ourairquality/newlib-locks-nmi
newlib: skip locking when within the NMI Irq.
2018-06-17 13:08:41 +05:00
Ruslan V. Uss
f89ba44f6e
Merge pull request #646 from ourairquality/wificfg-hostname
wificfg: default the hostname in all modes.
2018-06-17 12:40:30 +05:00
Ruslan V. Uss
88ff263f92
Merge pull request #585 from ourairquality/mbedtls-0318
mbedtls: update and integrate upstream fixes.
2018-06-17 12:32:14 +05:00
Ruslan V. Uss
e3a7ee66cd
Merge pull request #629 from ourairquality/uart-rx-rewrite
stdin_uart: rewrite to use a FreeRTOS queue.
2018-06-17 12:20:16 +05:00
Ruslan V. Uss
14c9e8ae6a
Merge pull request #630 from ourairquality/freertos-r2541
FreeRTOS: update to svn r2541.
2018-06-17 12:19:14 +05:00
Ruslan V. Uss
6db65e8a7a
Merge pull request #642 from ourairquality/i2c-clock-stretch-slow
i2c: increase the default clock strech timeout to 250msec.
2018-06-17 12:16:24 +05:00
Ruslan V. Uss
56f7fd2229
Merge pull request #645 from ourairquality/wificfg-shutdown-hooks
wificfg: add shutdown hooks, and add support to wait until connected.
2018-06-17 12:04:16 +05:00
Our Air Quality
024fbd0cf2 wificfg: default the hostname in all modes.
A hostname is also useful in AP mode, so also default it in AP mode -
it was previously only defaulted in station mode.

Correct the host redirection logic, to work when no hostname is defined.
2018-06-17 16:30:24 +10:00
Our Air Quality
5fb2e94fed wificfg: add shutdown hooks, and add support to wait until connected.
Remove the wificfg_got_sta_connect() function and replace it with
wificfg_wait_until_sta_connected(). This replaces a probe function with a wait
function, and this better fits the wifi layer using an event model - the wait
function can wait on a station connection event before returning.

The shutdown hooks are call when the wificfg restart function is used. It can
be used to implement a cleaner restart, for example blocking further i2c and
flash operations.
2018-06-17 16:11:08 +10:00
Our Air Quality
c8c7f97290 i2c: increase the default clock strech timeout to 250msec.
This also redefines the timeout in FreeRTOS clock ticks, and implements a two
stage wait: firstly spinning sampling frequently, and then falling back to a
longer wait while sampling less frequently and yielding.
2018-06-15 08:28:47 +10:00
Ruslan V. Uss
c4fbd770ad
Merge pull request #639 from joostn/jnsilentmdns1
Turn off mdnsresponder debugging by default
2018-06-11 08:26:22 +05:00
Joost Nieuwenhuijse
fdd3b6e20c Turn off mdnsresponder debugging by default
Currently mdnsresponder outputs debug info by default. Make this
optional by defining:

#define MDNS_RESPONDER_DEBUGGING=1
2018-06-08 22:09:15 +02:00
Joost Nieuwenhuijse
a16997dee1 Merge branch 'SuperHouse/master' 2018-06-08 21:54:16 +02:00
Ruslan V. Uss
af52af782f
Merge pull request #637 from ourairquality/i2c-stdio
i2c: include stdio.h for debugging.
2018-06-08 14:41:42 +05:00
Our Air Quality
b4271792b9 i2c: include stdio.h for debugging. 2018-06-08 19:21:21 +10:00
Ruslan V. Uss
d9c5f2eaa2
Merge pull request #635 from quietboil/improved
ssd1306: Allow SPI3 support to be disabled
2018-06-06 19:30:05 +05:00
Alex Demenchuk
c3b7a01891 Add SPI3 SUPPORT preprocessor macro to CFLAGS 2018-06-05 16:17:26 -04:00
Ruslan V. Uss
eed96df5dd
Merge pull request #634 from ourairquality/sysparam-init-sem
sysparam: always create the semaphore on init.
2018-06-05 20:05:39 +05:00
Our Air Quality
090db8da5e sysparam: always create the semaphore on init.
Otherwise when initialization was not successful it may fail with an
assertion in FreeRTOS rather than returning SYSPARAM_ERR_NOINIT.
2018-06-05 22:24:48 +10:00
Our Air Quality
182258e2c3 FreeRTOS: update to svn r2541. 2018-05-31 14:24:58 +10:00
Our Air Quality
6be0b6b20e stdin_uart: rewrite to use a FreeRTOS queue.
Rewrite to have the IRQ handler read the character and place it in a
FreeRTOS queue.
2018-05-31 14:14:50 +10:00
Ruslan V. Uss
93d43d7825
Merge pull request #622 from ourairquality/uart-nonblock-vtime
stdin_uart_interrupt: add support for nonblock and a timeout.
2018-05-20 02:48:30 +05:00
Zaltora
4dc7d825bc Initial HW PWM (Delta-Sigma) (#609) 2018-05-20 02:47:29 +05:00
Ruslan V. Uss
10f361c8ca
Merge pull request #625 from joostn/jn_cpp1
Improved C++ support, support C++ exceptions
2018-05-18 20:00:42 +05:00
Joost Nieuwenhuijse
2985d1d11e Make operator new / delete weak
so you can implement your own, e.g. if you need a throwing operator new.
2018-05-16 17:56:15 +02:00
Joost Nieuwenhuijse
233f9a6a31 Change linker script to support C++ exceptions
See:
https://github.com/espressif/esp-idf/issues/459
https://github.com/jcmvbkbc/crosstool-NG/issues/54
2018-05-16 17:54:56 +02:00
Joost Nieuwenhuijse
ee001e0231 Move large lib_a-svfwprintf to flash
lib_a-svfwprintf may get included when linking against libstdc++
This will overflow IRAM

https://github.com/SuperHouse/esp-open-rtos/issues/623
2018-05-16 17:53:17 +02:00
Our Air Quality
efff445a03 stdin_uart_interrupt: add support for nonblock and a timeout. 2018-05-05 13:00:06 +10:00
Ruslan V. Uss
5830e001cf
Merge pull request #621 from ourairquality/dhcpc-flag-stopped
sdk_wifi_station_dhcpc_stop: ensure the client is flagged as stopped.
2018-04-30 15:14:18 +05:00
Our Air Quality
6db5525fbb sdk_wifi_station_dhcpc_stop: ensure the client is flagged as stopped.
Need to flag the dhcp client as stopped, even if the netif is not yet
initialized, because the flag is used to control the starting of the
dhcpc.
2018-04-30 14:08:41 +10:00
Ruslan V. Uss
61d3f5b445
Merge pull request #615 from ourairquality/os_delay_us
sdk_os_delay_us: rewrite to avoid hal.h
2018-04-27 01:20:30 +05:00
Ruslan V. Uss
a8c0e44cc7
Merge pull request #616 from ourairquality/new-flash-sizes
Recognise some new flash size codes.
2018-04-27 01:19:47 +05:00