Commit graph

762 commits

Author SHA1 Message Date
Ruslan V. Uss
a11fc253d2 Merge branch 'master' into ws2812-rgbw-support 2017-10-08 19:22:23 +05:00
Zaltora
68cc1451b2 example and dhcp debug (#447) 2017-10-08 11:47:23 +05:00
Our Air Quality
55a6299c0d
lwip: fix building without TCP_QUEUE_OOSEQ 2017-10-05 22:51:42 +02:00
Our Air Quality
54a3c4b4e3
libc: update to upstream master. 2017-10-05 22:51:42 +02:00
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
Ruslan V. Uss
546cc47121 Merge pull request #437 from ourairquality/oaq-merge-1
* bmp180: comment typo
* ds3231: minor code style fixes. Comment, on the week day start.
* 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
* ets_timer: code for using the FreeRTOS timers, and remove from libs.
* libc: update to a recent newlib version.
* LwIP v2 support
* spi_write: use uint32_t for the page iteration counter. The page counter was using an uint8_t which seems unnecessary and might wrap.
* sysparam_get_bool: memcpy the binary values out.
* FreeRTOS 9.0.1
* Add an argument to ISRs. Disable interrupts while masking them.
* 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.
* upnp example: strip down the lwipopts.h file
* sysparam editor: accept newline to end a line of input.
* Add Wificfg. Uses the sysparam store to save the wifi configuration. Adds a basic http server for configuration.
* 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.
* 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.
* http_get example: fix compilation with ipv6 disabled.
* lwip: update to master branch.
* wificfg: allow the AP channel to be 1.
* 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.
* Update lwip, fixes losses of pcbs and associated problems.
* 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.
* lwip: ooseq_max_bytes() - set a practical target memory size.
* lwip: revise ooseq handling. Modified for lwip backwards compatibility based on upstream feedback.
* lwip: update to the 2.0.3 release
* lwip: merge upstream master.
* libc: update to upstream master.
* lwip: fix building without TCP_QUEUE_OOSEQ
2017-10-02 04:50:35 +05:00
Our Air Quality
70aa7a90a5 lwip: fix building without TCP_QUEUE_OOSEQ 2017-10-01 21:26:15 +11:00
Erwin Boskma
884955edbc
Added support for RGBW NeoPixels 2017-09-30 22:44:16 +02:00
Our Air Quality
6080bb6ef2 libc: update to upstream master. 2017-09-21 23:44:24 +10:00
Our Air Quality
1e76ce25d5 lwip: merge upstream master. 2017-09-21 20:55:00 +10:00
Our Air Quality
5e92d55af5 lwip: update to the 2.0.3 release 2017-09-18 21:28:29 +10:00
Our Air Quality
0a1fd09459 lwip: revise ooseq handling.
Modified for lwip backwards compatibility based on upstream feedback.
2017-09-08 10:48:44 +10:00
Our Air Quality
893f715852 lwip: ooseq_max_bytes() - set a practical target memory size. 2017-09-04 18:13:27 +10:00
Our Air Quality
730a0f40c7 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-09-04 17:22:30 +10:00
Our Air Quality
49f7951013 Update lwip, fixes losses of pcbs and associated problems. 2017-09-04 07:31:42 +10:00
Our Air Quality
f5817aef01 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-09-03 20:13:54 +10: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
Our Air Quality
1bfa6c4364 wificfg: allow the AP channel to be 1. 2017-08-30 13:53:01 +10:00
Our Air Quality
fea8a3f4e7 lwip: update to master branch. 2017-08-30 13:52:50 +10:00
Our Air Quality
29da4e9279 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-08-30 13:51:32 +10:00
Our Air Quality
87994d3bb4 http_get example: fix compilation with ipv6 disabled. 2017-08-30 13:51:32 +10:00
Our Air Quality
0d5e3bb663 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-08-30 13:51:32 +10:00
Our Air Quality
b79da1f1f1 sysparam editor: accept newline to end a line of input. 2017-08-30 13:51:32 +10:00