Commit Graph

10371 Commits (162bbac5c809c5d77fbdfc4ba6e5c5aed73af1b2)

Author SHA1 Message Date
Jimmy Brisson 162bbac5c8 Fix Uvision supported check
Should now allow for generic targets
2017-06-06 15:59:40 +01:00
Mika Leppänen 4c4d0fa1e3 lwip corrected coverity and compiler warnings
Coverity ids: 1373147 and 1374442.
2017-06-06 15:59:40 +01:00
Mika Leppänen 6b071dcf97 lwip added support for random library and TCP ISN initialisation
lwip now uses mbed client random library under common pal when available.
Ported lwip reference TCP initial sequence number handling to mbed-os
lwip stack. Handling is based on RFC 6528.
2017-06-06 15:59:39 +01:00
Anna Bridge 5fff7e1dae Merge pull request #4356 from ARMmbed/release-candidate
Release candidate for mbed-os-5.4.6
2017-05-25 11:05:18 +01:00
Jimmy Brisson 3e7845950e Move duplicated NRF52 + MCU_NRF51822 files into NRF52 2017-05-24 13:55:37 +01:00
adbridge d62312b546 Update MBED_LIBRARY_VERSION to v143 2017-05-21 14:38:12 +01:00
Jimmy Brisson ffc1f39f3b Add static to NRF5 SDK11 macro definition 2017-05-21 14:38:11 +01:00
andreas.larsson 380832a1cf Updated ODIN driver binaries for v1.3 rc2 2017-05-21 14:38:11 +01:00
andreas.larsson ee050f3415 Refactored the driver class 2017-05-21 14:38:10 +01:00
andreas.larsson e2e927e61e Added BD_ADDR macros 2017-05-21 14:38:09 +01:00
andreas.larsson 7d8b57f807 Added quality of service functions 2017-05-21 14:38:09 +01:00
andreas.larsson cd7ffb1aa2 Added cbBSM_setStaticLinkKeyNvdsId 2017-05-21 14:38:09 +01:00
andreas.larsson ddb80e45ec Added cbHW_setSysTickMode 2017-05-21 14:38:09 +01:00
andreas.larsson f996c1b5d0 Added cbSTATUS_RECEIVE_DATA_MODE + macros 2017-05-21 14:38:08 +01:00
andreas.larsson 9fa4008fe3 Fixed startHandle type for cbGATT_addService 2017-05-21 14:38:08 +01:00
andreas.larsson 915befde6a Minor comment fixes 2017-05-21 14:38:08 +01:00
andreas.larsson fa2828e4a4 Moved stream interface to cb_cert_utils.h 2017-05-21 14:38:08 +01:00
andreas.larsson 6ec2b512c4 Moved stream interface to cb_cert_utils.h 2017-05-21 14:38:07 +01:00
Dave Desrochers 70b66e973a stm32f4xx: Revert #3424
According to @betzw, #3424 was put in for I2S with DMA.  However, the latest I2S library now works without this patch.

The changes in DMA HAL for this potentially introduced corner case
scenarios. So it's best to revert the DMA changes.
2017-05-21 14:38:07 +01:00
Christopher Haster 853cd42e1d Fixed timeout units in events timing test
A units mistake led to passing 20000 seconds instead of 20000 milliseconds
to greentea. The would cause the test to spin for 6 hours if it got stuck
anywhere.
2017-05-21 14:38:07 +01:00
Russ Butler 851273c150 Fix RAM vector table for NCS36510
Fix the ram address of the vector table on the NCS36510. Also reserve
space for it in the linker scripts.
2017-05-21 14:38:07 +01:00
Laurent MEUNIER 2654bfb18f STM32 SPI do not use a timeout for spi transfers
Default timeout of 10ms was reported as an issue in #4300

There seems to be conditions or use cases where the system is loaded with
higher priority tasks so that SPI transfer would be delayed more than 10ms.
Recommendation from MBED team is to not implement any timeout at all as
there is no defined API in MBED to inform application of error cases.
2017-05-21 14:38:06 +01:00
Yoshihiro TSUBOI 56348a78ae removed itself from extra_labels 2017-05-21 14:38:06 +01:00
Yoshihiro TSUBOI 1d5a4e66f1 platform added 2017-05-21 14:38:06 +01:00
Laurent MEUNIER 518510e122 Fixing Typo in MACRO 2017-05-21 14:38:05 +01:00
Laurent MEUNIER 2ff885fead STM32 F1: update state check in Serial after HAL update
The states definition in HAL have changed so F1 driver needs updates
accordingly (as done previously on other families)
2017-05-21 14:38:05 +01:00
Laurent MEUNIER f30cd34f56 STM32 remove usage of deprecated MACROs 2017-05-21 14:38:05 +01:00
Laurent MEUNIER 7026dfe228 Fix Typo in include file name 2017-05-21 14:38:04 +01:00
Laurent MEUNIER 9558958945 F1 CUBE V1.5.0
HAL V1.1.0
LL V1.1.0
CMSIS V4.2.0
2017-05-21 14:38:04 +01:00
Jimmy Brisson 3af9438baf Revome duplicate optimization flags in IAR export 2017-05-21 14:38:03 +01:00
Jimmy Brisson feeadd6eba Remove unsupported Coide exports
They simply would error with "template not found". Instead, lets just
disable them.
2017-05-21 14:38:03 +01:00
jeromecoutant 523356b8f6 STM32 NUCLEO boards with Ethernet connector: solve conflict with D11 arduino pin
If you are using Ethernet, and not SPI Arduino pins:
=> keep your board with the default configuration

If you are using SPI Arduino pins, and not Ethernet:
=> you should remove the JP6 bridge on the front side of the board

If you need SPI Arduino and Ethernet:
=> you have to patch the NUCLEO board on the back side: set solder bridge SB121 to off, and SB122 to on
=> D11 is no more connected to PA_7 but to PB_5
=> overwrite d11_configuration config value in json file
2017-05-21 14:38:03 +01:00
Andrzej Puzdrowski b7d81bebd5 NRF5: changes for code review of merg nrf52840 to NRF5 sources s140 headers renamed form ble_* to nrf_ble_*, Removed s130 and s132 headers named form ble_* (Them had been added by #2ff572682798562e812015dc775b5896e0fda5a4) Headers inclusinons were changed in order to meet above changes.
Revrted bad change in us_ticker.c:
use __disable_irq lock instead of core_util_critical_section_enter lock
for setting rtc1 tick for systick emulation as was good before.
2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski c1a9326e89 Fix compilation errors on linux machine 2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski 263457451d remove orphaned NRF5_SDK13 hal api driver 2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski a8f4d2a0f5 coding style format. 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski 053ccd023b Apply resloution for the "Read long UUID of service problem" according to NRFFOETT-1674. 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski ca20e33de9 Make NRF5 BLE implementation compatible with SoftDevice API 2.x.x,3.x.x,5.0.0-1.alpha by Copy of changes from features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5_SDK13/source to features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5/source 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski f6c4441765 HAL driver: Add changes from needad for nrf52840 support us_ticker, spi, sleep, serial, pwmout, pinmap, object, i2c, gpio, analogin
Add compatibility patches for:
- SoftDevice headers renamed (redirec by a few h files)
- sdk configuration (redirect by sdk_config.h files)
- renaming of func in softdevice handler module
2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski 4a9376a28d NORDIC: moving nRF52840 files to NRF5 "common" port. TARGET_NRF5_SDK13/sdk -> TARGET_NRF5/TARGET_SDK13 TARGET_NRF5/sdk -> TARGET_NRF5/TARGET_SDK11 TARGET_NRF5_SDK13/TARGET_MCU_NRF52840 -> TARGET_NRF5/TARGET_MCU_NRF52840 2017-05-21 14:38:00 +01:00
ccli8 3a9094140f Change comment for serial_getc/serial_putc 2017-05-21 14:37:59 +01:00
ccli8 a2a3dfdeea Fix serial error with sync/async calls interlaced
Serial implementation uses different vector handlers for sync/async calls respectively. The issue can be reproduced with the following flow:
1. Register sync mode callback with Serial.attach().
2. Sync call with Serial.putc()/getc().
3. Change to async call with Serial.write()/read().
4. Change back to sync call with Serial.putc()/getc().
Now, vector handller is still for async mode, not for sync mode.

To fix it:
1. Introduce internal function serial_enable_interrupt() for both sync/async vector handler enable/disable.
   Original HAL function serial_irq_set() is reduced to call it for sync mode vector handler enable/disable.
2. Introduce internal function serial_rollback_interrupt() to roll back sync mode vector handler at end of async transfer.
2017-05-21 14:37:59 +01:00
ccli8 0ef04ab07b Fix pwmout power-down condition 2017-05-21 14:37:59 +01:00
ccli8 77551a8931 Fix DMA channel over-allocate 2017-05-21 14:37:58 +01:00
justinkim 7280486af0 modify GCC_ARM startup code & mbed_rtx.h syntax error correct. 2017-05-21 14:37:58 +01:00
justinkim 056ba62eeb add to support gcc & iar 2017-05-21 14:37:58 +01:00
justinkim c8f26e92d7 delete dead code. -> gpio_irq_api.c modified coding style. -> pinmap.c 2017-05-21 14:37:58 +01:00
justinkim e92314d655 modified typo 2017-05-21 14:37:57 +01:00
justinkim b2f6fe00da Modified coding style of mbed. - deleted dead code - deleted test code 2017-05-21 14:37:57 +01:00
justinkim 0fe89f8580 Modifying the code to support mbed OS 5 -> add mbed_rtx.h Modifying the code for mbed ci shield test -> analogin_api.c, W7500x_adc.c, gpio_irq_api.c, W7500x_gpio.c Modifying the code for fix bug -> W7500x_uart.c(register control driver problem), W7500x_uart.h, pinmap.c(pullup, pulldown problem) 2017-05-21 14:37:57 +01:00