Commit Graph

18735 Commits (d88d19e620cfe245d03dd3065aaa49036a3c92be)

Author SHA1 Message Date
rklaassen d88d19e620 Added ARM Permissive Binary License to MTS bootloaders 2018-10-08 15:18:50 +01:00
jeromecoutant 98021cb47d STM32L4 : code cleanup in MSI SetSysClock 2018-10-08 15:18:50 +01:00
Seppo Takalo ce1ea568f2 Fix TCPSocket::accept()
This one was actually always return NULL, and unsted because we only
have tests with one device.

We will add the testcase for this soon
2018-10-08 15:18:50 +01:00
Jimmy Brisson 8c677fc9a1 SImplify linkerscirpt usage
Avoids assigning to things that we can't assign
2018-10-08 15:18:50 +01:00
Taiki 9f613512eb Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-10-08 15:18:50 +01:00
Mahesh Mahadevan 3f26ee0955 MIMXRT1050_EVK: Update SPI HAL driver
Use a different SDK API to write to the SPI Bus

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Anna Bridge 610e35ddc6
Merge pull request #8163 from ARMmbed/release-candidate
Release candidate for mbed-os-5.10.0-rc3
2018-09-18 10:34:35 +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
Olli-Pekka Puolitaival fd02bbb3dd Fix icetea run in case that user has different boards connected same time 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival 2ab73d2ae4 Fix tests 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival 653d191ed3 Include run_icetea unittests also in pytest run 2018-09-17 21:42:55 -05:00
kegilbert 2c6a42965e Allow storage doxy to build 2018-09-17 21:42:55 -05:00
Lari-Matias Orjala 5cc64844e7 fix coverage exclude paths on Windows 2018-09-17 21:42:55 -05:00
Jimmy Brisson 9c7e2b1911 requiremnts: Bump IceTea
### Description

Version 1.0.1 of IceTea required conflicting version of jsonschema and
a version of pyshark that required a native compiler on windows. Version
1.0.2 resoves these issues and a few more. This PR prevents users from
installing a version which we know is broken

@cmonr RC3 please :D

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-17 21:42:55 -05:00
Jimmy Brisson 6d5b70f39b `mbed dm`: Accept api key and host on the command line
### Description

`mbed dm` will now accept the Pelion Device Management API Key and
Host on the command line with the following switches:
 * `-a`, `--api-key` accepts the API Key
 * `-S` (note capitol), `--server-address` accepts the Host

 This is consistant with manifest tool parameters
 Resolves https://github.com/ARMmbed/mbed-cli/issues/745

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-17 21:42:55 -05:00
Jarno Lamsa 7d2d1dd301 Temporarily move SYNCHRONOUS_DNS_CACHE test to extended set until issues fixed with it 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival ded64729f7 Syncronize mbed-ls minimum version with icetea requirements 2018-09-17 21:42:55 -05:00
Seppo Takalo b1ebb42d6b Fix SocketAddress unittests
Add ip4tos() and stoip4() into unittests.
NOTE: Probably should have been stubbed but this way we can also
test these helper functions.
2018-09-17 21:42:55 -05:00
Brian Daniels c2f6de6dbe Moving all unit tests to use hyphenated test name 2018-09-17 21:42:55 -05:00
Brian Daniels fea947c78f Updating readme to use hyphens for unittest paths 2018-09-17 21:42:55 -05:00
Juha Ylinen 5a82c8b47a Fix TCPServer::accept()
Missing lock caused Mutex unlock failure
2018-09-17 21:42:55 -05:00
Jenny Plunkett a9a231899c Fix quotes around gcovr install command 2018-09-17 21:42:54 -05:00
Brendan Moran 3e13db4f55 Remove trailing reference to user.full_name 2018-09-17 21:42:54 -05:00
Brendan Moran 2a724f8102 BUGFIX: Remove account management API calls
Developer API keys don't have the privileges required to get information about their owners. To correct for this, remove user name reporting and use the API key `owner_id` directly.

Fixes: IOTAUTH-1686
2018-09-17 21:42:54 -05:00
Kari Haapalehto 64df5e4e19 Adjust STMF411xE IAR linker file to mbed-os memory needs. Stack size decreased and heap size increased. 2018-09-17 21:42:54 -05:00
Anna Bridge dd2d159796
Merge pull request #8083 from ARMmbed/release-candidate
Release candidate for mbed-os-5.10.0-rc2
2018-09-12 11:35:24 +01:00
adbridge 4599726f1f Update Mbed version block 2018-09-11 15:04:50 +01:00
Amanda Butler c48c8a6f9e Copy edit requested section of README.md
Copy edit for active voice, inclusion of articles and U.S. spelling.
2018-09-11 15:04:48 +01:00
Seppo Takalo 179a3b67b1 Add Socket test plan
I'm submitting a test plan for Mbed OS sockets, so that we have
reference that describes wanted behaviour, required test environment,
and priorities of test cases.

This servers as a both documentation and specification. It needs to live
with source code, as opposed to Handbook, because it will be extend, modified
and fixed for faster cycle than what should be done for Handbook.

Part of this document (How to run -section) will be submitted to Handbook
with links to this.
2018-09-11 15:04:48 +01:00
Russ Butler 256ba04261 Fix comparison warning on STM32L4 devices
Cast the pointer used in l4_retarget to uint32_t before comparing it
to fix the warning:
"comparison between pointer and integer"
2018-09-11 15:04:48 +01:00
Russ Butler 3c8e3ed126 Fix memory allocation on STM32L4 devices
Depending on initial size allocated on STM32L4 devices with
TWO_RAM_REGIONS  set a crash may occur. This is because there is a
mismatch between the size newlib is expecting and the size actually
returned by _sbrk. This is because the STM32L4 implementation of _sbrk
is performing alignment internally.

This patch fixes this problem by removing the code in __wrap__sbrk
which performs the alignment.
2018-09-11 15:04:48 +01:00
Jammu Kekkonen 564483eccf Fix memory reservation for Softdevice in NRF52_DK 2018-09-11 15:04:48 +01:00
toyowata 72f1ecb369 Fix typo 2018-09-11 15:04:48 +01:00
Maciej Bocianski 9bb0344712 fix example code in QSPI.h 2018-09-11 15:04:48 +01:00
Maciej Bocianski 862aa39edc DISCO_L475VG_IOT01A remove old QSPI pins 2018-09-11 15:04:48 +01:00
Simon Butcher df777805fe Update Mbed TLS version to 2.13.1 2018-09-11 15:04:48 +01:00
jeromecoutant 1caf262855 python scripts : table print with github policy 2018-09-11 15:04:48 +01:00
Maciej Bocianski ee03d83527 QSPI driver: API parameters fix 2018-09-11 15:04:48 +01:00
Antti Yli-Tokola 4fb4994563 Update mbed-coap to version 4.6.3
- Bug fix: Remove timed out blockwise message from resend queue. If blockwise message was timed out message was still kept in the resend queue which causes unnecessary reconnections on client side.
- Documentation: Document all the available macros.
2018-09-11 15:04:48 +01:00
Yossi Levy 0ec25146f5 Changes in PR #7774 of PinNames.h should be reverted. This commit reverts those files excpet for K82F and K64F which are left as an example 2018-09-11 15:04:48 +01:00
Jimmy Brisson f556151214 Update mbed-cli subcommand 2018-09-11 15:04:48 +01:00
Janne Kiiskila 87713d9eab IOTCORE-389 - bring back legacy alignment for Arm C6
Quite a few of the scatter files are not (yet) aligned to 8-byte
boundaries and therefore the removal of legacy alignment feature
(which is under deprecation warning, but it actually not YET
deprecated) broke quite a few builds to this error:

Error: L6244E: Exec region RW_IRAM1 address (0x200001ac) not aligned on a 8 byte boundary.

We must bring this option now back to fix the builds.

This option to ld (--legacyalign) can only be removed once all of
the scatter files have been fixed.
2018-09-11 15:04:48 +01:00
Lari-Matias Orjala 6835a5a06b fix mutex stub for unit tests 2018-09-11 15:04:48 +01:00
Kevin Bracey f1de1c33fd Make "/default" an alias - add real names too
Make the built-in FileSystem::get_default_instance() implementation
instantiate storage as "flash" or "sd", with "default" as an alias.

This will aid interworking between simple and advanced filesystem code
on various platforms. The expectation is that the names "sd" or "flash"
will be always available if the device is available and configured,
regardless of what "default" represents.
2018-09-11 15:04:48 +01:00
Kevin Bracey 8e6e5f07b9 Change default filesystem name to /default
"/fs" is a tautology - not a good name for the default filing system, as
whereever we use it, we know we're specifying a filing system. Rename to
"/default".
2018-09-11 15:04:48 +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
Christopher Haster b7b94b31de CRC: Removed assertion on NULL buffer
When length is zero, the buffer is not accessed. The CRC functions are used
inside several other layers where a 0-length buffer may have meanings in
different contexts and being able to pass 0-length NULL buffers to CRC as a
noop simplifies the code.
2018-09-11 15:04:48 +01:00
Deepika a0ad63b47e Use the same API name to add mbed CRC: lfs_crc 2018-09-11 15:04:48 +01:00
Deepika 8d31fc144e Use MbedCRC for LittleFS (0xEDB88320)
CRC used in LittleFS is Reversed ANSI, hence new polynomial added.
Reversed polynomials perform shift in reverse direction of standard
polynomial, and we do not have option to notify reverse shift to hardware.
Hence this option is available in software only.
2018-09-11 15:04:48 +01:00
paul-szczepanek-arm 37b34f661b fix reading from eeprom
added missing current op
2018-09-11 15:04:48 +01:00