Commit graph

936 commits

Author SHA1 Message Date
Our Air Quality
5ab0d05768 tsoftuart: add a softare timer base UART driver, and example. 2019-04-11 23:15:44 +10:00
Our Air Quality
05da9151ee mactimer: add mactimer_disarm to remove a pending timer. 2019-04-11 22:10:41 +10:00
Our Air Quality
b4e9ceabd5 mactimer: add MAC NMI timer support.
Support for using the MAC timer, a NMI with a higher priority than the
maskable interrupts, but with similar practical limitations to the MAC layer
handler.
2019-04-09 21:07:02 +10:00
Ruslan V. Uss
a487762b2a
Merge pull request #708 from ourairquality/fix-const-loss
Fix compiler warnings over const losses.
2019-04-07 17:07:38 +05:00
Ruslan V. Uss
92baec5cfa
Merge pull request #709 from ourairquality/onewire-signed-var
onewire: fix some variable declarations that should have been signed.
2019-04-07 17:06:56 +05:00
Ruslan V. Uss
494cc554b2
Merge pull request #710 from ourairquality/tsl2561-signed-var3
tsl2561: fix a variable declaration the should have been signed.
2019-04-07 17:05:12 +05:00
Ruslan V. Uss
89746cf1fc
Merge pull request #711 from ourairquality/clean-examples-target
examples: add a clean-examples target, to clean all of the examples.
2019-04-07 17:02:09 +05:00
Our Air Quality
6c459dc746 examples: add a clean-examples target, to clean all of the examples. 2019-04-06 13:10:41 +11:00
Our Air Quality
71b6354cd0 tsl2561: fix a variable declaration the should have been signed. 2019-04-06 12:08:40 +11:00
Our Air Quality
c2267a1d55 onewire: fix some variable declarations that should have been signed. 2019-04-06 11:59:45 +11:00
Our Air Quality
2d9c701c37 Fix compiler warnings over const losses. 2019-04-06 11:39:29 +11:00
Zaltora
d0373af5c0 LVGL: Open-source Embedded GUI Library (#669)
* Add lvgl as main component

* update dev5.2 lvgl branch

* update lvgl 5.2 +update example + update configuration

* Update submodule and example

* update lv_drivers (fix) and example

* fix problem when merge
2019-02-26 21:58:15 +01:00
Ruslan V. Uss
bbc22571ec
Merge pull request #693 from ja2142/master
added lease time option to dhcpserver's DHCPOFFER
2019-01-17 04:37:42 +05:00
Radoslaw Olko
b6b0e5da13 added lease time option to dhcpserver's DHCPOFFER 2019-01-16 22:55:37 +01:00
Ruslan V. Uss
a721fb0bc7
Merge pull request #688 from strongly-typed/feature/http_get_host
http_get example: Make compatible with IPv4
2018-12-04 20:31:00 +05:00
Sascha Schade (strongly-typed)
d70e48eb24 http_get example: Make compatible with IPv4
ipv6.google.com is not available from an IPv4-only network.
httpbin.org gives nice answers to many requests.
2018-12-04 16:21:01 +01:00
Ruslan V. Uss
2cded08ce4
Merge pull request #683 from quietboil/master
Fixed command and address in LSB mode
2018-10-26 12:39:25 +05:00
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
Alex Demenchuk
1a348179dd Fixed command and address in LSB mode 2018-10-11 17:47:02 -04: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