Cruz Monrreal
309d9be347
Merge pull request #9386 from jeromecoutant/PR_SDJSON
...
SD default configuration for ST boards is already defined in TARGET_STM
2019-01-17 21:54:18 -06:00
Cruz Monrreal
30e0d8f1f6
Merge pull request #9366 from VeijoPesonen/bugfix-esp8266_verify_rcvd_data_len
...
ESP8266: add an error check for data overflow from modem side
2019-01-17 21:52:11 -06:00
Martin Kojtal
b59b93e828
Merge pull request #9331 from VeijoPesonen/bugfix-esp8266_udp_prevent_would_block
...
ESP8266: prevent WOULD BLOCK from TX if UDP
2019-01-17 12:41:42 +01:00
jeromecoutant
b070fb47d7
COMPONENT_SD default configuration for ST boards is already defined in TARGET_STM
2019-01-15 17:08:54 +01:00
Martin Kojtal
a180d69e60
Merge pull request #9356 from VeijoPesonen/bugfix-esp8266_disconnect_return_code
...
ESP8266 - fixes disconnect to check the state from modem
2019-01-15 10:38:40 +01:00
Martin Kojtal
ebf3a192e1
Merge pull request #9329 from juhaylinen/sdblockdevice-doc
...
SDBlockDevice docs update
2019-01-14 10:40:35 +00:00
Veijo Pesonen
02cd9f1884
[ESP8266] adds an error check for data overflow from modem side
2019-01-14 12:22:41 +02:00
Veijo Pesonen
e83b883e08
[ESP8266] fixes disconnect to check the state from modem
...
Additionally to internal bookkeeping lets check from the modem
that what is connection state in disconnect. There might be
inconsistencies.
2019-01-11 16:25:26 +02:00
Seppo Takalo
7db2292417
Flush ESP8266 serial input buffers after HW reset
2019-01-10 18:13:32 +02:00
Veijo Pesonen
e9ceff2450
[ESP8266] fixes a debug print
2019-01-10 14:33:15 +02:00
Veijo Pesonen
9a3c9a30b3
[ESP8266] Drop signalling SIGIO artificially if UDP send fails
...
With TCP it's desirable that SIGIO wakes up the application to check
if there is buffer space space available on the mode. With UDP the
behavior is not acceptable as we don't know if the other endpoint is
there as connection establishment is missing. Hence buffers might
stay full forever.
2019-01-10 14:33:15 +02:00
Martin Kojtal
e25611aad8
Merge pull request #9309 from VeijoPesonen/bugfix-esp8266_send_busy
...
ESP8266 - fix send buffer exhaustion handling
2019-01-10 12:24:09 +00:00
Mel W
66f5358c4b
some minor streamlining and editorial changes
2019-01-10 14:18:11 +02:00
Juha Ylinen
a4a99d61d2
SDBlockDevice docs update
2019-01-10 13:44:10 +02:00
Martin Kojtal
47e477cc97
Merge pull request #9310 from juhaylinen/spifblockdevice-doc
...
SPIFBlockDevice docs update
2019-01-10 10:53:19 +00:00
Cruz Monrreal
b9d5dceb72
Merge pull request #9284 from VeijoPesonen/bugfix-esp8266_socket_close
...
ESP8266: Fixes AT-layer socket_open-functions
2019-01-09 13:47:46 -06:00
Veijo Pesonen
7c112b2843
[ESP8266] socket_send() returns WOULD_BLOCK if server won't accept
...
Driver must return NSAPI_ERROR_WOULD_BLOCK if a server won't accept
data from the modem and the modem's buffers are full. In case that
socket is closed driver returns NSAPI_ERROR_CONNECTION_LOST.
2019-01-09 16:34:25 +02:00
Juha Ylinen
96877b80e6
SPIFBlockDevice docs update
2019-01-09 15:29:34 +02:00
Veijo Pesonen
4a9f86565a
[ESP8266] Fixes AT-layer socket_open-functions
...
When a socket open fails it musn't be treated as fatal error. Returning
a device error which is then handled by an application is the correct
solution
2019-01-09 13:20:52 +02:00
Seppo Takalo
8bf3ce3d68
ESP8266: Set HW reset time to 2ms
2019-01-08 18:18:46 +02:00
Martin Kojtal
a9ce91686c
Merge pull request #9264 from offirko/offir_qspif_reduce_trace_level
...
reduce info traces to debug level to prevent logs overflow
2019-01-08 12:38:51 +00:00
Martin Kojtal
1c3b6f4f94
Merge pull request #9268 from yossi2le/yossi_fix_flashiap_test
...
Calculate FlashIAPBlockDevice start address and size automatically for test only
2019-01-08 09:51:28 +00:00
Yossi Levy
bdeb54592f
This commit fixes an issue in which boards with FlashIAP block device enabled fails the FlashIAP block device tests exists under the component directory. That's because they have no start address and size configured in the mbed_lib.json file. In order to simplify the test for targets with no definitions in the mbed_lib.json, the test will calculate the start address as the first sector after the application ends and up to the max size available.
2019-01-07 15:20:58 +02:00
Martin Kojtal
0eabafa551
Merge pull request #9135 from yossi2le/yossi_get_type_for_bd
...
Get type for BlockDevice
2019-01-07 12:26:29 +00:00
offirko
a270cffe39
reduce info traces to debug level to prevent logs overflow
2019-01-06 12:11:30 +02:00
Cruz Monrreal
54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
...
mbed.h includes removed
2019-01-04 10:27:30 -06:00
Martin Kojtal
26b8a96d44
Merge pull request #9173 from michalpasztamobica/esp8266_remove_stop_uart_hw_ctrl
...
Prevent ESP8266 stopping HW control on init
2019-01-04 08:42:51 +00:00
Antti Kauppila
2ff6cd3df3
Cleaned 802.15.4_RF to not have mbed.h includes
2018-12-28 15:19:03 +02:00
Antti Kauppila
02b0f79e15
mbed.h includes removed
2018-12-28 14:36:10 +02:00
Yossi Levy
b17d13e75e
Documnent changes and adding const to get_type method
2018-12-23 14:27:14 +02:00
Yossi Levy
b8b7292d8e
astyle fix
2018-12-23 11:03:45 +02:00
Yossi Levy
1d71fb1c9f
Add get_type method to block devices.
2018-12-23 11:03:45 +02:00
Deepika
5f57b89c10
Resolved: [Error] main.cpp@115,34: [Pe266]: "size" is ambiguous
...
`size` is part of std library since c++17, and results in build
errors for IAR 8.x.
https://en.cppreference.com/w/cpp/iterator/size
2018-12-21 14:29:06 -06:00
Deepika
a356db19aa
Resolved warning: variable declared but never referenced
2018-12-21 13:34:00 -06:00
Deepika
7b5fe2d8ba
Resolve string literal error
...
Space needed between 2 string literals
[Error] fopen.cpp@204,97: [Pe2486]: user-defined literal operator not found
2018-12-21 13:28:23 -06:00
Martin Kojtal
cc2e15c84e
Merge pull request #9158 from davidsaada/david_lto_dup_types
...
Fix LTO build failures due to duplicate local types
2018-12-20 16:30:16 +00:00
Michal Paszta
034c72e12c
Prevent ESP8266 stopping HW control on init
2018-12-20 13:22:13 +01:00
Alastair D'Silva
2617c5d55b
Don't use define checks on DEVICE_FOO macros (mbed code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
David Saada
ec0ebc2cec
Fix LTO build failures due to duplicate local types
2018-12-19 15:52:43 +02:00
Cruz Monrreal II
9b9b81e9a4
Merge branch 'esp8266_link_type_fix' of ssh://github.com/c1728p9/mbed-os
2018-12-18 13:23:44 -06:00
Cruz Monrreal
ce1929b5df
Merge pull request #9045 from fredlee12001/patch-1
...
Fix wrong PIN config for RTL8195AM platform
2018-12-18 10:32:59 -06:00
Russ Butler
6210805696
Fix ESP8266 "Link Type" errors after reset
...
As part of the ESP8266 connect sequence, ESP8266Interface::connect,
a software reset is performed. If the ESP8266 had been connected
previously then the ESP8266 will sometimes send a "WIFI DISCONNECT" OOB
message before performing the software reset. This causes the
ESP8266::_oob_connection_status to change its state (_conn_status) from
NSAPI_STATUS_DISCONNECTED to NSAPI_STATUS_CONNECTING. This causes
ESP8266Interface::_startup, called later in the boot seqeunce, to skip
ESP8266::startup. Without this call socket mux mode (CIPMUX=1) is never
enabled and all send commands using this format fail with a "Link Type"
error.
This patch fixes that problem by unconditionally calling
ESP8266::startup as part of the ESP8266 connect sequence.
2018-12-17 10:11:52 -06:00
Cruz Monrreal
64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
...
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Cruz Monrreal
5e42fc0e74
Merge pull request #9057 from offirko/offir_qspif_prefer_144_mode
...
Prefer QSPI Bus mode 1-4-4 as highest priority for QSPIFBlockDevice
2018-12-13 18:15:04 -06:00
jeromecoutant
fc548cdc05
STM32 QSPIF: add DISCO_L496AG, DISCO_F746NG and DISCO_F769NI
2018-12-13 10:56:36 +01:00
offirko
b79c64ec53
Favor QSPI Bus mode 1-4-4 over QPI
...
QPI may have slightly better performance, but it is not supported by all targets.
It requires register setup between each Read and Program/Erase commands,
which might damage the overall performance eventually.
2018-12-12 10:54:48 +02:00
Michal Paszta
d6e385b330
ESP8266 send returns WOULD_BLOCK error when busy
2018-12-11 17:48:37 +01:00
Veijo Pesonen
e4de165a32
[ESP8266] Fixes namespace collision
2018-12-11 09:49:23 +02:00
Veijo Pesonen
02aeab29d3
[ESP8266] powers down the modem on disconnect
2018-12-11 09:49:23 +02:00
Veijo Pesonen
8415e49835
Fixes connect, and network-status logic
2018-12-11 09:49:23 +02:00