Laurent MEUNIER
c93eaf8b55
Change slave address in I2C master slave asynch test
...
Change test slave address to 0x80 because 0x90 is used by a real slave
(temperature sensor) on few boards like the CI shield.
2016-12-30 12:41:21 +00:00
Jared Szechy
ca10f72bf7
Add alternative CAN pins to DISCO_F303VC
2016-12-30 12:41:19 +00:00
Jared Szechy
dd43be868c
Add DISCO_F303VC to build_travis
2016-12-30 12:41:16 +00:00
Jared Szechy
613d552a21
Enable CAN on DISCO_F303VC
2016-12-30 12:41:14 +00:00
jeromecoutant
b8ddac0fbb
STM32L4 : correct ST HAL API call
...
- ll_utils: compilation issue
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:12 +00:00
jeromecoutant
3a6edfe7f1
STM32L4 : refactor stm32l4xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-30 12:41:10 +00:00
Christopher Haster
f9c886221c
nsapi - Fixed open/close issue in Socket
...
During open, the socket checked the internal stack variable,
assuming it would alway be null on a socket not connected to
the network. However, when a socket is closed, the stack variable
was not updated, causing the socket to incorrectly return a
parameter error if reopened.
The simple fix was to set the stack to null on close. A non-null
stack is a predicate for a non-null socket variable, so no additional
checks are needed in socket functions.
2016-12-30 12:41:08 +00:00
jeromecoutant
fae4f10678
STM32F3 : correct ST HAL API call
...
- CAN: compilation issue with assert enabled
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:06 +00:00
jeromecoutant
218d9c61a7
STM32F3 : map ST HAL assert into MBED assert
2016-12-30 12:41:03 +00:00
jeromecoutant
7bce9c78d3
STM32F2 : correct ST HAL API call
...
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:01 +00:00
jeromecoutant
23510b4152
STM32F2 : map ST HAL assert into MBED assert
2016-12-30 12:40:59 +00:00
jeromecoutant
605ceb5e1e
STM32F1 : correct ST HAL API call
...
- GPIO: mode was not allowed by ST HAL API
- PIN map: assert has highlighted an issue for pullup/pulldown setting
- RTC: year after 2000 was not taken into account
2016-12-30 12:40:57 +00:00
jeromecoutant
765095e33c
STM32F1 : map ST HAL assert into MBED assert
2016-12-30 12:40:55 +00:00
Laurent MEUNIER
e69cbf70bf
STM32 I2C: avoid timeout to be 0
...
In continuation of previous IsDeviceReady case, let's
add 1 in case length is 0 (even though not recommended)
2016-12-30 12:40:52 +00:00
Laurent MEUNIER
1fe00ca5c6
STM32 I2C manage STOP specific case
...
In case the user applicaiton makes a mixed usage of unitary function
(start, stop, byte write & read) with SYNC operation (write and read of
data buffers with start and stop management), we need to reset the
STM32 HAL state as it is by-passed by a direct call to STOP
2016-12-30 12:40:50 +00:00
Laurent MEUNIER
60aca8fdc0
STM I2C: manage Is Device Ready case
...
Some device drivers use a data lenght of 0 to check if device is ready.
STM32 HAL provides a dedicated service for that, so let's use it.
2016-12-30 12:40:48 +00:00
Laurent MEUNIER
4c56b1e24c
STM I2C - move i2c_read in SYNC part
...
just change the place of code to have i2c_read and i2c_write together
2016-12-30 12:40:46 +00:00
Martin Kojtal
0789928ee7
Merge pull request #3467 from ARMmbed/release-candidate
...
Release candidate for mbed-os-5.3.1
2016-12-20 13:31:12 +00:00
Anna Bridge
b0889daf32
Update MBED LIBRARY VERSION to 132 and update mbed-os 5 version macros
2016-12-19 14:57:23 +00:00
Anna Bridge
137fb4aba3
Manually patch: DELTA_DFBM_NQ620 default configuration #3298
2016-12-19 14:54:55 +00:00
Bartek Szatkowski
ee61f3db5f
Add defined port fallback for network echo tests
...
The 0 aka 'any' port doesn't for on Mac, but, only, using defined port
may interfere with running multiple tests on CI.
2016-12-19 14:40:07 +00:00
Bartek Szatkowski
f5b4966e3e
Fix network echo test host scripts for Mac
...
It seems that the 0 aka 'any port' doesn't work well on Mac, causing
[Errno 49] Can't assign requested address errors.
2016-12-19 14:40:05 +00:00
cyliangtw
ed4e3bb7f8
Fix LWIP implementation contains printf issue #3441
2016-12-19 14:40:04 +00:00
cyliangtw
9c5eb11087
Fix GCC warnings
2016-12-19 14:40:02 +00:00
ccli8
a6a2ecf0fa
Fix stuck in lp_ticker_init()
2016-12-19 14:40:00 +00:00
cyliangtw
e50c7af143
Resolve TRNG GCC warning
2016-12-19 14:39:59 +00:00
ccli8
db119c774c
Fix compile error for SHA-256 alternative on some condition
...
Also include non-issue refinement for SHA-1/SHA-256 alternatives.
2016-12-19 14:39:57 +00:00
ccli8
4fcb5058fc
Fix PWM clock error in BSP driver
2016-12-19 14:39:56 +00:00
ccli8
5510375dee
Change UART RTS/CTS to low level active
2016-12-19 14:39:54 +00:00
ccli8
acafdf8304
Fix serial async transfer failed as data with is 16/32
2016-12-19 14:39:52 +00:00
Laurent MEUNIER
cf1ea9cecc
STM32 I2C: differentiate HW reset and driver reset
...
Make a distinct i2c_reset function as defined in MBED HAL api,
from the i2C_hw_reset which simply drives the HW reset signals
2016-12-19 14:39:51 +00:00
Laurent MEUNIER
aec4f2dbb5
SMT32 I2C: initialize clock before configuring PINs
...
This is needed especially for F1 family but can apply to all.
2016-12-19 14:39:49 +00:00
Laurent MEUNIER
6906fbb4a6
STM32 I2C: Initialize hz parameter before reset
...
The hz value is used to compute timeouts,
and timeout are used in reset function, so the parameter needs to be
initialized to its default value before being used.
2016-12-19 14:39:48 +00:00
Laurent MEUNIER
151a9ef6c6
STM32 I2C: use higher IRQ priority for slave vs. master
2016-12-19 14:39:46 +00:00
Laurent MEUNIER
277503e4bb
STM32 I2C: restore slave address in case of reset
2016-12-19 14:39:45 +00:00
bcostm
6e94ec7dbe
FIX to add the update of hdma->State variable
2016-12-19 14:39:43 +00:00
Brian Daniels
996bf982ce
Adding quotes to echo statements
...
This fixes an issue when make is ran inside the Windows command prompt
2016-12-19 14:39:41 +00:00
Brian Daniels
df089b5fb8
Removing aboslute path to Dlib config for IAR compiler
...
This fixes an issue where the absolute path causes a file error if the
compiler paths are configured incorrectly. It uses a relative path
instead now (the files appears to be in the default search path).
2016-12-19 14:39:40 +00:00
Brian Daniels
d4a3ba8d5a
Removing extra paths for standard the library for the ARM compiler
2016-12-19 14:39:38 +00:00
Jimmy Brisson
77dccea512
Remove special case for RZ-A1H
2016-12-19 14:39:37 +00:00
Jimmy Brisson
1d19f37d25
Remove special case template for F746ZG
2016-12-19 14:39:34 +00:00
Jimmy Brisson
409be21997
Update IAR template and STM M7 part options
2016-12-19 14:39:31 +00:00
Jimmy Brisson
4476d03f96
Fix typo in IAR definitions
2016-12-19 14:39:29 +00:00
jeromecoutant
4a7316e786
STM32L0 : correct ST HAL API call
...
- RCC init: unused clock was enabled without any init parameters
- ADC: a parameter setting was missing
- GPIO: mode was not allowed by ST HAL API
- tick: init value was too high for 16b
2016-12-19 14:39:27 +00:00
jeromecoutant
0eb0121ba3
STM32L0 : refactor stm32l0xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-19 14:39:26 +00:00
jeromecoutant
9fb2a1820d
STM32F7 : correct ST HAL API call
...
- RCC init: unused clock was enabled without any init parameters
- RCC init: one PLL parameter was missing
- GPIO: mode was not allowed by ST HAL API
2016-12-19 14:39:24 +00:00
jeromecoutant
ebda4649d8
STM32F7 : refactor stm32f7xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-19 14:39:23 +00:00
andreas.larsson
d40c1837c9
Added tmpisr = regs->ISR; at the end of the while loop to re-evaluate the ISR value
2016-12-19 14:39:21 +00:00
Jimmy Brisson
333aad6191
Remove deprecated flags args
...
The tools will no longer accept `--cflags`, `--cppflags`, or
`--ldflags`. Instead, the ability to modify these flags is
provided by the `--profile` argument. Documentation for the
`--profile` argument may be found in
docs/Toolchain_Profiles.md
2016-12-19 14:39:19 +00:00
jeromecoutant
dc3252b61a
STM32F0 : correct ST HAL API call
...
- CAN: compilation issue with assert enabled
- ADC: init parameter was not allowed by ST HAL API
- GPIO: mode was not allowed by ST HAL API
2016-12-19 14:39:18 +00:00