Commit Graph

13499 Commits (96d9a00d0a1d25095b330095fa81c40f7741777c)

Author SHA1 Message Date
Martin Kojtal 96d9a00d0a
Merge pull request #5841 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.3
2018-01-15 12:30:46 +00:00
adbridge fd07de4985 Update Mbed version block for patch release 2018-01-12 15:01:50 +00:00
Steven Cartmell dc807b632e Fix bug allowing I2C::abort_transfer to incorrectly unlock deep sleep mode
- Add flag to I2C class to track if the I2C instance has locked deep sleep mode.
- Wrap call to sleep_manager_lock_deep_sleep to only be called if I2C instance
  hasn't already locked deep sleep.
- Wrap call to sleep_manager_unlock_deep_sleep to only be called if I2C has
  currently locked deep sleep mode.
2018-01-12 15:01:49 +00:00
Steven Cartmell 27c5dfc44f Fix bug allowing SPI::abort_transfer to incorrectly unlock deep sleep mode
- Add flag to SPI class to track if the SPI instance has locked deep sleep mode.
- Wrap call to sleep_manager_lock_deep_sleep to only be called if SPI instance
  hasn't already locked deep sleep.
- Wrap call to sleep_manager_unlock_deep_sleep to only be called if SPI has
  currently locked deep sleep mode.
2018-01-12 15:01:49 +00:00
Vincent Coubard 4f331b6155 Nordic BLE: Fix stack event size
Read By group type response can return 4 descriptor discovered when the remote server have 4 descriptors with a 16 bit UUID. The handle, UUID pair get stored in a ble_gattc_desc_t that is 20 bytes long.

This PR increase buffer size to handle this use case.
2018-01-12 15:01:49 +00:00
Vincent Coubard 0fdd1080ed BLE: Implement Generic GattClient reset logic. 2018-01-12 15:01:49 +00:00
Vincent Coubard 6ab18b94b8 BLE: Align naming of GattClient procedure control blocks. 2018-01-12 15:01:49 +00:00
Vincent Coubard bab609fe2a BLE: Put generic gattclient procedures inside the GattClient class 2018-01-12 15:01:49 +00:00
Vincent Coubard 757a1f8cf5 Nordic BLE: Use SD API version rather than SDK define. 2018-01-12 15:01:49 +00:00
Vincent Coubard 18343e192a Nordic BLE: Fix PalGattClient for SDK v13. 2018-01-12 15:01:49 +00:00
Vincent Coubard 46f02764ba Nordic BLE: Simplification and clarification of pal client implementation. 2018-01-12 15:01:49 +00:00
Vincent Coubard 9686fcc30c BLE: Fix include dependency in UUID.h. 2018-01-12 15:01:49 +00:00
Vincent Coubard 33cbff4867 BLE: Address GattClient comments
* invalid namespace name documentation
* vocabulary
* typo
* Add constants to improve readability
* Fix abort usages
2018-01-12 15:01:49 +00:00
Vincent Coubard b6d40044fe BLE: Remove old client implementation. 2018-01-12 15:01:48 +00:00
Vincent Coubard 502bdf5038 BLE: Enable Generic client on Nordic targets. 2018-01-12 15:01:48 +00:00
Vincent Coubard f5ac72f6c0 BLE: Introduce pal client adaptation layer for nordic targets. 2018-01-12 15:01:48 +00:00
jeromecoutant 632f06d5ac STM32F0 : ST CUBE version update to V1.9.0
- Previous ST Cube version: V1.7.0
- CMSIS part update from 2.3.1 to 2.3.3
- HAL part update from 1.5.0 to 1.7.0
2018-01-12 15:01:48 +00:00
Chris Seymour 37fb081062 Simple typo fix in the README.md 2018-01-12 15:01:48 +00:00
Prashant Ravi 7b0f356487 Fixing changes as requested 2018-01-12 15:01:48 +00:00
Prashant Ravi 99e0ddf581 Commit to fix the Online compiler issue for ARM mbed-os on REALTEK_RTL8195AM 2018-01-12 15:01:48 +00:00
Christopher Haster b7cabdde04 littlefs: Fixed positive seek bounds checking
This bug was a result of an annoying corner case around intermingling
signed and unsigned offsets. The boundary check that prevents seeking
a file to a position before the file was preventing valid seeks with
positive offsets.

This corner case is a bit more complicated than it looks because the
offset is signed, while the size of the file is unsigned. Simply
casting both to signed or unsigned offsets won't handle large files.
2018-01-12 15:01:48 +00:00
Jimmy Brisson c8b353742f Assert that reduce depth works and parameterize over path sep 2018-01-12 15:01:48 +00:00
Jimmy Brisson 3bc1928106 Test gcc memap parser with compiler provided .o's 2018-01-12 15:01:48 +00:00
Jimmy Brisson be42b0d05d Test memap IAR for multiple arguments per line 2018-01-12 15:01:48 +00:00
Jimmy Brisson 70bb47fb64 Use non-scoped imports in memap 2018-01-12 15:01:48 +00:00
Jimmy Brisson 94f4fdc72b Correct Gcc builtin module naming 2018-01-12 15:01:48 +00:00
Jimmy Brisson a38aafe419 Rework parsing dispatch
Parsing dispatch now uses a metaclass as a Trait and a series of classes
that implement the trait for dispatching parsing. This structure gives
each parser it's own namespace, avoiding tacking on suffixes to each
attribute indicating which parser uses it.
2018-01-12 15:01:48 +00:00
Jimmy Brisson 6607c3b755 Format memap 2018-01-12 15:01:47 +00:00
Jimmy Brisson 2e5fd744e9 Use os.sep and os.join instead of string ops 2018-01-12 15:01:47 +00:00
Jimmy Brisson 50ceca76ce Handle multiple args per line in IAR cmd parser 2018-01-12 15:01:47 +00:00
jeromecoutant fd800caced STM32 : issue to exit deepsleep when RTC has not been initialized 2018-01-12 15:01:47 +00:00
Seppo Takalo f42db05e55 Add minimal debug info to release and develop profiles.
This allows minimal debugging and allows tools like
mbed-os-linker-report to work properly.

Because debugging info is kept in .elf file and not flashed to device
there is no side effects to flash sizes.
2018-01-12 15:01:47 +00:00
gorazd 4a2ace99d5 ff_lpc546xx: change led1 and led3 and p26 pins 2018-01-12 15:01:47 +00:00
gorazd f07c985707 ff_lpc546xx: add enet
fsl_phy.c/.h move to ../drivers to reuse it
lwip: add hardware_init.c
2018-01-12 15:01:47 +00:00
Adam Heinrich 1ca129ae54 NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2018-01-12 15:01:47 +00:00
ccli8 51087a9f50 Fix DMA input/output buffers are overlapped in AES alter. 2018-01-12 15:01:47 +00:00
ccli8 5938e6b73a Remove unnecessary H/W context clone functions in SHA alter. 2018-01-12 15:01:47 +00:00
ccli8 2caeb92b5f Fix context clone corner case in SHA alter.
As destination/source contexts are the same, we return immediately.
2018-01-12 15:01:47 +00:00
ccli8 fd650adcee Fix indefinite loop in SHA alter. 2018-01-12 15:01:47 +00:00
ccli8 0243435047 Remove duplicate configuration of CRPT->SHA_CTL/CRPT->HMAC_CTL in SHA alter. 2018-01-12 15:01:47 +00:00
ccli8 1fea286725 Guard from reordering DMA wait and post-wait for crypto modules 2018-01-12 15:01:47 +00:00
ccli8 e352fc48bd Use interrupt signal rather than polling to check operation completion in DES alter.
This is to be consistent with PRNG/AES.
2018-01-12 15:01:47 +00:00
ccli8 274a54eb8b Refine flow control code between crypto start and crypto ISR 2018-01-12 15:01:47 +00:00
ccli8 9374e43545 Add comment for crypto_zeroize 2018-01-12 15:01:47 +00:00
ccli8 c0fe23b1ef Refine code in SHA alter. 2018-01-12 15:01:46 +00:00
ccli8 da84f715bf Add memory barrier for DMA transfer in AES/DES alter. 2018-01-12 15:01:46 +00:00
ccli8 c8c980473a Call BSP driver rather than direct register access in DES alter. 2018-01-12 15:01:46 +00:00
ccli8 101892527f Update BSP crypto driver 2018-01-12 15:01:46 +00:00
ccli8 523ca0a7e4 Fix parameter check for TMODE/OPMODE in DES alter. 2018-01-12 15:01:46 +00:00
ccli8 acbc4e49ba Add parameter check for configuring DES registers in DES alter. 2018-01-12 15:01:46 +00:00