Skip to content

Release candidate for mbed-os-5.6.3 #5355

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 108 commits into from
Oct 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
4f772dd
Enable LPC1768 bootloader support
chrissnow Sep 5, 2017
2461d0c
Move CRP out of startup and into CRP.c so it can be conditionally com…
chrissnow Sep 5, 2017
224ac4d
Linker update for bootloader support
chrissnow Sep 5, 2017
e0c2ea2
Ensure CRP is set correctly for IAR, GCC and ARM
chrissnow Sep 5, 2017
1c5c0ad
Implement MBED_USED
chrissnow Sep 30, 2017
2b0ff32
Simplify CRP placement.
chrissnow Sep 30, 2017
8d71ca2
Added additional DAPLink version info for `mbed detect` command`
dhwalters423 Sep 11, 2017
11e6881
Changed DAPLink version to interface version.
dhwalters423 Sep 12, 2017
f730fe8
Removed get_mounted_details_txt from test_api.py Fixed minor typos in…
dhwalters423 Sep 15, 2017
c99e1e4
Fixed mount_point example usage
dhwalters423 Sep 15, 2017
3c65f32
Edited get_interface_version info for clarity
dhwalters423 Sep 15, 2017
2a7bed2
Added in safety check if details_txt is None
dhwalters423 Sep 15, 2017
41f761e
Added safety check, added test converage for new function
dhwalters423 Sep 25, 2017
dcc4f1b
Removing unused imports/update copywright`
dhwalters423 Sep 25, 2017
d3af996
Increased test coverage / mocking of external modules
dhwalters423 Sep 29, 2017
9a5aa72
Minor copy edits, added comment
dhwalters423 Sep 29, 2017
a5f691d
Changed type => test_type
dhwalters423 Sep 29, 2017
7320e74
Allow exporters for NUCLEO_L486RG
adustm Sep 12, 2017
2b1597a
add quotation marks for compiler path
mgiaco Sep 26, 2017
98b247a
remove the first join
mgiaco Sep 27, 2017
fbb1849
Merging changes from ATParser towards parser unification
SenRamakri Sep 27, 2017
634bde3
Merging changes from ATParser got AT parser unification
SenRamakri Sep 27, 2017
06fa1db
Prevent use of deleted ticker in Ticker test
c1728p9 Oct 4, 2017
ae4ce86
HAL: ticker_api: Fix outdated comment
fkjagodzinski Sep 5, 2017
8c98769
Fixed ethernet multi-function pin
cyliangtw Aug 23, 2017
0ece4d0
Replace mktime/localtime with interrupt-safe version in rtc
ccli8 Sep 4, 2017
f7f1ed3
Refine sleep code
ccli8 Aug 29, 2017
921f9e1
Fix RTC macro function with no arguments in BSP
ccli8 Sep 4, 2017
cb10be0
Fix RTC hour error with AM/PM
ccli8 Sep 4, 2017
901fcba
Move target configuration from mbed_lib.json to targets.json
ccli8 Sep 13, 2017
f86f651
Change SW2/SW3 to SW1/SW2 to match target board
ccli8 Sep 13, 2017
dfe7859
Fix lp_ticker typo
ccli8 Sep 15, 2017
148e1e2
Fix lp_ticker wake-up is incorrectly disabled
ccli8 Sep 18, 2017
37bf8e3
Fix RTC hour error with AM/PM
ccli8 Sep 21, 2017
c32006f
Refine sleep code
ccli8 Sep 22, 2017
0bd4d5e
Remove dead power-down code with mbed OS 3
ccli8 Sep 22, 2017
05439e0
Implement functional Wifi tests
Sep 19, 2017
52b9716
Set timeout to 4 minutes.
Sep 19, 2017
6f118da
Update template mbed_app.json
Sep 22, 2017
b2a884d
Fix includes.
Sep 29, 2017
8cb7c14
Update help text
Oct 3, 2017
ee9d04e
Fix builds for targets without wifi or without mbed_app.json
Oct 3, 2017
1d82491
Add Doxygen documentation for testcases.
Oct 4, 2017
609cd3b
Add license texts
Oct 4, 2017
3b45287
Moved STDIO_UART defines to targets.json for UBLOX_EVK_ODIN_W2 instea…
Sep 25, 2017
10f94e9
rtl8195am - remove obsolete configs
tung7970 Sep 30, 2017
b235e0a
rtl8195am - fix ARMC6 guards
tung7970 Oct 2, 2017
f926eb4
Fix documentation of BLE GattCharacteristic
akosthekiss Oct 1, 2017
d1e46c1
fix echo test handshake and reduce uart load
studavekar Oct 8, 2017
006ca97
Enable crypto HW acceleration for STM32F437xG platforms (i.e. ublox C…
RobMeades Aug 14, 2017
1c376d6
Add test for Timer class.
mprse Aug 21, 2017
76deb7e
Sleep: Disallow sleep for targets turning of the systick clock at sle…
pan- Sep 13, 2017
a3ef05d
Fix typo in DELTA_DFBM_NQ620 target
pan- Sep 25, 2017
3e3b70e
NRF52840: add the device configuration STCLK_OFF_DURING_SLEEP
pan- Sep 28, 2017
1f258ce
Test: deepsleep() API replacement
0xc0170 Sep 20, 2017
075993e
fix bug: I2C timeout due the clos strething by slave on nRFx SoC
nvlsianpu Sep 25, 2017
25400d5
Avoid wait_ms() spin
kjbracey Sep 28, 2017
30e8e9d
Make poll() use wait(1) rather than yield()
kjbracey Oct 2, 2017
6e0cd31
Add Low Power Timer test.
mprse Sep 12, 2017
575c064
Fix analogin scaling for EFM32 target
Sep 29, 2017
4c40c24
Fix the prepare_branch function
adbridge Sep 27, 2017
4892b54
Move to using command strings rather than command lists.
adbridge Sep 29, 2017
0b5043e
Add bootloaderd support to NUCLEO_F446RE target
pavels Sep 30, 2017
3c3e280
Add profile argument to mbed-os example build tools to allow non-defa…
kegilbert Sep 1, 2017
10b7613
Remove -p as an argument flag for profile
kegilbert Oct 3, 2017
62b5b44
lwIP: Add memory configs to JSON
kjbracey Oct 10, 2017
d3f9dd3
Enable MPL by default for 6LoWPAN-ND.
Oct 4, 2017
215eddc
fix init struct analogout
bcostm Oct 5, 2017
9583fff
Add error if OS tickrate is changed
c1728p9 Oct 5, 2017
7f31c76
STM32 RTC: initializes structures
bcostm Oct 6, 2017
817cead
Initialize State variable
bcostm Oct 10, 2017
b33ad27
Updated u-blox ODIN-W2 binaries to 2.2 rc1
Oct 4, 2017
82b36f5
NUCLEO_F303K8: add ALT pins + cleanup
bcostm Oct 10, 2017
05433d3
NUCLEO_L031K6: add ALT pins + cleanup
bcostm Oct 9, 2017
84c8244
NUCLEO_L432KC: add ALT pins + cleanup
bcostm Oct 9, 2017
f47600c
NUCLEO_F042K6: add ALT pins + cleanup
bcostm Oct 10, 2017
4215a38
NUCLEO_L011K4: add ALT pins + cleanup
bcostm Oct 10, 2017
7cde58d
STM32: RTC: Call irq_handler whenever interrupt fires
LMESTM Oct 10, 2017
6f9a678
Update HeapBlockDevice example in header file to compile
kegilbert Oct 10, 2017
06bd529
Add erase to example
kegilbert Oct 10, 2017
b855fde
uVisor: Upgrade to v0.31.0
Oct 9, 2017
fceea7a
Add additional information on the block parameter in the HeapBlockDev…
kegilbert Oct 18, 2017
3ab2f85
Fix behaviour of empty .mbedignore
geky Oct 13, 2017
e56bb68
Remove debug print from memap IAR impl
theotherjimmy Oct 3, 2017
0ab1272
Basic test refactoring
maciejbocianski Oct 3, 2017
857f30b
added SILICA_SENSOR_NODE in target.json
Sep 13, 2017
2209e01
copy of L476RG target
Sep 13, 2017
54452b5
peripherals pins adaptation
Sep 13, 2017
2f4f0b8
copy of L476RG ld file
Sep 13, 2017
f44d0fb
modification to .ld to improve memory
Sep 13, 2017
eb0da90
added TARGET_STM32L476JG define in mbed_rtx.h
Sep 13, 2017
d98fc95
modified mesh_system.c to improve memory
Sep 13, 2017
12a5a2f
added clock_source for tests
Sep 13, 2017
4d4884d
setted pin USBTX and USBRX
Sep 13, 2017
6015ae0
added IAR export for STM32L476JG
Sep 13, 2017
dd1d294
fixed pin LEDs
Sep 29, 2017
c6f68b2
removed memory allocation
Oct 10, 2017
7a56873
enabled flash in-application-programming driver for k66f
Aug 23, 2017
f5850b0
add updates for bootloader support to K66F
Aug 24, 2017
9c125db
fix app start size in IAR linker for K66F
Sep 1, 2017
d812594
RTOS: RtosTimer: Improve API docs
fkjagodzinski Aug 21, 2017
910025f
Tests: RTOS: RtosTimer: Add tests
fkjagodzinski Aug 18, 2017
91f648c
Tests: RTOS: RtosTimer: Fix tests on debug profile
fkjagodzinski Sep 26, 2017
3cf6a09
rtl8195am - use TOOLCHAIN_PATHS to locate toolchain
tung7970 Sep 5, 2017
6adfa8f
Extends test set for EventFlags class
maciejbocianski Sep 12, 2017
c9e589c
Move heap_and_stack tests
maciejbocianski Oct 9, 2017
3e56f41
Remove redundant ISR test.
mprse Oct 17, 2017
730646d
Updated MBED versionning block for patch release
adbridge Oct 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions TESTS/mbed_drivers/echo/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@ using namespace utest::v1;
// Echo server (echo payload to host)
template<int N>
void test_case_echo_server_x() {
char _key[10] = {};
char _key[11] = {};
char _value[128] = {};
const int echo_count = N;
const char _key_const[] = "echo_count";
int expected_key = 1;

greentea_send_kv(_key_const, echo_count);
// Handshake with host
greentea_send_kv("echo_count", echo_count);
greentea_parse_kv(_key, _value, sizeof(_key), sizeof(_value));
do {
greentea_parse_kv(_key, _value, sizeof(_key), sizeof(_value));
expected_key = strcmp(_key_const, _key);
} while (expected_key);
TEST_ASSERT_EQUAL_INT(echo_count, atoi(_value));

for (int i=0; i < echo_count; ++i) {
Expand All @@ -48,12 +53,10 @@ utest::v1::status_t greentea_failure_handler(const Case *const source, const fai

Case cases[] = {
Case("Echo server: x16", test_case_echo_server_x<16>, greentea_failure_handler),
Case("Echo server: x32", test_case_echo_server_x<32>, greentea_failure_handler),
Case("Echo server: x64", test_case_echo_server_x<64>, greentea_failure_handler),
};

utest::v1::status_t greentea_test_setup(const size_t number_of_cases) {
GREENTEA_SETUP(180, "echo");
GREENTEA_SETUP(30, "echo");
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
7 changes: 6 additions & 1 deletion TESTS/mbed_drivers/lp_timeout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ void lp_timeout_1s_deepsleep(void)
*/
timer.start();
lpt.attach(&cb_done, 1);
deepsleep();
/* Make sure deepsleep is allowed, to go to deepsleep */
bool deep_sleep_allowed = sleep_manager_can_deep_sleep();
TEST_ASSERT_TRUE_MESSAGE(deep_sleep_allowed, "Deep sleep should be allowed");
sleep();
while (!complete);

/* It takes longer to wake up from deep sleep */
Expand All @@ -75,6 +78,8 @@ void lp_timeout_1s_sleep(void)

sleep_manager_lock_deep_sleep();
lpt.attach(&cb_done, 1);
bool deep_sleep_allowed = sleep_manager_can_deep_sleep();
TEST_ASSERT_FALSE_MESSAGE(deep_sleep_allowed, "Deep sleep should be disallowed");
sleep();
while (!complete);
sleep_manager_unlock_deep_sleep();
Expand Down
Loading