Merge pull request #12178 from tymoteuszblochmobica/lpctls

Fixes for LPC55S69_NS TLS tests
pull/12055/head
Martin Kojtal 2020-01-03 11:29:49 +00:00 committed by GitHub
commit 4feca5942a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -557,6 +557,9 @@ nsapi_error_t ESP8266::open_tcp(int id, const char *addr, int port, int keepaliv
static const char *type = "TCP";
bool done = false;
if (!addr) {
return NSAPI_ERROR_PARAMETER;
}
_smutex.lock();
// process OOB so that _sock_i reflects the correct state of the socket

View File

@ -126,7 +126,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
define block CSTACK with alignment = 8, size = __size_cstack__ { };
define block HEAP with alignment = 8, size = __size_heap__ { };
define block HEAP with expanding size, alignment = 8, minimum size = __heap_size__ { };
define block RW { readwrite };
define block ZI { zi };