Skip to content

Commit f4864dc

Browse files
authored
Merge pull request #3930 from ARMmbed/release-candidate
Release candidate for mbed-os-5.4.1
2 parents 305f5c4 + c035144 commit f4864dc

File tree

123 files changed

+2073
-3631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+2073
-3631
lines changed

drivers/FileSystemLike.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class FileSystemLike : public FileBase {
114114
* 0 on success or un-needed,
115115
* -1 on error
116116
*/
117-
virtual int stat(const char *name, struct stat *st) = 0;
117+
virtual int stat(const char *name, struct stat *st) { return -1; };
118118
};
119119

120120
} // namespace mbed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/sleep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ void hal_sleep(void)
6666

6767
void hal_deepsleep(void)
6868
{
69-
sleep();
69+
hal_sleep();
7070
// NRF_POWER->SYSTEMOFF=1;
7171
}

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/drivers_nrf/pstorage/config/pstorage_platform.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ static __INLINE uint32_t pstorage_flash_page_end()
6666

6767
#define PSTORAGE_FLASH_PAGE_END pstorage_flash_page_end()
6868

69+
#ifndef PSTORAGE_NUM_OF_PAGES
6970
#define PSTORAGE_NUM_OF_PAGES 1 /**< Number of flash pages allocated for the pstorage module excluding the swap page, configurable based on system requirements. */
71+
#endif
72+
7073
#define PSTORAGE_MIN_BLOCK_SIZE 0x0010 /**< Minimum size of block that can be registered with the module. Should be configured based on system requirements, recommendation is not have this value to be at least size of word. */
7174

7275
#define PSTORAGE_DATA_START_ADDR ((PSTORAGE_FLASH_PAGE_END - PSTORAGE_NUM_OF_PAGES - 1) \

features/FEATURE_LWIP/TESTS/mbedmicro-net/gethostbyname/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void test_dns_literal_pref() {
9191

9292
// Test setup
9393
utest::v1::status_t test_setup(const size_t number_of_cases) {
94-
GREENTEA_SETUP(20, "default_auto");
94+
GREENTEA_SETUP(60, "default_auto");
9595
net_bringup();
9696
return verbose_test_setup_handler(number_of_cases);
9797
}

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_echo/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void prep_buffer(char *tx_buffer, size_t tx_size) {
2929
}
3030

3131
int main() {
32-
GREENTEA_SETUP(20, "tcp_echo");
32+
GREENTEA_SETUP(60, "tcp_echo");
3333

3434
EthernetInterface eth;
3535
eth.connect();

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_echo_parallel/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Echo echoers[MBED_CFG_TCP_CLIENT_ECHO_THREADS];
8888

8989

9090
int main() {
91-
GREENTEA_SETUP(20, "tcp_echo");
91+
GREENTEA_SETUP(60, "tcp_echo");
9292

9393
int err = net.connect();
9494
TEST_ASSERT_EQUAL(0, err);

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_hello_world/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bool find_substring(const char *first, const char *last, const char *s_first, co
3636
}
3737

3838
int main() {
39-
GREENTEA_SETUP(20, "default_auto");
39+
GREENTEA_SETUP(60, "default_auto");
4040

4141
bool result = false;
4242
EthernetInterface eth;

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_dtls_handshake/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int udp_dtls_handshake_pattern[] = {MBED_CFG_UDP_DTLS_HANDSHAKE_PATTERN};
2828
const int udp_dtls_handshake_count = sizeof(udp_dtls_handshake_pattern) / sizeof(int);
2929

3030
int main() {
31-
GREENTEA_SETUP(20, "udp_shotgun");
31+
GREENTEA_SETUP(60, "udp_shotgun");
3232

3333
EthernetInterface eth;
3434
int err = eth.connect();

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_echo/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void prep_buffer(char *tx_buffer, size_t tx_size) {
3434
}
3535

3636
int main() {
37-
GREENTEA_SETUP(20, "udp_echo");
37+
GREENTEA_SETUP(60, "udp_echo");
3838

3939
EthernetInterface eth;
4040
eth.connect();

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_echo_parallel/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Echo echoers[MBED_CFG_UDP_CLIENT_ECHO_THREADS];
9999

100100

101101
int main() {
102-
GREENTEA_SETUP(20, "udp_echo");
102+
GREENTEA_SETUP(60, "udp_echo");
103103

104104
int err = net.connect();
105105
TEST_ASSERT_EQUAL(0, err);

0 commit comments

Comments
 (0)