1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

21016 Commits

Author SHA1 Message Date
Gunar Schorcht
8076f393f3 cpu/esp8266: doc fixes for esp_task thread 2019-01-21 16:30:33 +01:00
Gunar Schorcht
09da830a2a cpu/esp8266: doc update for ets_task thread 2019-01-21 16:30:33 +01:00
Gunar Schorcht
0c12206503 cpu/esp8266: cpu configuration tuned
With the new ETS task handling thread, the stack sizes could be down sized.
2019-01-21 16:30:33 +01:00
Gunar Schorcht
66683050c5 cpu/esp8266: Makefile fixes for ets_task thread
Changes of ETS task handling require the context switch by software interrupt. The context switch based on interrupt is therefore enabled by default. Furthermore, the number of priority levels are increased due to the new additional thread.
2019-01-21 16:30:33 +01:00
Gunar Schorcht
906bdebb9a cpu/esp8266: new ets_task thread
ETS tasks are now handled by a high priority RIOT thread
2019-01-21 16:30:33 +01:00
Leandro Lanzieri
fc1baddef8
Merge pull request #10829 from aabadie/pr/boards/b-l475e-missing-features
boards/b-l475e-iot01a: provide already configured RTC and RTT features
2019-01-21 10:16:49 +01:00
c6b9bb5055
boards/b-l475e-iot01a: provide already configured features
RTC and RTT are available and already configured for this board but not provided by the build system
2019-01-20 13:10:25 +01:00
Martine Lenders
f91f62155d
Merge pull request #10801 from gschorcht/esp32_fix_memset_opt
cpu/esp32: fixes the memset optimization problem in esp_wifi/wpa_supplicant
2019-01-18 22:31:42 +01:00
Martine Lenders
49a05ad7e2
Merge pull request #10822 from miri64/nrfmin/fix/proto-type
nrfmin: fix type for NETOPT_PROTO
2019-01-18 18:51:11 +01:00
Gaëtan Harter
4e5de1b789
Merge pull request #10821 from cladmi/pr/make/global_goals
Makefile.include: append the values to GLOBAL_GOALS
2019-01-18 18:26:21 +01:00
Martine Lenders
4e53f0fa76 nrfmin: fix type for NETOPT_PROTO
The type [is documented as `gnrc_nettype_t`][1] so it should by checked
as such.

[1]: f9a3bdf1a7/sys/include/net/netopt.h (L210-L212)
2019-01-18 18:14:00 +01:00
Sebastian Meiling
f9a3bdf1a7
Merge pull request #10671 from kb2ma/nanocoap/retry_qty
net/nanocoap: fix confirmable retry countdown
2019-01-18 17:49:00 +01:00
Marian Buschsieweke
c2cda285ae
Merge pull request #10820 from miri64/eui48/fix/type-alignment
eui48: fix type alignment
2019-01-18 17:34:45 +01:00
Martine Lenders
7e4d13c2be eui48: fix type alignment 2019-01-18 17:03:33 +01:00
Gaëtan Harter
434328debf
Makefile.include: append the values to GLOBAL_GOALS
This allows setting other GLOBAL_GOALS by setting it before.
This could be the case for the application `Makefile` or files parsed
from `RIOT_MAKEFILES_GLOBAL_PRE`.
2019-01-18 16:40:16 +01:00
Dylan Laduranty
a78f357b26
Merge pull request #10813 from aabadie/pr/tests/pkg_hacl_monocypher
tests/pkg_{hacl,monocypher}: set custom timeout value
2019-01-18 16:08:29 +01:00
Leandro Lanzieri
4c4087cef2
Merge pull request #10812 from aabadie/pr/tests/periph_rtc_test
tests/periph_rtc: add automatic python test script
2019-01-18 15:02:23 +01:00
a1546375da
tests/periph_rtc: add automatic python test script 2019-01-18 14:42:58 +01:00
ebb45459b0
Merge pull request #10777 from fedepell/test_flashpage_enh_1
tests/periph_flashpage: improve flashpage tests
2019-01-18 14:37:39 +01:00
Ken Bannister
2e2847372c tests/nanocoap: allow server to ignore requests 2019-01-18 05:47:43 -05:00
Ken Bannister
27ba81eed0 net/nanocoap: improve debug messages 2019-01-18 05:47:43 -05:00
a1736b08ad
tests/pkg_{hacl,monocypher}: set custom timeout value
On samr30-xpro the tests takes respectively 20 and 14 seconds to complete
2019-01-18 11:29:46 +01:00
Ken Bannister
c191d52cba
Merge pull request #10779 from kb2ma/gcoap/cli_buffer_size
examples/gcoap: verify buffer size
2019-01-18 10:01:23 +00:00
Martine Lenders
6ee729bf81
Merge pull request #10811 from aabadie/pr/tests/periph_rtc_readme
tests/periph_rtc: fix alarm period in README
2019-01-18 09:45:33 +01:00
939774105f
tests/periph_rtc: fix alarm period in README
The default period value the application code is set to 2s
2019-01-18 09:17:30 +01:00
Gunar Schorcht
bb56a9f9c2
Merge pull request #10810 from gschorcht/doc_fix_params_h_warnings
doc: fix warnings in *_params.h
2019-01-18 08:41:17 +01:00
Gunar Schorcht
c5e9f12243 doc: fix undocumented func in socket_zep_params.h 2019-01-18 07:18:06 +01:00
Gunar Schorcht
5909f38089 doc: fix undocumented define in srf04 driver 2019-01-18 07:03:54 +01:00
Gunar Schorcht
b8b0a92cf8 doc: fix undocumented variable in ads101x driver 2019-01-18 07:03:45 +01:00
Cenk Gündoğan
1c712c79a4
Merge pull request #10781 from miri64/nrfmin/cleanup/long-addr
nrfmin: remove long address support
2019-01-17 20:04:03 +01:00
Cenk Gündoğan
82f30fd8c4
Merge pull request #10514 from miri64/pkg/enh/nordic-softdevice-ble-mac48
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
2019-01-17 19:22:36 +01:00
Martine Lenders
7f7bc8fc20 pkg/nordic_softdevice_ble: Use MAC48 as hardware address
This is just a compatibility issue waiting to happen as soon as there
is support for a more standard-compliant implementation of BLE (like
e.g. NimBLE ;-)).
2019-01-17 18:08:55 +01:00
f64e406a61
Merge pull request #10804 from beduino-project/fix-hifive1-flasher
boards/hifive1: fix file permissions of flasher.sh
2019-01-17 17:45:22 +01:00
Sebastian Meiling
495607d501
Merge pull request #10762 from gschorcht/esp32_esp_wifi_fix
cpu/esp32: esp_wifi netdev driver
2019-01-17 17:38:59 +01:00
Gunar Schorcht
5bb05f0911 cpu/esp32: esp-wifi related doc changes 2019-01-17 17:10:43 +01:00
Gunar Schorcht
6a99e86b2f cpu/esp32: fix stability issues of esp_wifi
ESP-IDF heap handling has to be used for esp_wifi for stability reasons. Otherwise, heap is corrupted sporadically
2019-01-17 17:10:43 +01:00
Gunar Schorcht
f788928b27 cpu/esp32: fix esp_wifi stability issues
Fixes sporadic blocking of the wifi thread in esp_wifi_recv_cb function under heavy network load conditions when frames are coming in faster than they can be processed. Since esp_wifi_recv_cb function is not executed in interrupt context, the msg_send function used for ISR event can block when the message queue is full. With this change esp_wifi can be flooded with icmpv6 packets of maximum size without any problems over hours.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
6caead7bbc cpu/esp32: esp-wifi related doc changes 2019-01-17 17:10:43 +01:00
Gunar Schorcht
7754a3416c cpu/esp_common: doc fixes related to esp_wifi 2019-01-17 17:10:43 +01:00
Gunar Schorcht
cb37288ca5 cpu/esp32: redundant README.md removed
To avoid further inconsistencies in documentation, README.md is not provided any longer
2019-01-17 17:10:43 +01:00
Gunar Schorcht
1cf415a8a9 cpu/esp32: doc improvements in esp_wifi 2019-01-17 17:10:43 +01:00
Gunar Schorcht
e83a8679b4 cpu/esp32: cleanup esp_wifi config parameters 2019-01-17 17:10:43 +01:00
Gunar Schorcht
c0d4706bf8 cpu/esp32: fix of event types in esp_wifi 2019-01-17 17:10:43 +01:00
Gunar Schorcht
c9684af5c2 cpu/esp32: automatic reconnect after disconnect
If WiFi is disconnected, e.g., because of timeout for beacon frame, it is tried to reconnect automatically.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
90e9c95c30 cpu/esp32: registration of RX callback in esp_wifi
RX callback function should be register when WiFi has been connected to AP successfully and should be unregistered when WiFi disconnects from AP. Therefore, esp_wifi_internal_reg_rxcb is called now in event handler on event SYSTEM_EVENT_STA_CONNECTED. It is reset now on event SYSTEM_EVENT_STA_DISCONNECTED.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
f4cacc1e24 cpu/esp32: improved debug message in esp_wifi 2019-01-17 17:10:43 +01:00
Gunar Schorcht
2c3ac91cf3 cpu/esp32: move wifi_connect to event handler
Before function wifi_connect is executed, starting the WiFi driver should have been finished. This is indicated by the WiFi driver by sending event SYSTEM_EVENT_STA_START. Function wifi_connect is moved therefore to the event handler for SYSTEM_EVENT_STA_START.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
8a1da21b1a cpu/esp32: fixes serious memory leak in esp_wifi
The buffer given by the WiFi driver as parameter eb has to be freed explicitly. Otherwise the esp_wifi_netdev stops working after some seconds.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
3ef35e1b78 cpu/esp32: use static WiFi config in esp_wifi
The WiFi configuration has to be static to avoid memory access problems when WiFi AP is reconnected.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
d24d73dadf cpu/esp32: fixes NETOPT_LINK_CONNECTED in esp_wifi
esp_wifi was simply returning the connection state instead of filling the referenced value.
2019-01-17 17:10:43 +01:00