Commit Graph

11777 Commits (mbed-os-5.5)

Author SHA1 Message Date
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
Chris 9888d3c5fd Code tidy 2017-07-14 15:13:32 +01:00
Chris a880560977 Assembly based loop for timing test 2017-07-14 15:13:32 +01:00
Chris 9a6fb46846 Toolchain independent noinline 2017-07-14 15:13:32 +01:00
Chris e36c20ffda Fix timing issues found in "Flash - clock and cache test" ARMCC seemed to be inlining time_cpu_cycles() but with a different number of clock cycles in the loop, GCC worked fine. 2017-07-14 15:13:32 +01:00
Yuguo Zou 5ae8011857 Enable/Disable debug from argument of constructor 2017-07-14 15:13:32 +01:00
Yuguo Zou 54bf7d7bd5 mute wifi_conf messages 2017-07-14 15:13:32 +01:00
Yuguo Zou 51a7036e21 Update and mute debug messages from wifi 2017-07-14 15:13:32 +01:00
bcostm 6d0badf8f8 NUCLEO_F429ZI: comments corrections 2017-07-14 15:13:31 +01:00
bcostm 99f87ab93c DISCO_F429ZI: Typo correction 2017-07-14 15:13:31 +01:00
bcostm 1e8ba708f3 NUCLEO_F429ZI: Add alternate pins and enable all pins 2017-07-14 15:13:31 +01:00
bcostm be5ae8b409 DISCO_F429ZI: Typo corrections + add missing ALT pins 2017-07-14 15:13:31 +01:00
bcostm 4615906e4c DISCO_F429ZI: Add missing ADC alternate pins 2017-07-14 15:13:31 +01:00
bcostm 8a1821ec77 DISCO_F429ZI: Add alternate pins and enable all pins 2017-07-14 15:13:31 +01:00
bcostm 1554ea51af DISCO_F429ZI: Add 'Connected to' comment 2017-07-14 15:13:31 +01:00
Rob Meades f7c516a177 Increase PPP stack size from 512 bytes to 768 bytes.
PPP is running close to the edge of its default thread stack size of 512 bytes. When it experiences an FCS error on the incoming data (for example. caused by character loss when the incoming serial rate is too high for it to process in time) it performs some additional work which overruns the thread's stack, hitting the OS "stack underflow" check. Increasing the PPP stack size to 768 bytes resolves this problem.
2017-07-14 15:13:31 +01:00
Laurent MEUNIER b6a5448902 STM32: F4: Increase ADC sampling time
To get a valid VBAT measurement on F4 targets, it is required to increased
the sampling time to its maximum value.
2017-07-14 15:13:31 +01:00
Vincent Coubard 1d9712b424 Nordic: Fix multiple defined symbol.
The symbol Systick_Handler was defined as a weak symbol in us_ticker.c and
startup_nRF51822.s. While it work as expected when an application is compiled
from mbed OS source code it creates a duplicate symbol issue when mbed OS is
bundled as a library.
2017-07-14 15:13:31 +01:00
bcostm b1b419fc29 DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c 2017-07-14 15:13:31 +01:00
jeromecoutant 9a226ae2a4 STM32L0 : internal ADC channels 2017-07-14 15:13:31 +01:00
Laurent MEUNIER abfe8d1a0d STM32: serial: use proper GET_IT macro
Depending on families, different HAL macros are defined to check the
state of serial interrupts. In several cases, we can find only 1 macro:
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt has occurred or not

But in F0, F3, F7, L0, L4 there are 2 different macros
__HAL_UART_GET_IT
Checks whether the specified UART interrupt has occurred or not
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt source is enabled.

In the later case, __HAL_UART_GET_IT_SOURCE was being used so far,
but actually needs to be replaced by __HAL_UART_GET_IT. Using the right
macro, we also check the proper flags accordingly.
2017-07-14 15:13:31 +01:00
Vincent Coubard 43c67f448c NRF52832: Extend idle thread stack size to 512 bytes.
Fix a crash where the idle thread stack size overflows. This crash
was depending on the compiler and standard library used.
2017-07-14 15:13:31 +01:00
Yuguo Zou d4c2f311a7 Remove unused headfile
This shall prevent confusion
2017-07-14 15:13:31 +01:00
Martin Kojtal e97380913c tools: fix toolchain extend inc paths
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-14 15:13:31 +01:00
andreas.larsson 3d0f789d86 Set LED4 the same as LED3 to get tests-mbedmicro-rtos-mbed-timer to pass. If set to NC the test will assert. 2017-07-14 15:13:31 +01:00
Christopher Haster b92b4232da fatfs: Added full support for multiple fs volume prefixes
This is only an issue when multiple fatfss are used simultaneously.
Repeated use of a single fatfs instance (even with different storages)
do not show this issue.

Full support requires path prefixes being applied for every function
that takes a path. Note: this is only required filesystems after the
first mounted filesystem. The first filesystem has no penalty.
2017-07-14 15:13:31 +01:00
Fahrzin Hemmati 844ba85090 do while -> while 2017-07-14 15:13:31 +01:00
Fahrzin Hemmati f1dd96b14b Fix add -> adds typo 2017-07-14 15:13:31 +01:00