Cruz Monrreal
527f9a12fd
Merge pull request #6983 from SenRamakri/sen_ErrorHandling_Push2
...
Standardized Error Handling and Error Codes
2018-05-24 10:57:00 -05:00
Kevin Bracey
13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
...
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
deepikabhavnani
ea356a6e8c
Increased wait time to allow device to sleep
...
With small wait time at the start, chances are that device does not
enter sleep and idle time is zero. Increasing wait time to make sure
device goes to sleep.
2018-05-23 15:06:17 -05:00
Senthil Ramakrishnan
5ef6728c08
Splitting MBED_ERROR macros to support ones with/without error value argument
2018-05-23 12:21:28 -05:00
Senthil Ramakrishnan
693a6c40bb
Refactor error reporting
2018-05-23 12:21:11 -05:00
Senthil Ramakrishnan
d4fe75731d
Adding mbed prefixes to all macros and functions to avoid namespace conflicts
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
147d9cac4e
Test application/cases optimization for some low memory targets, macro changes and test fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
f9c25612ae
Fix test failures when trap errors are enabled and other fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
cbfc06577b
Fixes to align with naming conventions
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
92df68b1ea
Changed variable names for registers to avoid namespace conflicts, build fixes, macros and other fixes
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
2e28dd95e1
Change set_error/set_error_fatal to warning/error, add itm support and other changes
2018-05-23 12:21:08 -05:00
Senthil Ramakrishnan
839fef0ad1
Added more tests for error log and error reporting, updated doxygen comments
2018-05-23 12:21:07 -05:00
Senthil Ramakrishnan
9041b475c6
Error handling/logging implementation and tests
2018-05-23 12:21:07 -05:00
Asif Rizwan
657ac3f643
WIFI_EMAC class renamed to OdinWiFiEMAC, Formatting
...
Revert "in ODIN emac initialization required before connection"
2018-05-23 12:25:21 +03:00
Mika Leppänen
fd2c6ba12b
Removed EMAC get default instance from EMAC tests
...
Test environment now uses the EMAC defined by add ethernet interface.
2018-05-23 12:25:20 +03:00
Asif Rizwan
717abf20aa
in ODIN emac initialization required before connection
2018-05-23 12:25:19 +03:00
Michael Zhang
162a8c0a00
add-rtl8195am-feature-emac ( #6904 )
...
rtl8195am feature emac implementation.
2018-05-23 12:25:18 +03:00
Mika Leppänen
e481c5ef75
Added memory manager set to add_ethernet_interface() of test stack
...
This allows that EMAC memory manager can be used to allocate EMAC driver
memory already after the add_ethernet_interface() call.
2018-05-23 12:24:11 +03:00
Amanda Butler
26f369919b
Copy edit README.md
...
Copy edit changes to README.md, mostly for active voice, consistent tense across docs and style.
2018-05-23 12:24:08 +03:00
Mika Leppänen
026af3a72e
Updated emac greentea tests
...
- Improved markdown
- Set tests to fail if CTP echo server is not present
2018-05-23 12:24:08 +03:00
Mika Leppänen
d9a66f1c54
Updated non-blocking connect changes to EMAC greentea test server
2018-05-23 12:24:08 +03:00
Mika Leppänen
c1c69be10b
Made feature-emac changes to emac greentea tests default code
...
Removed flagging of the new/old code.
2018-05-23 12:24:05 +03:00
Mika Leppänen
7aebda7a0f
Emac greentea tests for feature-emac
2018-05-23 12:24:05 +03:00
Kevin Bracey
f584ac3b59
Connectivity test: don't create interface object twice
2018-05-23 12:24:00 +03:00
Martin Kojtal
5d027f4e27
Merge pull request #6857 from deepikabhavnani/cpu_stats
...
CPU Statistics
2018-05-22 14:30:21 +02:00
Cruz Monrreal
97b1615dcc
Merge pull request #6821 from deepikabhavnani/system_stats
...
System stats - API addition
2018-05-21 10:16:59 -05:00
Cruz Monrreal
86d04d7b15
Merge pull request #6901 from kivaisan/eventqueue_time_left
...
events: Introduce API to query how much time is left for delayed event
2018-05-21 10:12:13 -05:00
Kimmo Vaisanen
990da085d9
Introduce API to query how much time is left for delayed event
...
If user has initiated a delayed event (either with call_in or call_every),
user might need to know how much time is left until the event is
due to be dispatched.
Added time_left() function can be used to get the remaining time.
2018-05-18 12:55:06 +03:00
Deepika
25e2b8838a
Added additional read to care of lazyily initialized timer
2018-05-17 10:25:31 -05:00
Cruz Monrreal
77f5c4ac04
Merge pull request #6749 from AndrzejKurek/feature-mbedtls-platform-setup
...
Add platform setup and teardown calls to mbedtls tests
2018-05-17 10:08:44 -05:00
Deepika
7900863c4d
Updated test to not use event queue.
...
Test was failing on limited RAM devices, because of shared event queue size.
Updated test to use thread instead of event queue.
2018-05-16 14:26:08 -05:00
Deepika
029237b683
Addressed review comments
...
1. LP ticker limiation note
2. Use read_us in mbed_uptime function
3. Doxygen recommendations
4. Use us_timestamp_t instead uint64_t
5. Astyle changes
2018-05-15 11:36:08 -05:00
deepikabhavnani
3420ff7f9c
CPU statistics addition
...
API to get CPU stats like sleep/deepsleep time, uptime and idle time.
These can be used by application to know the CPU Usage runtime.
2018-05-15 11:20:52 -05:00
Deepika
1961428c1b
OS version added + CPUID for cortex-M only
...
CPUID base register is available for Cortex-M processors only.
Cortex-A devices have Main ID Register, which can be used in future to
get processor info.
2018-05-15 10:22:13 -05:00
deepikabhavnani
40021eb176
Added test for mbed_stats_sys_get() API
2018-05-15 10:17:44 -05:00
Cruz Monrreal
46c1e94fc5
Merge pull request #6795 from deepikabhavnani/thread_stats
...
Thread stats API
2018-05-15 10:08:05 -05:00
Cruz Monrreal
15ff9a8bf7
Merge pull request #6864 from davidsaada/david_flashiap_unaligned_src
...
FlashIAP: Fix problem of programming source buffer not aligned to 4
2018-05-14 10:35:38 -05:00
Cruz Monrreal
2104d8ab5b
Merge pull request #6711 from marcuschangarm/cleanup-nrf5x
...
Cleanup TARGET_NRF5 and TARGET_NRF5x
2018-05-11 19:15:05 -05:00
deepikabhavnani
97c88188d0
Cleanup
...
1. Enable watermark to get stack space information
2. Restructured code
3. Throw error if MBED_THREAD_STATS_ENABLED is not set
4. Astyle changes
2018-05-11 10:06:44 -05:00
deepikabhavnani
f43b16ffd9
Cleaup and review comments addressed
...
1. Removed prefix thread_ from all elements of mbed_stats_thread_t
2. #if conditions aligned to rest of the file
2018-05-11 10:05:35 -05:00
deepikabhavnani
bb8ccbd373
Checking difference in thread count + review comments
2018-05-11 10:05:33 -05:00
deepikabhavnani
1dad73949c
Thread statistics addition.
...
API to get all system threads information and states.
2018-05-11 10:05:32 -05:00
David Saada
9cdecf4d5a
FlashIAP: Fix problem of programming source buffer not aligned to uint32_t
2018-05-10 12:00:29 +03:00
Przemyslaw Stekiel
2ccc11f243
tests-mbed_drivers-rtc: Add one second tolerance in functional tests.
...
Currently test assumes that 1 sec is long enough to set RTC time and read same time which has been set.
In some cases extra time for synchronisation between clock domains is needed and after setting/reading operations the read value might be different than one which has been set (+1 sec).
Additionally in some cases when lp ticker is based on RTC, the RTC implementation may use mechanism to trace elapsed seconds without modifying RTC registers. In such case it is possible that second will change immediately after setting time.
Add 1 sec tolerance (min possible) for such checks.
2018-05-09 14:41:40 +02:00
Marcus Chang
1aebdcbee5
Reorganize TARGET_MCU_NRF51822_UNIFIED directories
...
The unified NRF51 target and feature BLE directories have been
reorganized to follow the naming and directory structure of the
NRF52 implementation.
This reorganization does not include TARGET_MCU_NRF51822 and
derived targets.
2018-05-08 10:10:01 -07:00
Andrzej Kurek
29515c589b
Update logs and remove unnecessary defines for Mbed TLS tests
2018-05-08 12:53:29 +01:00
deepikabhavnani
d43d9b134b
Moved stats test to platform folder
2018-05-01 14:03:31 -05:00
Marcus Chang
5910cd7546
Re-enable flash clock test for NRF52 but with higher tolerance
...
The flash clock test is disabled for the NRF52 series. This change
re-enables the test but with a higher tolerance to accommodate the
high jitter on the current ticker implementation.
2018-04-26 09:33:43 -07:00
Andrzej Kurek
1938faa449
Add platform setup and teardown calls to mbedtls tests
2018-04-26 08:23:33 +01:00
Martin Kojtal
675528b6c0
Merge pull request #6534 from c1728p9/rtos_suspend
...
Update idle loop to reduce calls to suspend
2018-04-25 13:21:47 +01:00