Commit Graph

18707 Commits (179a3b67b1d29ea08607ec413fd8af56ef96ca00)

Author SHA1 Message Date
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
Amanda Butler f60ac631d3 Copy edit lorawan_types.h
Copy edit for minor grammar nits and consistent tense across docs.
2018-09-11 15:04:48 +01:00
Kimmo Vaisanen ca2619b0e8 Lora: Improve description of callback methods
Users often use "show declaration" (or similar) in their IDE to see descriptions of callback
methods so the function descriptions should be placed close to function declaration itself.
2018-09-11 15:04:48 +01:00
adbridge 3fb5781af1 Update Mbed version block 2018-09-04 14:03:27 +01:00
Martin Kojtal dd91b90149
Merge pull request #7974 from sbutcher-arm/update-mbedtls
Update Mbed TLS to version 2.13.0
2018-09-04 08:22:19 +02:00
Martin Kojtal b20fd506c1
Merge pull request #7910 from AriParkkila/cell-test-attach
Cellular: Fix Greentea test for network attach
2018-09-04 08:20:38 +02:00
Martin Kojtal eb3cbb88b3
Merge pull request #7967 from juhaylinen/fix-esp8266-default-interface
ESP8266: Fix compilation error when default interface is enabled
2018-09-04 08:19:41 +02:00
Anna Bridge 4fb3aec84a
Merge pull request #7895 from kivaisan/remove_duplicate_linkcheckreq
Lora: Remove duplicate LinkCheckReq MAC command
2018-09-03 16:43:02 +01:00
Krzysztof Stachowiak 7d7b8d4a07 Disable the OFB cipher mode in Mbed TLS 2018-09-03 16:20:55 +01:00
Krzysztof Stachowiak f1d76691b6 Update to Mbed TLS 2.13.0 2018-09-03 16:20:46 +01:00
Anna Bridge 2efa4e4968
Merge pull request #7952 from offirko/offir-mbed-spif
Prevent sector-unaligned erase
2018-09-03 14:17:40 +01:00
Anna Bridge c2fdc0d972
Merge pull request #7423 from mprse/mutex_lock_assert
Fix issue #6872 - Mutex lock has possibility to fail at runtime (returning status flag)
2018-09-03 14:14:24 +01:00
Juha Ylinen 273f7c6fd6 ESP8266: Fix compilation error when default interface is enabled
Compile [  1.3%]: ESP8266Interface.cpp
[Error] ESP8266Interface.cpp@582,33: cannot declare static function inside another function
[Error] ESP8266Interface.cpp@583,13: cannot convert 'ESP8266Interface (*)()' to 'WiFiInterface*' in return
Failed to build library
2018-09-03 12:56:26 +03:00
Martin Kojtal 44925d8527
Merge pull request #7579 from u-blox/ublox_odin_driver_os_5_v3.0.0_rc1
Updated ODIN drivers to v3.0.0 RC1
2018-09-03 09:25:32 +02:00
Przemyslaw Stekiel fba9c4bc57 Address review comments.
Perform the following changes:
- change definition of `void Mutex::lock(void)` to `osStatus Mutex::lock(void)`.
- change definition of `void Mutex::unlock()` to `osStatus Mutex::unlock()`.
- use MBED_ERROR1 macro to check the lock/unlock operation status.
- add notes in the description of lock/unlock functions: "This function asserts status of the lock/unlock operation (will not return in case of failure). Use of the return value is deprecated, as the return is expected to become void in the future.".
- modify/add description of the return value.
- remove reference to Mbed 6.
- make `lock(millisec)` deprecated in favour of lock(), trylock() and trylock_for() functions.
2018-09-03 07:40:01 +02: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 3be076c196
Merge pull request #7099 from RonEld/platform_context_reference_count
Add reference counter for platform context
2018-09-02 20:47:19 -05:00
Cruz Monrreal e7c166ebc2
Merge pull request #7907 from anttiylitokola/coap_to_4.6.2
Update mbed-coap to version 4.6.2
2018-09-02 15:14:04 -05:00
Cruz Monrreal 48232be98e
Merge pull request #7872 from kjbracey-arm/thisthread
Add ThisThread namespace and deprecate static Thread methods
2018-09-02 15:10:18 -05:00
Cruz Monrreal 0edce1d3e6
Merge pull request #7683 from TomoYamanaka/Improve_LWIP
Renesas : Improve LWIP speed
2018-09-02 15:09:53 -05:00
Martin Kojtal e7b3c0d727
Merge pull request #7894 from jarvte/fix_cellular_unittests
Cellular: CellularDevice unittests fix initialization
2018-09-02 20:18:25 +02:00
Martin Kojtal c6e18f916b
Merge pull request #7426 from donatieng/nfc-spec
NFC APIs Design Specification
2018-09-02 16:04:13 +02:00
Martin Kojtal c7d6560571
Merge pull request #7806 from hasnainvirk/fix_for_cn470
LoRaWAN: Fixing Hard fault in CN470 PHY layer
2018-09-02 15:56:33 +02:00
Offir Kochalsky df36f0e757 Fixed PR review remarks 2018-09-02 11:02:17 +03:00
Ron Eldor a2531b5674 Fix build error on IAR
IAR fails to build when a variable is initialized with empty curly braces.
Added `{ { 0 } }` to fix that.
2018-09-02 10:48:31 +03:00
Offir Kochalsky b71db496ba Prevent sector-unaligned erase 2018-09-02 09:12:55 +03:00
Martin Kojtal 1eab0723ba
Merge pull request #7745 from OPpuolitaival/icetea
Icetea support
2018-09-02 07:19:22 +02:00
Cruz Monrreal 90ede7a0f0
Merge pull request #7814 from SeppoTakalo/connectivity-drivers
Connectivity drivers
2018-09-01 17:39:04 -05:00
Seppo Takalo 0456085567 Disable mesh networking on tests by default
Testing a mesh requires proper environment.
2018-09-01 12:40:42 -05:00