Commit Graph

262 Commits (6684570dea0402cfe5e7d654aedf1cceafd080ac)

Author SHA1 Message Date
Martin Kojtal f1bf5dbd63
Merge pull request from VeijoPesonen/bugfix-esp8266_reduce_sigio
ESP8266: reduces SIGIO signaled to the upper layers
2019-02-01 08:23:35 +01:00
Cruz Monrreal b506b03055
Merge pull request from VeijoPesonen/feature-esp8266_mbed_error_if_wdt
ESP8266: calls MBED_ERROR if modem's watchdog reset gets triggered
2019-01-31 10:51:38 -06:00
Cruz Monrreal ffc52e6a5e
Merge pull request from deepikabhavnani/refactor_sd
Refactor storage components
2019-01-31 10:21:38 -06:00
Cruz Monrreal 39d46280e2
Merge pull request from davidsaada/david_flashiap_no_default
FlashIAP Block device: Assert if default constructor is used without setting config parameters
2019-01-31 10:21:20 -06:00
deepikabhavnani 2952735ac0 Moved util (common test folder) inside the TESTS directory
Util was common test folder, which was kept outside as we had
no mechanism to have common files for various tests in tools.
Now same can be achieved by having COMMON folder inside tests
directory
2019-01-30 16:51:05 -06:00
deepikabhavnani 0d6bd2798f Moved `mbed_lib.json` outside config folder
This is to have consistency across all storage components
2019-01-30 16:51:05 -06:00
Veijo Pesonen 53c2879a5c ESP8266: makes guarding variable for deferring events atomic 2019-01-30 17:00:56 +02:00
Veijo Pesonen 7d3621dae4 ESP8266: reduces SIGIO signaled to the upper layers 2019-01-30 17:00:56 +02:00
Martin Kojtal a4ed473afc
Merge pull request from VeijoPesonen/bugfix-tests-netsocket-udp_udpsocket_sendto_invalid
tests-netsocket-udp UDPSOCKET_SENDTO_INVALID allow unsupported empty UDP packet
2019-01-30 10:08:34 +01:00
Martin Kojtal 88d7ef155b
Merge pull request from theamirocohen/remove_flashiap_tests
Remove COMPONENT_FLASHIAP tests
2019-01-30 09:57:35 +01:00
Martin Kojtal 1031e2d464
Merge pull request from jeromecoutant/PR_SD_TEST
COMPONENT_SD tests update for small RAM targets
2019-01-30 09:54:41 +01:00
Amir Cohen 35df2de703 Remove COMPONENT_FLASHIAP tests
FlashIAPBlockDevice LittleFS ‘fopen’ falls on nightly tests
LittleFS test on FlashIAP is not relevant and thus removed
2019-01-29 13:54:40 +02:00
Veijo Pesonen d712568b8f ESP8266: with empty packet send returns zero if TCP, unsupported otherwise 2019-01-28 13:46:48 +02:00
Cruz Monrreal 1b1c108528
Merge pull request from offirko/offir_test_fopen_fixes
Start Component SD test by formatting SD Card
2019-01-24 13:28:33 -06:00
Cruz Monrreal 7c4668cfe9
Merge pull request from j3hill/QSPI_Align
NRF5x: QSPI SFDP read, min read/write implementation
2019-01-24 13:25:05 -06:00
offirko 0bf071809c Start test by formatting SD Card, otherwise FATFS mount might fail
Fix Jira: IOTSTOR-752
2019-01-24 12:44:04 +02:00
Cruz Monrreal f790fdd1cd
Merge pull request from VeijoPesonen/feature-esp8266_nonblocking_connect
ESP8266: implements possibility to decide between non-blocking/blocking connect.
2019-01-23 22:47:51 -06:00
j3hill 2a72bb67a3 NRF5x: QSPI SFDP read implementation 2019-01-23 10:24:02 -06:00
j3hill e9f08cb4d4 NRF5x: min read/write implementation 2019-01-23 09:55:27 -06:00
David Saada 22309c93d0 FlashIAP BD: Assert if default constructor is used w/o config change 2019-01-23 16:30:36 +02:00
Cruz Monrreal 0c85d441d2
Merge pull request from evva-sfw/feature/SPIF_ULBPR
SPIF - Fix command to unlock Global Block-Protection register
2019-01-22 23:59:21 -06:00
Veijo Pesonen 832eed02ce ESP8266: calls MBED_ERROR if modem's watchdog reset gets triggered 2019-01-22 16:11:32 +02:00
Veijo Pesonen c4d96e6309 ESP8266: provides blocking/non-blocking connect
Implements NetworkInterface::set_blocking() and implements the
functionality to distinguish between the two in connect()
2019-01-21 16:22:53 +02:00
Veijo Pesonen 58c1a88348 ESP8266: turns connect fully to non-blocking mode
Blocking mode connect is not supported anymore when this patch is
applied
2019-01-21 16:22:53 +02:00
Veijo Pesonen c60c5244c1 ESP8266: makes connect() connection status aware 2019-01-21 14:43:35 +02:00
jeromecoutant f3ba34a344 DIRS and SEEK SD tests update for small RAM targets
Test buffer size can now be specified for each target
2019-01-18 09:23:40 +01:00
Cruz Monrreal 309d9be347
Merge pull request 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 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
Philipp Steiner f0ec813d71 Update Comments 2019-01-17 11:13:16 -06:00
Philipp Steiner 167a3098c8 Add SPIF_ULBPR command also to QSPIFBlockDevice and SPIFReducedBlockDevice 2019-01-17 11:13:16 -06:00
Philipp Steiner 5f4ff5de8c Add SPIF_ULBPR command and replace wrong command to clear all write-protection bits in the Block-Protection register. 2019-01-17 11:13:16 -06:00
Martin Kojtal b59b93e828
Merge pull request 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 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 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 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 from juhaylinen/spifblockdevice-doc
SPIFBlockDevice docs update
2019-01-10 10:53:19 +00:00
Cruz Monrreal b9d5dceb72
Merge pull request 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 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