Commit Graph

19411 Commits (1e625e2a54ba6f62f9ab50e3037354e32b51ce40)

Author SHA1 Message Date
TomoYamanaka 9da1d4c975 Improve ARMCC linker script for Renesas boards
For Arm toolchain build, Mbed 2(classic) programs occur an unexpected error if there is "#include "mem_XXXX.h"" in the script file.
It seems that the linker script can't find the include file because "mem_XXXX.h" file is not in the same path with the linker script.
(Refer to Issue #6975.)
To address this issue, I remove inclusion processing and define the related macros at ARMCC linker script file.
2018-10-19 11:46:55 +01:00
ccli8 28538fb7ca Fix LED_GREEN naming error 2018-10-19 11:46:55 +01:00
Ron Eldor 78246e46d1 Change Mbed TLS platform error code and value
Change error from `MBEDTLS_PLATFORM_HW_FAILED` to
`MBEDTLS_PLATFORM_HW_ACCEL_FAILED` and the value to 0x70,
as the previous value cannot be used as a low level error code.
2018-10-19 11:46:55 +01:00
Yossi Levy cc09e069a0 Fixing unicode error in IAR compilation 2018-10-19 11:46:55 +01:00
Yossi Levy 4e019a646a Removing nvstore. adding back the option for configuration as in the external repo 2018-10-19 11:46:55 +01:00
Yossi Levy ca2076709d Fixing the order of component if more than one is included for a target. Revert deprecation of FlashIAPBlockDevice 2 argument constructor has this was a breaking change. This follows a similar change in the external flashiap-driver repo. 2018-10-19 11:46:55 +01:00
Sławek Piotrowski 50dd1eb950 Fix hard-fault when socket created using accept() is closed
When socket created  using accept() is closed by calling the close()
method, "delete this" is executed which triggers the destructor call
on TCPSocket which in turn calls close() once again. Because _stack
is already 0 this results in a hard-fault.

Add a check that skips the rest of the close() method is the _stack
is already 0.
2018-10-19 11:46:55 +01:00
Hasnain Virk 6404d94dce Making cancel_sending() API robust
If the packet is already handed over to the PHY layer, we shouldn't be
able to cancel that particular transmission. In addition to that if the
backoff timer is either not applied or has been deactivated, should end
up in no-op rather than having normal termination. A new error code has
been introduced to cover no-op cases. This error code replaces the
compliance test related error code which is no longer relevant.
clear_tx_pipe() does nothing if:
	- The stack cannot cancel TX (already handed over to PHY)
        - The backoff timer is not active at all
        - The event is disaptched to schedule

stop_sending() will only post process ongoin TX if the pipe was
definitely cleared.
2018-10-19 11:46:55 +01:00
kegilbert 5d795775da Remove protected members from doxy in Analog/Digital classes
- Add example snippets to Analog/Digital read/write overrides
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
Kevin Gilbert bf9931155a Remove protected class from EventQueue Doxy 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
Brian Esquilona 7b4d7a9110 Added bootloader bin license and config for DISCO_L475VG_IOT01A 2018-10-19 11:46:55 +01:00
TomoYamanaka 69595ddfc5 Improve frequency setting proc of Renesas SPI driver
If the specified frequency exceeds the upper limit and lower limit at SPI driver, an error is output, but this does not match policy with other renesas drivers. Thus I revises the processing as follows.
- If "hz" is maximum over, it is rounded by the maximum value.
- If "hz" is minimum under, it is rounded by the minimum value.
2018-10-19 11:46:55 +01:00
jeromecoutant e698722621 DISCO_F413ZH : explicit WIFI pins name 2018-10-19 11:46:55 +01:00
jeromecoutant c61bbdc1dd DISCO_F413ZH : set default Wifi module SPI state to inactive 2018-10-19 11:46:55 +01:00
mudassar-ublox 888ef5f6d8 error handling for socket create 2018-10-19 11:46:55 +01:00
Eman869 f427af229d Check LPUART clock source in STOP mode
Check LPUART clock source before enable it in STOP mode, only LSE could be enabled in STOP mode.
2018-10-19 11:46:55 +01:00
Jimmy Brisson abd5f21b73 Tools, memap: Silence warnings that we handled correctly
### Description

Memap will create a bunch of warnings about "Unknown object name" when
parsing a map file created for the RZ_A1H and the GR_Peach. Theses
warnings are sperious; the information in these sections does not belong
to an object file. This PR silences these warnings.

Fixes #6258

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-19 11:46:55 +01:00
Ganesh Ramachandran bdc63c81a0 Added usticker feature 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
Przemyslaw Stekiel 62c0b409e5 Fix for issue #8214
Change the base time value to more realistic:
START_TIME = 1537789823 # GMT: Monday, 24 September 2018 11:50:23

This fix has been proposed by STM in order to enhance test efficiency.
Current test version did not detect problem with RTC reset on F1 family boards since the base time was too small.
2018-10-19 11:46:55 +01:00
Mahesh Mahadevan 51fba0d9a0 MCUXpresso: Add Flash support for KL43Z, KL82Z, KW41Z, K22F
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-19 11:46:55 +01:00
Amanda Butler 2fbb66e4d9 Copy edit Timer.h
Copy edit existing text for minor grammar issues.
2018-10-19 11:46:55 +01:00
Naveen Kaje d612a1be00 Timer.h: Update comments 2018-10-19 11:46:55 +01:00
Naveen Kaje 9435179d16 Timer.h: Remove protected attributes from rendering on docs site 2018-10-19 11:46:55 +01:00
Amanda Butler 15f7b6f010 Edit DeviceKey.h
Standardize tense across documents, and edit some existing text for phrasing.
2018-10-19 11:46:55 +01:00
deepikabhavnani 14d776f79e Updated doxygen comments 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 9e7b67f778 Edit InterruptIn.h
Make minor grammar edits.
2018-10-19 11:46:55 +01:00
Naveen Kaje 01448df55a InterruptIn.h: Update comments 2018-10-19 11:46:55 +01:00
Naveen Kaje 7126f1e2b5 InterruptIn: Remove protected attributes from rendering on docs site 2018-10-19 11:46:55 +01:00
Amanda Butler 7200bb8918 Edit Ticker.h
Make minor copy edits to existing text.
2018-10-19 11:46:55 +01:00
Aashish chaddha 5f68d26950 improve ticker doc 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
deepikabhavnani 14d247c4c9 Correct the param descritions of QSPI 2018-10-19 11:46:55 +01:00
deepikabhavnani 20effcb67a Add QSPI header file in mbed.h 2018-10-19 11:46:55 +01:00
deepikabhavnani 88977dc245 QSPI: Remove protected member functions from rendering on docs site, but keep them in the code. 2018-10-19 11:46:55 +01:00
Kevin Gilbert 691061dc41 Fix minor typo 2018-10-19 11:46:55 +01:00
Amanda Butler 49989d3cb8 Edit Mutex.h
Make minor copy edits to existing text.
2018-10-19 11:46:55 +01:00
Aashish chaddha 60eb38e5ee mutex doc changes 2018-10-19 11:46:55 +01:00
Aashish chaddha 56f365eca6 improve mutex doc 2018-10-19 11:46:55 +01:00
Aashish chaddha ab1a397029 improve mutex doc 2018-10-19 11:46:55 +01:00
Aashish chaddha c03f3e567c fixed a mistake where I was adding "can not supprted" error at wrong place 2018-10-19 11:46:55 +01:00
Aashish chaddha 5c2ae7bca0 fix critical bug where I was hiding a lot more class members than i should. Add "CAN_NOT_SUPPORTED" guard to header instead of example 2018-10-19 11:46:55 +01:00