Commit Graph

486 Commits (01fee5fe498cc985e1fe7933516b84eee85f7219)

Author SHA1 Message Date
Amanda Butler d80cf82827 Edit DirHandle.h
Edit for active voice.
2018-11-02 19:49:51 -05:00
Amanda Butler 5f712f5e61 Fix typo in DirHandle.md
Add "s" for agreement.
2018-11-02 19:49:51 -05:00
Kevin Gilbert d6d6222f21 Move inline code snippets to code blocks 2018-11-02 19:49:51 -05:00
Senthil Ramakrishnan 20a842b8f8 Fix doxygen comments and spelling errors 2018-11-02 19:49:51 -05:00
adbridge 914a7e6919 Update Mbed version block 2018-10-19 11:47:12 +01:00
Amanda Butler 12c191aea5 Copy edit mbed_rtc_time.h
Copy edit existing text.
2018-10-19 11:46:55 +01:00
Kevin Gilbert 74018b573d funtion->function
Minor doxygen typo patch
2018-10-19 11:46:55 +01:00
kegilbert 8532efc2b2 Infered->Inferred Signiture->Signature 2018-10-19 11:46:55 +01:00
Kevin Gilbert 4e1d66ff6c locable->lockable
Minor doxygen comment typo patch
2018-10-19 11:46:55 +01:00
Kevin Gilbert e7f30ac4e3 Minor mbed_assert doxy typos patch 2018-10-19 11:46:55 +01:00
Kevin Gilbert 591b7a1d24 underlyng->underlying 2018-10-19 11:46:55 +01:00
Kevin Gilbert ab19a82041 Remove extra e in deepsleep 2018-10-19 11:46:55 +01:00
Jaakko Korhonen 92a4beff19 Added missing _mutex->unlock() to FileBase::lookup(). 2018-10-19 11:46:55 +01:00
Amanda Butler 71248e8769 Edit ATCmdParser.md
Make minor grammar and spelling edits.
2018-10-19 11:46:55 +01:00
deepikabhavnani 55a5e85aae Doc changes and rephrasing 2018-10-19 11:46:55 +01:00
Amanda Butler 60ab5d64ec Copy edit mbed_rtc_time.h
Copy edit existing text for U.S. spelling and consistent capitalization.
2018-10-19 11:46:55 +01:00
Kevin Gilbert d8c4d2c36b wich->which 2018-10-19 11:46:55 +01:00
deepikabhavnani 711c67303a Signature to track memory allocations by wrapper functions.
Compilers allocate some section of memory without using wrapper function,
which is later freed when wrappers were initialized. Since the allocated
memory didn;t contain wrapper header the pointer got corrupt when calling to free.

This implementation of signature addition during malloc and signature check during
free helps in freeing the memory allocated by wrapper functions properly and
also the internal memory allocated by compilers (without malloc wrappers).
2018-10-19 11:46:55 +01:00
Deepika 5df269b50a Alignment of 8 is not required for additional header
malloc guarantees aligned memory. If we add an alignment here, we are adding
additonal unused 4 bytes. Each allocator has its own 4/8 byte header
(GGC / ARM have 4 bytes).

So if user request for 8 bytes of memory stats will add 8 + allocator 8.
However if we remove the alignment in stats header, allocator will consider
add 4 bytes to 12 byte request and zero padding.

It will be beneficial to leave the padding to allocator.
2018-10-19 11:46:55 +01:00
Amanda Butler 437d4cfdf9 Edit mbed_stats.h
Capitalize ID for consistency.
2018-10-19 11:46:55 +01:00
Brian Daniels 6074252049 Updating stats doc comments 2018-10-19 11:46:55 +01:00
Amanda Butler f145945e46 Copy edit changes to mbed_mem_trace.h
Delete extra spaces.
2018-10-19 11:46:55 +01:00
Senthil Ramakrishnan 2ef7fec409 Adding doxygen comments for mem trace enum 2018-10-19 11:46:55 +01:00
Kevin Bracey 5878740c38 poll: Un-doxygen internal comment 2018-10-19 11:46:55 +01:00
Filip Jagodzinski 375f746413 HAL: SleepManager: Update header file
Move sleep manager API into its own doxygen group.
Add defined behavior section and links to tests.
2018-10-19 11:46:55 +01:00
Deepika 025af303ef Refactor circular buffer test to platform folder 2018-10-19 11:46:55 +01:00
Deepika add5b013a5 Replace modulo op with compare/reset op 2018-10-19 11:46:55 +01:00
adbridge 763f0f4107 Update Mbed version block 2018-10-08 15:29:20 +01:00
Russ Butler 964b77ce1e Rename device option STCLK_OFF_DURING_SLEEP
Rename STCLK_OFF_DURING_SLEEP to SYSTICK_CLK_OFF_DURING_SLEEP to avoid
confusion with the STmicroelectronics.
2018-10-08 15:29:18 +01:00
deepikabhavnani b858482ca9 Add `overhead_size` element to get the overhead of stats
Heap statistics are used for analysing heap stats, but it doesn't tell anything
about real heap usage or malloc overheads. Adding `overhead_size` element
will help users to get the real heap usage.
2018-10-08 15:18:50 +01:00
Przemyslaw Stekiel f9c91c1fd5 Fix for issue #8155 (NRF52832: time stops after 35 minutes)
Low power Timer is used as RTC for platforms that don't have HW RTC capabilities (like NRF52832).
`_rtc_lpticker_read(void)` function currently uses `Timer::read()` function to trace elapsed time.
`Timer::read()` returns seconds represented as `float` value, but this value is calculated from `int` since `Timer::read_us()` returns `int`.
This limits time tracing to ~35 min.
To fix this problem we will use `timer::read_high_resolution_us()` (which returns unsigned 64 bit value) instead of `Timer::read()`.
2018-10-08 15:18:50 +01:00
Tero Jääskö 353c4fd9b3 platform: error: fix bogus usage of memset()
Code had mixed up order of 'c' and 'n' arguments to memset().
Fix this.

Spotted-by: kjbracey-arm & a GCC profile without "-fno-builtin"

Related GCC warnings:
---8<---8<----
[Warning] mbed_error.c@123,5: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
[Warning] mbed_error.c@282,5: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
2018-10-08 15:18:50 +01:00
Russ Butler ddceb6597a Replace macros with config options
Add a config option for the following values:
MBED_SYS_STATS_ENABLED
MBED_STACK_STATS_ENABLED
MBED_CPU_STATS_ENABLED
MBED_HEAP_STATS_ENABLED
MBED_THREAD_STATS_ENABLED
MBED_CONF_APP_MAIN_STACK_SIZE
MBED_CONF_APP_TIMER_THREAD_STACK_SIZE
MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
MBED_CONF_APP_THREAD_STACK_SIZE

To maintain backwards compatibility inside the RTOS both
APP and RTOS config values can be used.
2018-10-08 15:18:50 +01:00
Thomas Kemmer 3db611cdef Clean up include paths. 2018-10-08 15:18:50 +01:00
Kevin Bracey 33d04b016d FileBase: Fix unsetting of default when destroyed
Code that should unset a FileBase from being the default when it is
destroyed was broken by a `==` instead of `=` typo.
2018-10-08 15:18:50 +01:00
TTornblom fb7c802a8c IAR: Fix for #7662, only massage the error decode URL for the IAR .xcl file. 2018-09-17 21:42:55 -05:00
adbridge 4599726f1f Update Mbed version block 2018-09-11 15:04:50 +01:00
Kevin Bracey b490de3224 Add special handling for "/default" filesystem
Allow a FileBase (normally a FileSystemLike) to be set as the default,
so it can be looked up as "/default" as well as its actual name.
2018-09-11 15:04:48 +01:00
adbridge 3fb5781af1 Update Mbed version block 2018-09-04 14:03:27 +01:00
Cruz Monrreal 83e0e65a42
Merge pull request #7726 from SenRamakri/sen_BLE_ErrorUpdate
Update BLE error calls to use new error codes and mbed_error
2018-09-02 20:47:40 -05:00
Cruz Monrreal f82feecc51
Merge pull request #7822 from donatieng/nfc-impl
Add initial NFC support to Mbed OS
2018-08-31 19:01:25 -05:00
Cruz Monrreal a849fa46df
Merge pull request #7662 from SenRamakri/sen_ErrorUrl
Add Error Decoding URL to error report
2018-08-31 18:27:30 -05:00
Cruz Monrreal 88eb8aab23
Merge pull request #7794 from c1728p9/boot_overhaul
Update Mbed 5 boot sequence
2018-08-30 10:22:15 -05:00
Senthil Ramakrishnan e84e56bc8d Add Error Decoding URL in error report 2018-08-30 12:19:59 +01:00
Vincent Coubard 913f219fc1 Span: Fix type used in is_convertible traits. 2018-08-29 19:42:46 +01:00
Cruz Monrreal 1b051c7687
Merge pull request #7402 from kegilbert/mem-tracing-config-patch
Replace mbed_mem_tracing_enabled macro with config option
2018-08-27 10:34:24 -05:00
Cruz Monrreal c12c69fef0
Merge pull request #7828 from pan-/span
Platform: Add C++ Span class.
2018-08-27 10:28:59 -05:00
Russ Butler ec19bf1de4 Allow early use of singleton lock
Allow singleton_lock and singleton_unlock to be called before the
RTOS has been started by checking for a valid mutex before locking
and unlocking it.
2018-08-26 12:59:57 -05:00
Cruz Monrreal 2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Vincent Coubard 9d1fd9983c Span: Fix documentation. 2018-08-24 17:51:58 +01:00