Skip to content

Release candidate for mbed-os-5.13.3 #11195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Aug 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b9e9ff9
Add target for CY8CKIT_062S2_43012
Jul 18, 2019
200e705
Can compile without serial
Tharazi97 Jul 22, 2019
217a1da
Bug fixes to I2C and SPI drivers
Jul 23, 2019
e80e0cf
Cellular: Fix BG96 power up
Jul 18, 2019
a1ffecc
Cellular: Fix statemachine stop
Jul 18, 2019
227b6ce
PSOC6: USB device implementation
cypress-neil Jul 18, 2019
22238f8
PSOC6: Remove USBDEVICE from FUTURE_SEQUANA targets
cypress-neil Jul 23, 2019
195d8fe
Fix MBED_ASSERT for UTs
Jul 31, 2019
6d38596
Updated testcases
Tharazi97 Jul 25, 2019
50edb3d
Update main.cpp
Tharazi97 Jul 31, 2019
2e7c7f7
Astyle
Tharazi97 Jul 31, 2019
ef369dd
Newline at the end of files
Tharazi97 Aug 1, 2019
0fabcee
FUTURE_SEQUANA: Add missing serial_free() implementation
lrusinowicz Jul 30, 2019
d8dff83
Nuvoton: Remove dead code nu_delay_cycle_x4(...)
ccli8 Aug 5, 2019
29aa193
freescale: fix i2c_byte_read function
maciejbocianski Jul 31, 2019
a83dc21
fix rom start & size for psoc6 targets for 5.13
Jul 31, 2019
edfdc94
NRF52 need to call TIMER_TASK_SHUTDOWN for current consumption
desmond-blue Jul 30, 2019
0bde671
Fix inout pins not functioning correctly
Jul 31, 2019
dc55dae
Bring back SPIF module-specific debug logs
michalpasztamobica Aug 5, 2019
08f77e1
Coverity and compilation warnings fixes
michalpasztamobica Aug 6, 2019
527daa0
Fix nsapi_dns_add_server to add a server just once
Aug 5, 2019
d160098
Cellular: Add DNS servers from PDP contexts to nsapi_dns
Aug 5, 2019
ef934ae
Fix include path issues on NRF5x with Cordio
desmond-blue Aug 5, 2019
70af1a5
Zero initialise all NVStore&kvstore members
Jul 31, 2019
b2bd371
Xpresso: qspi_write fix
maciejbocianski Aug 6, 2019
5f4825c
__cplusplus guard fixed
byq77 Aug 1, 2019
5090d5c
STM32F7: Do not generate redundant IN tokens
Jul 17, 2019
cc5b134
stm32f413xh: add crash capture support for GCC_ARM
sethitow Jul 31, 2019
748971d
stm32f413xh: add crash capture support for ARM_MICRO
sethitow Jul 31, 2019
ec35930
stm32f413xh: add crash capture support for IAR
sethitow Jul 31, 2019
dd1d867
Merge pull request #11156 from artokin/nanostack_patch_for_mbed_os_5_…
Aug 6, 2019
d587e73
Cellular unittest: Fix wrong rebase - remove not valid file
0xc0170 Aug 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion TESTS/events/queue/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -357,3 +357,4 @@ int main()
return !Harness::run(specification);
}

#endif // !DEVICE_USTICKER
3 changes: 2 additions & 1 deletion TESTS/events/timing/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using namespace utest::v1;

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

// Test delay
#ifndef TEST_EVENTS_TIMING_TIME
Expand Down Expand Up @@ -148,3 +148,4 @@ int main()
return !Harness::run(specification);
}

#endif // !DEVICE_USTICKER
3 changes: 3 additions & 0 deletions TESTS/lorawan/loraradio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#error [NOT_SUPPORTED] Requires parameters from application config file.
#endif

#if (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276)

using namespace utest::v1;
using namespace mbed;
Expand Down Expand Up @@ -281,3 +282,5 @@ int main()
{
return !Harness::run(specification);
}

#endif // (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276)
3 changes: 2 additions & 1 deletion TESTS/mbed-crypto/sanity/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
#endif
#else

#include <stdio.h>
#include "mbed.h"
Expand Down Expand Up @@ -460,3 +460,4 @@ int main(void)
{
return !Harness::run(specification);
}
#endif // ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/flashiap/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#if !DEVICE_FLASH
#error [NOT_SUPPORTED] Flash API not supported for this target
#endif
#else

#include "utest/utest.h"
#include "utest/utest_serial.h"
Expand Down Expand Up @@ -328,3 +328,5 @@ int main()
{
Harness::run(specification);
}

#endif // !DEVICE_FLASH
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/lp_ticker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] Low power ticker not supported for this target
#endif
#else

using utest::v1::Case;

Expand Down Expand Up @@ -228,3 +228,5 @@ int main()
{
utest::v1::Harness::run(specification);
}

#endif // !DEVICE_LPTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/lp_timeout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] Low power timer not supported for this target
#endif
#else

#include "mbed.h"
#include "greentea-client/test_env.h"
Expand Down Expand Up @@ -93,3 +93,5 @@ int main()
{
Harness::run(specification);
}

#endif // !DEVICE_LPTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/lp_timer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -350,3 +350,5 @@ int main()
{
return !Harness::run(specification);
}

#endif // !DEVICE_LPTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/mem_trace/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#ifndef MBED_MEM_TRACING_ENABLED
#error [NOT_SUPPORTED] test not supported
#endif
#else

using utest::v1::Case;

Expand Down Expand Up @@ -427,3 +427,5 @@ int main()

return !utest::v1::Harness::run(specification);
}

#endif // MBED_MEM_TRACING_ENABLED
12 changes: 5 additions & 7 deletions TESTS/mbed_drivers/race_test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@
#include "SingletonPtr.h"
#include <stdio.h>

#ifdef MBED_RTOS_SINGLE_THREAD
#error [NOT_SUPPORTED] test not supported for single threaded enviroment
#endif

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#if defined(MBED_RTOS_SINGLE_THREAD) || !DEVICE_USTICKER
#error [NOT_SUPPORTED] Test not supported for single threaded enviroment. UsTicker need to be enabled for this test.
#else

using namespace utest::v1;

Expand Down Expand Up @@ -135,3 +131,5 @@ int main()
{
Harness::run(specification);
}

#endif // defined(MBED_RTOS_SINGLE_THREAD) || !DEVICE_USTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/reset_reason/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
#if !DEVICE_RESET_REASON
#error [NOT_SUPPORTED] Reset reason API not supported for this target
#endif
#else

#include "greentea-client/test_env.h"
#include "unity/unity.h"
Expand Down Expand Up @@ -141,3 +141,5 @@ int main()
test_reset_reason(); // The result of this test suite is reported by the host side.
GREENTEA_TESTSUITE_RESULT(0); // Fail on any error.
}

#endif // !DEVICE_RESET_REASON
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/rtc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#if !DEVICE_RTC || !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -494,3 +494,5 @@ int main()
{
return !Harness::run(specification);
}

#endif // !DEVICE_RTC || !DEVICE_USTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/sleep_lock/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#if !DEVICE_SLEEP
#error [NOT_SUPPORTED] Sleep not supported for this target
#endif
#else

#include "utest/utest.h"
#include "unity/unity.h"
Expand Down Expand Up @@ -132,3 +132,5 @@ int main()
{
Harness::run(specification);
}

#endif // !DEVICE_SLEEP
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/ticker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

using utest::v1::Case;

Expand Down Expand Up @@ -354,3 +354,5 @@ int main()
{
utest::v1::Harness::run(specification);
}

#endif // !DEVICE_USTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/timeout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] usticker not supported for this target.
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -87,3 +87,5 @@ int main()
{
Harness::run(specification);
}

#endif // !DEVICE_USTICKER
3 changes: 2 additions & 1 deletion TESTS/mbed_drivers/timer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -789,3 +789,4 @@ int main()
return !Harness::run(specification);
}

#endif // !DEVICE_USTICKER
8 changes: 3 additions & 5 deletions TESTS/mbed_drivers/timerevent/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] usticker not supported for this target.
#endif
#else

#include "mbed.h"
#include "greentea-client/test_env.h"
Expand All @@ -27,10 +27,6 @@

using namespace utest::v1;

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif

#define TEST_DELAY_US 50000ULL
#define DELTA 2

Expand Down Expand Up @@ -246,3 +242,5 @@ int main()
{
return !Harness::run(specification);
}

#endif // !DEVICE_USTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_drivers/watchdog/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#endif
#else

#include "greentea-client/test_env.h"
#include "unity/unity.h"
Expand Down Expand Up @@ -282,3 +282,5 @@ int main()
// Harness will start with a test case index provided by host script.
return !Harness::run(specification);
}

#endif // !DEVICE_WATCHDOG
3 changes: 2 additions & 1 deletion TESTS/mbed_drivers/watchdog_reset/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#endif
#else

#include "greentea-client/test_env.h"
#include "utest/utest.h"
Expand Down Expand Up @@ -319,3 +319,4 @@ int main()
// Harness will start with a test case index provided by host script.
return !Harness::run(specification);
}
#endif // !DEVICE_WATCHDOG
3 changes: 2 additions & 1 deletion TESTS/mbed_hal/common_tickers/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern "C" {

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

#define US_PER_S 1000000

Expand Down Expand Up @@ -605,3 +605,4 @@ int main()
{
return !Harness::run(specification);
}
#endif // !DEVICE_USTICKER
10 changes: 4 additions & 6 deletions TESTS/mbed_hal/common_tickers_freq/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@
#include "hal/lp_ticker_api.h"
#include "hal/mbed_lp_ticker_wrapper.h"

#if defined(SKIP_TIME_DRIFT_TESTS)
#if defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif

#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#endif
#else

#define US_PER_S 1000000

Expand Down Expand Up @@ -208,3 +204,5 @@ int main()
{
Harness::run(specification);
}

#endif // defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_hal/crc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#if !DEVICE_CRC
#error [NOT_SUPPORTED] CRC not supported for this target
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -280,3 +280,5 @@ int main()

Harness::run(specification);
}

#endif // !DEVICE_CRC
4 changes: 3 additions & 1 deletion TESTS/mbed_hal/flash/functional_tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#if !DEVICE_FLASH
#error [NOT_SUPPORTED] Flash API not supported for this target
#endif
#else

#include "utest/utest.h"
#include "unity/unity.h"
Expand Down Expand Up @@ -280,3 +280,5 @@ int main()
{
Harness::run(specification);
}

#endif !DEVICE_FLASH
4 changes: 3 additions & 1 deletion TESTS/mbed_hal/lp_ticker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] Low power timer not supported for this target
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -204,3 +204,5 @@ int main()
{
return !Harness::run(specification);
}

#endif // !DEVICE_LPTICKER
4 changes: 3 additions & 1 deletion TESTS/mbed_hal/mpu/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#if !DEVICE_MPU
#error [NOT_SUPPORTED] MPU API not supported for this target
#endif
#else

using namespace utest::v1;

Expand Down Expand Up @@ -197,3 +197,5 @@ int main()
{
Harness::run(specification);
}

#endif // !DEVICE_MPU
Loading