Skip to content

Commit 4feca59

Browse files
authored
Merge pull request #12178 from tymoteuszblochmobica/lpctls
Fixes for LPC55S69_NS TLS tests
2 parents de798c4 + b40ab36 commit 4feca59

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/wifi/esp8266-driver/ESP8266/ESP8266.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@ nsapi_error_t ESP8266::open_tcp(int id, const char *addr, int port, int keepaliv
557557
static const char *type = "TCP";
558558
bool done = false;
559559

560+
if (!addr) {
561+
return NSAPI_ERROR_PARAMETER;
562+
}
560563
_smutex.lock();
561564

562565
// process OOB so that _sock_i reflects the correct state of the socket

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device/TOOLCHAIN_IAR/LPC55S69_cm33_core0_flash.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ define region CSTACK_region = mem:[from m_data_end-__size_cstack__+1 to m_data_e
126126
define region m_interrupts_ram_region = mem:[from m_interrupts_ram_start to m_interrupts_ram_end];
127127

128128
define block CSTACK with alignment = 8, size = __size_cstack__ { };
129-
define block HEAP with alignment = 8, size = __size_heap__ { };
129+
define block HEAP with expanding size, alignment = 8, minimum size = __heap_size__ { };
130130
define block RW { readwrite };
131131
define block ZI { zi };
132132

0 commit comments

Comments
 (0)