Commit Graph

12625 Commits (3aa46e6af0e5f176cbfe147d1727bf16dc9472b9)

Author SHA1 Message Date
andreas.larsson 3b45287824 Moved STDIO_UART defines to targets.json for UBLOX_EVK_ODIN_W2 instead of hardcoded. 2017-10-20 16:18:27 +01:00
Seppo Takalo 609cd3bb88 Add license texts 2017-10-20 16:18:27 +01:00
Seppo Takalo 1d8249133d Add Doxygen documentation for testcases. 2017-10-20 16:18:27 +01:00
Seppo Takalo ee9d04e248 Fix builds for targets without wifi or without mbed_app.json 2017-10-20 16:18:27 +01:00
Seppo Takalo 8cb7c14f90 Update help text 2017-10-20 16:18:27 +01:00
Seppo Takalo b2a884dcec Fix includes.
Cannot include header file witin a function (without severe side effects)
2017-10-20 16:18:27 +01:00
Seppo Takalo 6f118da42c Update template mbed_app.json 2017-10-20 16:18:27 +01:00
Seppo Takalo 52b9716ad2 Set timeout to 4 minutes.
Wifi connections and scanning takes long time. 2 minutes might not be enough.
2017-10-20 16:18:27 +01:00
Seppo Takalo 05439e0a2e Implement functional Wifi tests
Implement 100% function coverage for WifiInterface as specified
in "Wifi test plan"
2017-10-20 16:18:27 +01:00
ccli8 0bd4d5e72c Remove dead power-down code with mbed OS 3
These power-down code are stale and would be superseded by sleep manager.
2017-10-20 16:18:27 +01:00
ccli8 c32006ff39 Refine sleep code
1. Remove stale code with mbed OS 3.
2. Remove check for busy peripherals unorganizedly. This would be supported by e.g. official sleep manager.
2017-10-20 16:18:27 +01:00
ccli8 37bf8e3c7d Fix RTC hour error with AM/PM 2017-10-20 16:18:27 +01:00
ccli8 148e1e2883 Fix lp_ticker wake-up is incorrectly disabled 2017-10-20 16:18:27 +01:00
ccli8 dfe78597a8 Fix lp_ticker typo 2017-10-20 16:18:27 +01:00
ccli8 f86f651226 Change SW2/SW3 to SW1/SW2 to match target board 2017-10-20 16:18:27 +01:00
ccli8 901fcba462 Move target configuration from mbed_lib.json to targets.json 2017-10-20 16:18:27 +01:00
ccli8 cb10be0a34 Fix RTC hour error with AM/PM 2017-10-20 16:18:27 +01:00
ccli8 921f9e18fc Fix RTC macro function with no arguments in BSP 2017-10-20 16:18:27 +01:00
ccli8 f7f1ed37ce Refine sleep code
1. Remove stale code with mbed OS 3.
2. Remove check for busy peripherals unorganizedly. This would be supported by e.g. official sleep manager.
2017-10-20 16:18:27 +01:00
ccli8 0ece4d02b0 Replace mktime/localtime with interrupt-safe version in rtc
The use of mktime was causing a fault when called in interrupt handler because on GCC it lock the mutex protecting the environment, To overcome this issue, this patch add dedicated routine to convert a time_t into a tm and vice versa.
In the process mktime has been optimized and is now an order of magnitude faster than the routines present in the C library.
2017-10-20 16:18:27 +01:00
cyliangtw 8c987698ad Fixed ethernet multi-function pin 2017-10-20 16:18:27 +01:00
Filip Jagodzinski ae4ce867f9 HAL: ticker_api: Fix outdated comment 2017-10-20 16:18:27 +01:00
Russ Butler 06fa1dbbef Prevent use of deleted ticker in Ticker test
In test_case_2x_callbacks two tickers are setup to repeatedly
reschedule each other. When these tickers are deleted this
rescheduling is still occurring and can lead to a deleted ticker
being scheduled.

When this happens the following error message is displayed:
Thread 0x0 error -6: Not allowed in ISR context

Note - this problem was not detected by CI since the test reported
the correct results back to the host test and only experienced this
error on tear down.

This problem can be reproduced on an nrf51 by first building the ticker
test with:
"mbed test -t GCC_ARM -m NRF51_DK -n tests-mbed_drivers-ticker
--compile -DMBED_TRAP_ERRORS_ENABLED=1
-DMBED_HEAP_STATS_ENABLED=1 -DMBED_STACK_STATS_ENABLED=1"

And then running testing with:
"mbed test -t GCC_ARM -m NRF51_DK -n tests-mbed_drivers-ticker --run"
2017-10-20 16:18:27 +01:00
Senthil Ramakrishnan 634bde35a1 Merging changes from ATParser got AT parser unification 2017-10-20 16:18:27 +01:00
Senthil Ramakrishnan fbb184988a Merging changes from ATParser towards parser unification 2017-10-20 16:18:27 +01:00
Mathias Giacomuzzi 98b247a963 remove the first join 2017-10-20 16:18:27 +01:00
Mathias Giacomuzzi 2b1597a007 add quotation marks for compiler path 2017-10-20 16:18:27 +01:00
adustm 7320e7411d Allow exporters for NUCLEO_L486RG 2017-10-20 16:18:27 +01:00
David Walters a5f691ddd4 Changed type => test_type 2017-10-20 16:18:27 +01:00
David Walters 9a5aa7237f Minor copy edits, added comment 2017-10-20 16:18:26 +01:00
David Walters d3af9964e1 Increased test coverage / mocking of external modules 2017-10-20 16:18:26 +01:00
David Walters dcc4f1bd76 Removing unused imports/update copywright` 2017-10-20 16:18:26 +01:00
David Walters 41f761e474 Added safety check, added test converage for new function 2017-10-20 16:18:26 +01:00
David Walters 2a7bed252e Added in safety check if details_txt is None 2017-10-20 16:18:26 +01:00
David Walters 3c65f323cd Edited get_interface_version info for clarity 2017-10-20 16:18:26 +01:00
David Walters c99e1e45e9 Fixed mount_point example usage 2017-10-20 16:18:26 +01:00
David Walters f730fe8117 Removed get_mounted_details_txt from test_api.py Fixed minor typos in test_api.py Added get_interface_version to detect_targets 2017-10-20 16:18:26 +01:00
David Walters 11e688136c Changed DAPLink version to interface version. 2017-10-20 16:18:26 +01:00
David Walters 8d71ca21c9 Added additional DAPLink version info for `mbed detect` command` 2017-10-20 16:18:26 +01:00
Chris Snow 2b0ff329d6 Simplify CRP placement. 2017-10-20 16:18:26 +01:00
Chris Snow 1c5c0adbac Implement MBED_USED 2017-10-20 16:18:26 +01:00
Chris Snow e0c2ea2876 Ensure CRP is set correctly for IAR, GCC and ARM
CRP value can be set through a macro in mbed_app such as
"macros": [
    "CRP=CRP_NONE"
]
2017-10-20 16:18:26 +01:00
Chris Snow 224ac4d453 Linker update for bootloader support 2017-10-20 16:18:26 +01:00
Chris Snow 2461d0c506 Move CRP out of startup and into CRP.c so it can be conditionally compiled 2017-10-20 16:18:26 +01:00
Chris Snow 4f772dd5c1 Enable LPC1768 bootloader support 2017-10-20 16:18:26 +01:00
Jimmy Brisson 6e0d01cd13 Merge pull request #5268 from ARMmbed/release-candidate
Release candidate for mbed-os-5.6.2
2017-10-06 16:27:22 -05:00
adbridge 5fda5bc76b Updated MBED versionning block for patch release 2017-10-06 14:12:49 +01:00
Christopher Haster da6e2e5e2a fs: Added in missing retarget definitions for ARM/IAR
- missing O_ flags
- missing S_IF flags
- missing system types
- missing stat structure
- exhaustive list of errno codes
2017-10-06 14:12:48 +01:00
Shrikant Tudavekar 795c0f1255 Add retry to handle git clone failure
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-06 14:12:48 +01:00
Martin Kojtal 1f5bc8eacc examples: remove eddystone ble examples
They are not part of the releases
2017-10-06 14:12:48 +01:00