Commit Graph

18945 Commits (d9d506e1fa962675c4c0f8f24d46d1f94a55ddfa)

Author SHA1 Message Date
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
Seppo Takalo d39c5c58ae RF drivers need DEVICE_SPI 2018-09-01 12:40:42 -05:00
Seppo Takalo 4c105fc2d7 SDT64B is not Arduino FF. It does not define Arduino pins. 2018-09-01 12:40:38 -05:00
Seppo Takalo ab78c34345 Add dummy delay loop for ARMC6
This needs proper implementation later.
2018-09-01 12:37:46 -05:00
Seppo Takalo 3ab9c41983 WISE-1510 is not Arduino form factor 2018-09-01 12:37:46 -05:00
Seppo Takalo 50376154b4 Fix AT24MAC driver builds on targets that device SDA/SCL names
Some targets have SDA and SCL defined in public headers, breaking the
build of AT24MAC driver.
2018-09-01 12:37:46 -05:00
Seppo Takalo f81b728575 Remove unneeded .gitignore files 2018-09-01 12:37:46 -05:00
Seppo Takalo 1ef04796ee On KW24D and NCS36510 default to smaller Nanostack configuration
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Seppo Takalo fa8add4227 Remove components from RTOS-less build. 2018-09-01 12:37:45 -05:00
Seppo Takalo 9be7eabc4d Exclude components from Doxygen 2018-09-01 12:37:45 -05:00
Seppo Takalo 56dda01368 TEMPORARY Skip building of examples that rely on drivers. 2018-09-01 12:37:31 -05:00
Seppo Takalo fc5bf5986b Add ESP8266 driver v1.6 2018-09-01 12:36:28 -05:00
Seppo Takalo b5240db10d Add MCR20A RF driver v1.0.1 2018-09-01 12:36:27 -05:00