Commit Graph

11554 Commits (d4d7dad045a6322b33aa2628e703e41f6e5440f4)

Author SHA1 Message Date
Adrien Chardon 2939ce067a BLE/GattCharacteristic: Add explanatory note for a parameter 2017-07-28 14:46:15 +01:00
Adrien Chardon 74982846b1 BLE/HRS: Fix #4661 2017-07-28 14:46:15 +01:00
andreas.larsson 11c34533e9 Remove redundant ODIN-W2 target folder 2017-07-28 14:46:15 +01:00
justinkim c66763ca84 Unsupported RTC delete rtc_api.c -> PWM3 pin enable 2017-07-28 14:46:15 +01:00
Rob Meades 5c4178ef03 UBLOX_C030: correct UART 3 Tx & Rx pins (they were the wrong way around) and add the flow control lines for UART 3. 2017-07-28 14:46:15 +01:00
Jimmy Brisson f7ad960cad Correct DAC pin assignment 2017-07-28 14:46:15 +01:00
Christopher Haster 72d812d8c5 Toolchain: Added a note about weak functions and header files
The subtlety of where to mark functions as weak created an issue for
at least one user, so added a warning in the documentation.
2017-07-28 14:46:15 +01:00
Jimmy Brisson 294beb181e Prevent double define in very old builds
Partially reverts 2ddf4b33cb
2017-07-28 14:46:15 +01:00
mattot01 8678209abd Enable greentea testing on CM3DS_MPS2 target
Set copy_method and reset_method in targets.json which is needed for
htrun.
2017-07-28 14:46:15 +01:00
bcostm 1015105b24 STM: cleanup mbed_rtx.h file 2017-07-28 14:46:14 +01:00
Bartek Szatkowski ec3e8c6d6e RTOS: Semaphore: Improve API docs 2017-07-28 14:46:14 +01:00
Bartek Szatkowski 05f5147ce7 Test: RTOS: Semaphore: Rework tests 2017-07-28 14:46:14 +01:00
Laurent MEUNIER 933d7b55b3 Fix alignement 2017-07-28 14:46:14 +01:00
Laurent MEUNIER 7384257bfc STM32: Store and restore rising falling config of gpio_irq
Now that rising / falling edge detection is disabled in the
gpio_irq_disable function, we also need to restore it when gpio_irq_enable
gets called.
2017-07-28 14:46:14 +01:00
Laurent MEUNIER f939edc323 STM32: Raise error in case of spurious interrupt
In case we've run through the entire GPIOs loop, withouth finding a
matching interrupt, we're in the case of a spurious interrupt, let's
raise an error to track it down.
2017-07-28 14:46:14 +01:00
Laurent MEUNIER b9a4ae2d04 STM32 Fuly disable GPIO irq settings
When disabling GPIO irq, also the falling / rising edge settings need
to be reset (EXTI_RTSR and EXTI_FTSR registers).

If not reset, the same EXTI line can be later enabled again with a wrong
Rising / Falling configuration. This was especially seen and reported in
ci-test tests-api-interruptin on NUCLEO_F446RE target where DIO2=PA_10 and
DIO6=PB_10 were successively tested: as they are sharing the same EXTI_LINE
(EXTI_10), this resulted in calling the irq_handler with wrong
IRQ_FALL/IRQ_RAISE parameter and donothing being called in loop.
2017-07-28 14:46:14 +01:00
Brad Perry 5c74203b10 Fixing the problem where the CAN is initialized to the wrong frequency at startup regardless of the value set in the constructor. Issue #3863 2017-07-28 14:46:14 +01:00
Chris 901246173f Tidy from rebase 2017-07-28 14:46:14 +01:00
Chris c8b0692fbb Code tidy 2017-07-28 14:46:14 +01:00
Chris 8c3a5fd17b Incorrect comments removed. 2017-07-28 14:46:13 +01:00
Chris a2852e7b91 GCC Bootloader support 2017-07-28 14:46:13 +01:00
Chris adb6246336 IAR Bootloader support 2017-07-28 14:46:13 +01:00
Chris b5ce1d2325 uArm Bootloader support 2017-07-28 14:46:13 +01:00
Chris 9ee4ab49e7 Formatting tidy up. 2017-07-28 14:46:13 +01:00
Chris df779909e1 added missing FLASH_FLAG_OPTVERR 2017-07-28 14:46:13 +01:00
Chris db5f6790fe clear additional flags on erase to prevent errors 2017-07-28 14:46:13 +01:00
Chris 4b4c70fdcd GCC_ARM VTOR fixed, doesnt fit in the bootloader region though.. 2017-07-28 14:46:13 +01:00
Chris 229e19f4be VTOR bootloader aware Attempt to add flash API but not working properly 2017-07-28 14:46:13 +01:00
Chris 7e1ce93f3d added flash algorithm 2017-07-28 14:46:13 +01:00
Chris 5e23ff2809 initial commit of xDot bootloader 2017-07-28 14:46:12 +01:00
Bartek Szatkowski 36d28e8de2 RTOS: Thread: Rework and extend test suite 2017-07-28 14:46:12 +01:00
Bartek Szatkowski ccc757847b RTOS: Thread: Update thread state docs 2017-07-28 14:46:12 +01:00
Bartek Szatkowski 8b3a6d6fd1 RTOS: Thread: Fix how free stack is calculated 2017-07-28 14:46:12 +01:00
Bartek Szatkowski c6ebb108e6 RTOS: Thread: Fix return value for signal_wait
Signal wait was always returning success even in case of error.
2017-07-28 14:46:12 +01:00
Bartek Szatkowski 66072996c4 RTOS: Thread: Update docs; make singal_clr static as it's affects running thread 2017-07-28 14:46:12 +01:00
Martin Kojtal ed9d1da9dd Merge pull request #4760 from ARMmbed/release-candidate
Release candidate for mbed-os-5.5.3
2017-07-17 13:21:06 +01:00
Martin Kojtal 364f4a3478 ncs36510: us ticker improvements
Do not ticker read in ISR, use reminder to schedule the next interrupt, this should make ticker much faster.

read - disable Timer0 while reading it, if ISR is pending just reread the time again via read() function

These 2 improvements should decrease time spent when reading/scheduling ticker
events.
2017-07-16 10:38:55 +01:00
adustm 47b81255c6 Replase CMSIS flash driver by SDK flash driver 2017-07-14 15:51:14 +01:00
adustm 03aa77a700 Allow UBLOX to use SDK flash driver 2017-07-14 15:49:07 +01:00
adustm 0b9855ebc7 Rebase: 0d1c6c2d34
This commit completely rewrote flash_api.c in a few places so kicked out changes from Master and accepted the branch changes.

F429 + F439 : changes after code review
GetSector has been rewritten
2017-07-14 15:48:51 +01:00
adustm 5b0dbbd780 Rebase of: dfd0cf63e9
fix STM32F439 flash HAL
2017-07-14 15:47:57 +01:00
adustm 5ea3730ed2 Rebase of: cb3907ef70
typo in flash_s struct
2017-07-14 15:43:56 +01:00
adbridge 6d5e15b73a Updated MBED versionning block for patch release 2017-07-14 15:13:33 +01:00
Jimmy Brisson 38e258c641 Allow custom_targets.json exporting 2017-07-14 15:13:32 +01:00
Jimmy Brisson fde073c3dc Generate exporter suppored lists when needed 2017-07-14 15:13:32 +01:00
Andrzej Puzdrowski f94ce228a7 nrf5 spi_api - coding style enhancement 2017-07-14 15:13:32 +01:00
Andrzej Puzdrowski 113b902e8e Bugfix: #4357 simultaneous using of I2C and SPI.
Use serial-box of Nordic nRF5 SDK to share resource between
SPI and I2C.
SPI is allocated from highest hw instance number resource in order
to allocate as many I2C instances as possible.
2017-07-14 15:13:32 +01:00
Kari 7559f1822e - Adjust lowpan ND interface connect timeout
Device needs to wait for connectivity:
-routers will create new network and get local connectivity
-end device will get connectivity once attached to existing network
-devices without network settings gets connectivity once
 commissioned and attached to network

Signed-off-by: Kari <kari.haapalehto@arm.com>
2017-07-14 15:13:32 +01:00
Christopher Haster 94aea467c9 fatfs: Fix unaligned access in disk_ioctl
Unlike the other disk_ioctl options, GET_SECTOR_SIZE is interpreted
as a 16-bit WORD, instead of a 32-bit DWORD. This caused an unaligned
access error on M0 platforms.
2017-07-14 15:13:32 +01:00
Chris a35baf2171 Remove volatile 2017-07-14 15:13:32 +01:00