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
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
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
Gunar Schorcht
c5e9f12243
doc: fix undocumented func in socket_zep_params.h
2019-01-18 07:18:06 +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
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
Gunar Schorcht
2c97377585
cpu/esp32: fixes NETOPT_IS_WIRED in esp_wifi
...
esp_wifi returns false now.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
078c47d79c
cpu/esp32: fixes frame size handling in esp_wifi
...
The size of received and transmitted frames was stored in an uint8_t, which did not allow to process frames larger than 255 octets. However, WiFi has an MTU of 1500 octets.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
c06172925a
Merge pull request #10766 from gschorcht/esp_compile_time_configs
...
cpu/esp*: compile time configurations for ESP MCUs
2019-01-17 16:39:26 +01:00
Gunar Schorcht
6c61b69164
cpu/esp32: os_memset redefinition
...
os_memset uses system_secure_memset.
2019-01-17 13:52:22 +01:00
Gunar Schorcht
2215f29883
cpu/esp32: add memset that cannot be optimized out
...
Adds a memset function `system_secure_memset` which cannot be optimized out by the compiler. It uses the libsodium approach of weak symbols. Function system_secure_memset calls the standard memset. Calling an empty function declared with weak attribute after the memset call, prevents the compiler to optimize it out. The overhead is only one function call.
2019-01-17 13:50:56 +01:00
Martine Lenders
d34bf526c1
Merge pull request #10783 from kaspar030/fix_native_timer
...
cpu/native/periph/timer: fix type conversion
2019-01-17 11:11:01 +01:00
Alexandre Abadie
7226daf33e
Merge pull request #10558 from dylad/pr/update_arm_cmsis
...
cpu/cortexm_common: Update ARM CMSIS to V5.4.0
2019-01-16 16:49:14 +01:00
f5345fbd38
cpu/native/periph/timer: fix undefined behaviour
2019-01-16 15:16:54 +01:00
Martine Lenders
bd08ea1409
nrfmin: remove long address support
...
The driver is claiming it is needed for IPv6 / 6LoWPAN support, which
is not true (the long address is never used for NRFMIN in fact) and
this assumption actually leads to an assertion when compiled as with
the `gnrc_border_router` example.
2019-01-16 14:59:28 +01:00
Sebastian Meiling
2fde8335c9
Merge pull request #10728 from keestux/memcpy-struct-copy
...
Do normal assignment instead of memcpy
2019-01-16 09:18:44 +01:00
Emmanuel Baccelli
209d90bc00
Merge pull request #10215 from kYc0o/pr/riotboot_multislot
...
riotboot: add multislot support
2019-01-15 19:04:28 +01:00
Dylan Laduranty
fdcac731eb
cpu/cortexm_common: Update ARM CMSIS to V5.4.0
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 17:35:40 +01:00
Gunar Schorcht
d34616756e
cpu/esp32: add compile configuration group
2019-01-14 12:19:19 +01:00
Gunar Schorcht
2cb7b4c6df
cpu/esp8266: add compile-time configurations group
2019-01-14 12:19:04 +01:00
Marian Buschsieweke
04d0f38d68
Merge pull request #10746 from kaspar030/remove_newlib_dep_lpc2387
...
cpu/lpc2387: remove newlib dependencies
2019-01-12 23:14:38 +01:00
Kevin "Bear Puncher" Weiss
9e1ab1e93b
Merge pull request #10700 from gschorcht/esp32_esp_now_fix_opt
...
cpu/esp: esp_now_netdev fixes and optimizations
2019-01-11 13:14:59 +01:00
Gunar Schorcht
68a02fd1c6
cpu/esp: comment about non-existing mutex removed
2019-01-11 12:38:04 +01:00
Gunar Schorcht
c9d9d60f10
cpu/esp8266: README.md removed
...
Documentation is generated by doxygen from doc.txt
2019-01-11 00:50:02 +01:00
Kees Bakker
2d04cdfb89
cpu/native: do normal assignment instead of memcpy
2019-01-10 19:43:43 +01:00
Kees Bakker
0935bd53d2
cpu/cc430: do normal assignment instead of memcpy
2019-01-10 19:43:43 +01:00
b19dcd3a65
cpu: lpc2387: use while(1){} instead of exit
...
This removes the dependency on newlib.
2019-01-10 12:15:44 +01:00
56f6c4f084
cpu: lpc2387: turn printf -> LOG_ERROR
2019-01-10 12:15:08 +01:00
Gunar Schorcht
0b1ef9abbb
cpu/esp: assert removed in esp_now_recv_cb
...
assert was added intentionally for debugging purposes. For released version it is enough that function returns.
2019-01-10 11:38:03 +01:00
Gunar Schorcht
fa0b4b801f
cpu/esp8266: doc fixes
2019-01-09 16:55:21 +01:00
Schorcht
0230d077d4
cpu/esp8266: doxygen problem fix
2019-01-09 16:03:00 +01:00