Commit graph

729 commits

Author SHA1 Message Date
Our Air Quality
754bdaaed0
lwip: merge upstream master. 2017-10-05 22:51:41 +02:00
Our Air Quality
0f67c6570a
lwip: update to the 2.0.3 release 2017-10-05 22:51:41 +02:00
Our Air Quality
3f1624840f
lwip: revise ooseq handling.
Modified for lwip backwards compatibility based on upstream feedback.
2017-10-05 22:51:41 +02:00
Our Air Quality
8d4dec7e18
lwip: ooseq_max_bytes() - set a practical target memory size. 2017-10-05 22:51:41 +02:00
Our Air Quality
bdaf3a2a2f
lwip: revise the tcp ooseq limit calulations.
Was making a mess of the calculation sign.

Also added a COPY_PP_RX_PBUFS define to include appropriate limits
for this option.
2017-10-05 22:51:41 +02:00
Our Air Quality
258992cecf
Update lwip, fixes losses of pcbs and associated problems. 2017-10-05 22:51:41 +02:00
Our Air Quality
34bd2dc823
lwip: rework the tcp ooseq handling.
It now accounts for the number of rx pool buffers used and the
available memory when deciding the number of ooseq buffers to retain.

Enable the TCP Selective ACK support which appears to help a lot on
lossy wifi when using the OOSEQ option.
2017-10-05 22:51:41 +02:00
Our Air Quality
2110cf02ac
wificfg: allow the AP channel to be 1. 2017-10-05 22:51:41 +02:00
Our Air Quality
8d71709161
lwip: update to master branch. 2017-10-05 22:51:41 +02:00
Our Air Quality
fd354ee4e8
sdk_cnx_add_rc: fix overflow of the table, when no match is found.
Also adds source code for sdk_cnx_rc_search, adding a null pointer dereference
check (that is not expected to be seen), and source code for sdk_cnx_remove_rc.
2017-10-05 22:51:41 +02:00
Our Air Quality
a15d34de06
http_get example: fix compilation with ipv6 disabled. 2017-10-05 22:51:41 +02:00
Our Air Quality
581d266b00
lwip: disable the tcpip_core_locking_input option
With this option enabled some lwip input processing occurs in the pp task which
works well for some uses but some code uses a lot of stack (e.g. mdns) and will
overflow the pp task stask, or might unnecessarily slow the critical pp task,
so disable this by default and if not already defined.
2017-10-05 22:51:41 +02:00
Our Air Quality
5b4c2b7893
sysparam editor: accept newline to end a line of input. 2017-10-05 22:51:41 +02:00
Our Air Quality
5caa455787
ds3231: minor code style fixes.
Comment, on the week day start.
2017-10-05 22:51:41 +02:00
Our Air Quality
e7b9845f9a
bmp180: comment typo 2017-10-05 22:51:40 +02:00
Our Air Quality
0cab2cb5cc
sysparam_get_bool: memcpy the binary values out. 2017-10-05 22:51:40 +02:00
Our Air Quality
d3a8ebb06b
spi_write: use uint32_t for the page iteration counter.
The page counter was using an uint8_t which seems unnecessary and might wrap.
2017-10-05 22:51:40 +02:00
Our Air Quality
e9763c112c
ets_timer: code for using the FreeRTOS timers, and remove from libs. 2017-10-05 22:51:40 +02:00
sheinz
122343dce3
Reverse engineered ets_timers.o
Switch from FreeRTOS queue to task notification.
Removed unknown/unused code.

Rename sdk_ets_handler_isr to process_pending_timers
Add function for microseconds
Simplify time to ticks conversion
2017-10-05 22:51:40 +02:00
Our Air Quality
90a3ef092b
Add Wificfg
Uses the sysparam store to save the wifi configuration.
Adds a basic http server for configuration.
2017-10-05 22:51:40 +02:00
Our Air Quality
6bbd7bb11e
libc: update to a recent newlib version. 2017-10-05 22:51:40 +02:00
Our Air Quality
36fca51b2b
LwIP v2 support 2017-10-05 22:51:39 +02:00
Our Air Quality
a5b352e8c1
upnp example: strip down the lwipopts.h file 2017-10-05 22:51:38 +02:00
Our Air Quality
79d2d1d56b
FreeRTOS 9.0.1 2017-10-05 22:51:38 +02:00
Our Air Quality
57308d1493
Add an argument to ISRs. Disable interrupts while masking them. 2017-10-05 22:51:38 +02:00
Our Air Quality
053aeaa956
sysparam: reserve one more flash sector before placing the sysparams
This is to help work with recent SDKs that add a RF cal sector by
default in the fifth last sector - just so the sysparam sectors do not
jump around when using different SDK versions.
2017-10-05 22:51:38 +02:00
Erwin Boskma
5392cc437a
Updated ws2812_i2s example to default to RGB LEDs 2017-10-05 20:38:36 +02:00
Erwin Boskma
884955edbc
Added support for RGBW NeoPixels 2017-09-30 22:44:16 +02:00
Zaltora
b83c2629b9 I2C bus upgrade (#432) 2017-09-01 14:29:32 +05:00
Ruslan V. Uss
d100f42b1f Merge pull request #440 from flannelhead/user-exception-handler
Add a hook for a user defined exception handler
2017-09-01 14:28:49 +05:00
Sakari Kapanen
4838072ecf Added an API for user exception handlers 2017-08-29 09:51:23 +03:00
Ruslan V. Uss
42ccb47eb3 Merge pull request #439 from Zaltora/ssd1306_fix
Fix SPI3 protocol with SSD1306
2017-08-24 18:41:02 +05:00
lilian
674c450416 Fix SPI3 protocol with SSD1306 2017-08-22 15:10:15 -03:00
Ruslan V. Uss
077fe622da Merge pull request #438 from sheinz/fix/travis
Fix pyserial import on travis CI
2017-08-20 01:32:21 +05:00
sheinz
8ce00cdf21 Fix pyserial import on travis CI 2017-08-18 17:38:38 +03:00
Ruslan V. Uss
f51becd0a7 Merge pull request #433 from flannelhead/httpd-typedef-fix
httpd: add missing typedef
2017-08-05 01:34:04 +05:00
Ruslan V. Uss
9347a6b165 Merge pull request #431 from ourairquality/i2c-default-speed
i2c: remove wip 400k define
2017-08-04 15:46:04 +05:00
Sakari Kapanen
30920ce4ec httpd: add missing typedef 2017-08-04 07:18:42 +03:00
Our Air Quality
afa834a805 i2c: remove wip 400k define
Looks like this was test wip code that should not have been included.
Want to be able to set the i2c per-project rather than having to patch
the driver.
2017-08-02 10:36:06 +10:00
Ruslan V. Uss
9523e872f8 Merge pull request #418 from apiel/master
Upnp example emulating a Wemo switch
2017-07-24 16:26:37 +05:00
Ruslan V. Uss
29b9054cb1 Merge pull request #415 from ourairquality/rm-libgcc-in-rom
Remove code from libgcc that is provided by the ROM.
2017-07-24 16:17:31 +05:00
Ruslan V. Uss
1544768025 Merge pull request #416 from ourairquality/lmac-use-hwrand
Use hwrand for the sdk uses of rand, in particular with the NMI.
2017-07-24 16:16:30 +05:00
alex
3c050bc4d1 Upnp example emulating a Wemo switch 2017-07-20 20:23:52 +02:00
Our Air Quality
6a0da03809 Use hwrand for the sdk uses of rand, in particular with the NMI.
The fiq NMI calls rand() from lmac:lmac.a:sdk_lmacTxFrame and the NMI
must not touch the newlib reent structure or enter critical regions
etc, so just use the simple and safe hwrand implementation as a
substitute.
2017-07-20 16:24:45 +10:00
Our Air Quality
9e302c59ed Remove code from libgcc and libc that is provided by the ROM.
This saves about 2.5k of iram.
2017-07-16 23:09:33 +10:00
Ruslan V. Uss
e17b1a5db6 Merge pull request #410 from UncleRus/extras/ad770x
Driver for AD7705/AD7706 SPI ADC
2017-07-10 03:42:42 +05:00
UncleRus
ee7bd87011 Driver for AD7705/AD7706 SPI ADC 2017-07-07 03:50:50 +05:00
Ruslan V. Uss
497b4e607b Merge pull request #404 from ourairquality/bearssl2
Update BearSSL
2017-07-06 11:17:04 +05:00
Ruslan V. Uss
11ea727efa Merge pull request #403 from ourairquality/mbedtls251
Update mbed TLS to 2.5.1
2017-07-06 11:16:32 +05:00
Our Air Quality
178d0e381c Update BearSSL 2017-07-04 23:16:22 +10:00