Commit graph

874 commits

Author SHA1 Message Date
Wouter
c3eaaa7043
Update FreeRTOS license.
FreeRTOS is under MIT license and copyrighted by Amazon
2018-01-27 23:54:36 +01:00
Andrew Clink
63af6f4cc4 Add makefile flash hooks 2018-01-25 09:16:31 -07:00
Ruslan V. Uss
42e342e3dd
Merge pull request #544 from gschorcht/sht3x
Minor changes in SHT3x driver
2018-01-20 17:03:09 +05:00
Gunar Schorcht
13db675ac6 Minor changes in BME680 driver (#543) 2018-01-20 17:02:53 +05:00
Gunar Schorcht
8325bb87c5 Minor changes in CCS811 driver (#542) 2018-01-20 17:02:31 +05:00
Gunar Schorcht
37230b2de6 L3GD20H 3-axes gyroscope driver (#545) 2018-01-20 17:01:59 +05:00
Gunar Schorcht
a4de9dd4f1 LIS3DH 3-axes accelerometer driver added (#546) 2018-01-20 17:01:38 +05:00
Gunar Schorcht
812794f7d9 LIS3MDL 3-axes magnetometer driver added (#547) 2018-01-20 17:00:35 +05:00
Gunar Schorcht
f5bbff8b87 LSM303D e-Compass driver added (#548) 2018-01-20 16:59:54 +05:00
Ruslan V. Uss
39957e6203
Updated FreeRTOS version in reaadme 2018-01-18 12:30:34 +05:00
Gunar Schorcht
7fed013453 minor changes 2018-01-06 15:34:36 +01:00
Ruslan V. Uss
4715d5e8ff
Merge pull request #532 from ourairquality/netif-default-station
Change the netif default to the station in STATIONAP mode.
2017-12-30 18:53:09 +05:00
Ruslan V. Uss
9dee6f3fff
Merge pull request #531 from imihajlow/master
Allow html files customization for libesphttpd
2017-12-30 15:57:04 +05:00
Our Air Quality
c3dbac37ef Change the netif default to the station in STATIONAP mode.
It seems most common for the connection to the wider internet to be
via the station netif even if there is also an AP netif, so set the
default to the station netif. The lwip ipv4 route logic will still use
the AP netif if the destination is to that subnet.
2017-12-30 20:51:53 +11:00
Ivan Mikhailov
524f8b953f Allow html files customization for libesphttpd
Modified component.mk to let user customize
LIBESPHTTPD_HTML_DIR and LIBESPHTTPD_HTML_FILES
2017-12-30 09:48:17 +01:00
Ruslan V. Uss
4ec3659a04
Merge pull request #529 from ourairquality/newlib-locks-combine
newlib: add an option to combine some locks.
2017-12-28 06:48:28 +05:00
Ruslan V. Uss
e5e902589c
Merge pull request #523 from ourairquality/reclaim-wdev-bss
Reclaim a chunk of unused dram in the wdev bss area, 8000 bytes.
2017-12-28 06:48:16 +05:00
Ruslan V. Uss
2d22be9bac
Merge pull request #530 from ourairquality/sysparam-editor-flushing
sysparam editor: more stdout flushing.
2017-12-27 12:37:11 +05:00
Our Air Quality
3dd347ca55 sysparam editor: more stdout flushing. 2017-12-27 13:56:20 +11:00
Our Air Quality
3b2e0773ca newlib: add an option to combine some locks.
The locks are using a bit of the limited ram. It's probably fine to combine some
of these to use the same mutex, and this patch does so for the set initialized
early. The file locks will still be separate, and dynamically created, so a
thread blocking on them will not deadlock all uses of newlib that need a lock.
2017-12-27 13:55:07 +11:00
Ruslan V. Uss
132391752e
MAX7219 driver fix 2017-12-27 00:33:59 +05:00
Ruslan V. Uss
126fbc20a7
Merge pull request #528 from UncleRus/extras/f-ram
Driver for Cypress serial F-RAM
2017-12-27 00:24:42 +05:00
Ruslan V. Uss
a922ea0383
Merge pull request #519 from ourairquality/heap-end-use-startup-stack
Reuse the startup stack for the dynamic heap.
2017-12-25 22:00:35 +05:00
UncleRus
543b4198b2 Driver for Cypress serial F-RAM 2017-12-24 18:49:52 +05:00
Ruslan V. Uss
131da5b4f2
Merge pull request #505 from ourairquality/mdns-responder1
mDNS-responder: ipv6 support and fixes
2017-12-24 18:39:47 +05:00
Ruslan V. Uss
f671f31b96
Merge pull request #524 from gschorcht/bme680
BME680 driver updates
2017-12-24 04:57:37 +05:00
Ruslan V. Uss
ff18dead52
Merge pull request #525 from gschorcht/sht3x
SHT3x driver updates
2017-12-24 04:57:26 +05:00
Ruslan V. Uss
fa5fe85d3a
Merge pull request #526 from gschorcht/ccs811
CCS811 driver updates
2017-12-24 04:54:24 +05:00
Ruslan V. Uss
342ba29b63
Merge pull request #527 from ourairquality/freertos-v10-0-1
FreeRTOS v10.0.1
2017-12-24 00:34:17 +05:00
Our Air Quality
59a4d85663 FreeRTOS v10.0.1
Mainly some simplifications to the copyright terms.
2017-12-23 21:10:57 +11:00
Gunar Schorcht
ca0b5da905 - Delaying and repeating i2c operation automatically when i2c interface is busy removed. User has to deal with concurrency using semaphores.
- GPIO_ID_PIN macros removed
- Soft reset mechanism of SHT3x does not work when sensor is in any measurement mode. Therefore, it does not abort initialization procedure anymore
- typos
- changes to use the same source code with ESP8266 (esp-open-rtos) and ESP32 (ESP-IDF)
2017-12-21 19:02:02 +01:00
Gunar Schorcht
f0425e7abd - small corrections
- changes to use the same source code with ESP8266 (esp-open-rtos) and
  ESP32 (ESP-IDF)
2017-12-21 19:00:16 +01:00
Gunar Schorcht
07f3c08244 - minor changes
- changes to use the same source code with ESP8266 (esp-open-rtos) and
  ESP32 (ESP-IDF)
2017-12-21 18:58:52 +01:00
Our Air Quality
aa0b7f5005 Reclaim a chunk of unused dram in the wdev bss area, 8000 bytes. 2017-12-19 14:12:02 +11:00
Ruslan V. Uss
c3ae04c93f
Merge pull request #511 from ourairquality/newlib-locks
Newlib: implement locks
2017-12-14 08:30:20 +05:00
Ruslan V. Uss
642e98e0b3
Merge pull request #521 from ourairquality/print_meminfo-fixes
sdk_system_print_meminfo: fix and correct heap end.
2017-12-14 02:47:20 +05:00
Ruslan V. Uss
48a33e6c2e
Merge pull request #520 from ourairquality/wificfg-const-strings
wificfg: declare strings 'const' when appropriate.
2017-12-14 02:47:03 +05:00
Our Air Quality
f0d2c34399 sdk_system_print_meminfo: fix and correct heap end. 2017-12-14 08:15:04 +11:00
Our Air Quality
8ae8019045 wificfg: declare strings 'const' when appropriate. 2017-12-14 08:00:10 +11:00
Our Air Quality
724bf797b1 Reuse the startup stack for the dynamic heap.
Once scheduling has started, the startup stack is no longer usable, control can
never return to that stack. So bump up the heap end in the first task that runs
after scheduling has started. This gives back about 1k.
2017-12-14 07:48:25 +11:00
Our Air Quality
f27bc0f452 wificfg: remove the AP WEP mode option (#514)
* wificfg: remove the AP WEP mode option

The WEP mode does not appear to be implement in the sdk for the AP mode, and
defaults to open when WEP is requested which is probably not intended. Remove
the WEP option from the wifi config interface.

* lwip: enable mdns dns queries.

* wificfg: support mDNS on the softAP interface.
2017-12-13 21:29:49 +05:00
Ruslan V. Uss
c1937ea754
Merge pull request #518 from ourairquality/freertos-v10-1
FreeRTOS v10 fixes.
2017-12-13 16:08:24 +05:00
Our Air Quality
36322def89 FreeRTOS v10 fixes.
svn r2522:
FreeRTOS kernel: Fix extern "C" { in stream_buffer.h.
FreeRTOS kernel: Correct tskKERNEL_VERSION_NUMBER and tskKERNEL_VERSION_MAJOR constants for V10.
Ensure the currently executing task is printed correctly in vTaskList().
2017-12-13 21:16:40 +11:00
Ruslan V. Uss
95ff7ef378
Merge pull request #517 from UncleRus/fatfs_r13a
FatFs updated to R13a
2017-12-13 11:17:35 +05:00
Our Air Quality
e9d9201527 Newlib: implement locks
* Dynamically allocate arc4random data. Saves about 1k off the bss.
2017-12-13 11:29:43 +11:00
UncleRus
7f010ef1fe FatFs updated to R13a 2017-12-12 11:39:22 +05:00
Ruslan V. Uss
89c6c410ff
Merge pull request #516 from ourairquality/softap-multicast
softap: allow output of multicast frames.
2017-12-12 10:28:21 +05:00
Our Air Quality
0a07fe11e5 softap: allow output of multicast frames.
Multicast frames were being dropped by ieee80211_output_pbuf. It appears to look
up the destination address using cnx_node_search which only has an entry for the
broadcast address (all ones). This patch modifies cnx_node_search to return the
broadcast cnx_node for the multicast addresses too.

This is needed to support services such as mDNS on the softap interface.
2017-12-12 12:03:19 +11:00
Our Air Quality
85338ee672 mDNS-responder: ipv6 support and fixes
* Adds ipv6 support. Compiles with ipv6 enabled and then accepts ipv6
  connections and answers AAAA questions.

* Fixes a few overflows of the reply buffer. Reduce the default reply buffer
  size, name it MDNS_RESPONDER_REPLY_SIZE, and allow overriding.

* Fix mdns_add_TXT.

* Prefer malloc to large stack buffers, to control stack sizes, and try to
  malloc only the buffer size needed where known in advance.

* Determine the IP addresses when responding, eliminating the update function
  and the update task.

* Allow use in SoftAP and StationAP mode too.

* Fix to compile without the debug output.

* Slightly better integration with lwip.

* Accept a NULL TXT entry.

* Some code style changes, not comprehensive.
2017-12-12 11:34:21 +11:00
Gunar Schorcht
61f23d0cf4 CCS811 driver added (#479) 2017-12-11 08:00:53 +05:00