Laurent MEUNIER
d67b431f17
I2C test: let slave time to get notified
...
depending on timing and HW, there might be some delay before the master
request gets notified, so better loop in while than a single call
to slave.receive()
2016-12-21 09:28:45 +01:00
Laurent MEUNIER
70667349ee
I2C test: change slave address
...
This avoids conflicts with slave on ci-test-shield
2016-12-21 09:28:39 +01:00
Laurent MEUNIER
20c9af8bec
STM32: I2C unitary functions for IP V2
...
STM32 supported targets have 2 possible versions of I2C.
This patch makes the start / stop / read and write byte work ok for IP V2.
This was not working before and does not seem to be widely used.
2016-12-21 09:27:52 +01:00
Anna Bridge
20eb127f80
Merge pull request #3460 from NXPmicro/I2C_UpdateReturnValue
...
KSDK I2C: Update the return value to match the API documentation change
2016-12-19 17:56:50 +00:00
Anna Bridge
1cc1891fac
Merge pull request #3450 from bridadan/fix_example_filtering
...
Correctly filtering examples in test script
2016-12-19 17:52:47 +00:00
Anna Bridge
f2ce7ebb99
Merge pull request #3442 from LMESTM/dev_stm_i2c_f1
...
Dev stm i2c f1
2016-12-19 17:51:58 +00:00
Anna Bridge
e182ff48b6
Merge pull request #3428 from LMESTM/fix_i2c_asynch_test_slave_addr
...
Change slave address in I2C master slave asynch test
2016-12-19 17:41:38 +00:00
Anna Bridge
9e03765d04
Merge pull request #3422 from szechyjs/disco_f303vc_can
...
Enable CAN on DISCO_F303VC
2016-12-19 17:37:48 +00:00
Anna Bridge
d1aa6eea52
Merge pull request #3410 from jeromecoutant/PR_ST_L4_ASSERT
...
STM32L4 : map ST HAL assert into MBED assert
2016-12-19 17:33:13 +00:00
Anna Bridge
3c84f49084
Merge pull request #3402 from geky/nsapi-fix-socket-close
...
nsapi - Fixed open/close issue in Socket
2016-12-19 17:25:09 +00:00
Anna Bridge
a915fa86e4
Merge pull request #3390 from jeromecoutant/PR_ST_F3_ASSERT
...
STM32F3 : map ST HAL assert into MBED assert
2016-12-19 17:24:26 +00:00
Anna Bridge
42389c1420
Merge pull request #3389 from jeromecoutant/PR_ST_F2_ASSERT
...
STM32F2 : map ST HAL assert into MBED assert
2016-12-19 17:23:37 +00:00
Anna Bridge
89190fd794
Merge pull request #3381 from jeromecoutant/PR_ST_F1_ASSERT
...
STM32F1 : map ST HAL assert into MBED assert
2016-12-19 17:22:54 +00:00
Anna Bridge
1219f8872d
Merge pull request #3430 from LMESTM/fix_ci_shield_eeprom_test
...
Fix ci shield eeprom test
2016-12-19 17:18:14 +00:00
Mahadevan Mahesh
8ec93ca4a4
KSDK I2C: Update the return value to match the API documentation change
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-16 13:16:03 -06:00
Laurent MEUNIER
580d96431e
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-16 08:54:39 +01:00
Laurent MEUNIER
8406a99dc8
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-16 08:54:39 +01:00
Laurent MEUNIER
37c94a03f0
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-16 08:54:39 +01:00
Laurent MEUNIER
c0ca0a7e2c
STM I2C - move i2c_read in SYNC part
...
just change the place of code to have i2c_read and i2c_write together
2016-12-16 08:54:39 +01:00
Brian Daniels
134d7743c3
Correctly filtering examples in test script.
...
If an example's GitHub repository contains multiple child examples, the
script was incorrectly filtering out all the child examples when
compiling and exporting. This patch now handles this case correctly.
2016-12-15 14:16:12 -06:00
Anna Bridge
315d893e83
Update README.md to link to the set of release notes
...
Instead of referencing a specific release version here, thus negating the need to update this readme for every minor release.
2016-12-15 18:13:35 +00:00
Sam Grove
899c5422ac
Merge pull request #3436 from ARMmbed/net_echo_test_host_fix
...
Fix network echo test host scripts for Mac
2016-12-15 10:40:39 -06:00
Sam Grove
6b64dbc5fe
Merge pull request #3434 from OpenNuvoton/nuvoton
...
[NUC472/M453] Fix stuck in lp_ticker_init and other updates
2016-12-15 10:38:35 -06:00
Sam Grove
19acef97ee
Merge pull request #3429 from LMESTM/fix_stm_i2c_fix_init
...
Fix stm i2c fix init
2016-12-15 10:35:13 -06:00
Sam Grove
45fa92dcb3
Merge pull request #3427 from LMESTM/fix_stm_i2c_slave
...
Fix stm i2c slave
2016-12-15 10:33:06 -06:00
Sam Grove
cf75543cfa
Merge pull request #3424 from bcostm/fix_dma_f4
...
STM32F4 - FIX to add the update of hdma->State variable
2016-12-15 10:32:22 -06:00
Sam Grove
8966d1584b
Merge pull request #3415 from bridadan/fix_make_echo
...
[make exporters] Adding quotes to echo statements
2016-12-15 10:31:34 -06:00
Sam Grove
92f2c380c7
Merge pull request #3414 from bridadan/remove_unnecessary_includes_libs
...
Remove unnecessary absolute paths from IAR and ARM compilers
2016-12-15 10:30:59 -06:00
Sam Grove
6849fd9c06
Merge pull request #3413 from theotherjimmy/iar-def-typo
...
Deduplicate IAR exporter templates and enable a few more targets
2016-12-15 10:30:22 -06:00
Sam Grove
4524c5f917
Merge pull request #3411 from jeromecoutant/PR_ST_L0_ASSERT
...
STM32L0 : map ST HAL assert into MBED assert
2016-12-15 10:30:03 -06:00
Sam Grove
4c2b84a865
Merge pull request #3408 from jeromecoutant/PR_ST_F7_ASSERT
...
STM32F7 : map ST HAL assert into MBED assert
2016-12-15 10:29:34 -06:00
Sam Grove
ea555e68a1
Merge pull request #3393 from andreaslarssonublox/ublox_fix_isr_reg_reeval
...
ISR register never re-evaluated in HAL_DMA_PollForTransfer for STM32F4
2016-12-15 10:28:30 -06:00
Sam Grove
18f31b7c99
Merge pull request #3385 from theotherjimmy/remove-flags-args
...
Remove deprecated flags args
2016-12-15 10:25:38 -06:00
Sam Grove
0a40444b76
Merge pull request #3379 from jeromecoutant/PR_ST_F0_ASSERT
...
STM32F0 : map ST HAL assert into MBED assert
2016-12-15 10:25:09 -06:00
Sam Grove
38411e917f
Merge pull request #3366 from bcostm/dev_nucleo_f412zg
...
NUCLEO_F412ZG - Add new platform
2016-12-15 10:19:51 -06:00
Sam Grove
c60f134c0c
Merge pull request #3348 from TomoYamanaka/master
...
Fix frequency function of CAN driver.
2016-12-15 10:18:23 -06:00
Anna Bridge
ad8a77d1ae
Merge pull request #3368 from simonqhughes/master
...
CFSTORE fixes for building with DEBUG trace enabled
2016-12-15 10:53:18 +00:00
Bartek Szatkowski
b77f663520
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-15 09:27:02 +00:00
Bartek Szatkowski
859c160ddc
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-15 09:27:02 +00:00
jeromecoutant
e1f4d69109
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-14 11:10:03 +01:00
jeromecoutant
2c5249b196
STM32L0 : refactor stm32l0xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-14 11:09:32 +01:00
Laurent MEUNIER
57eb4a0d1d
STM32 F1: move F1 to I2C common code
...
Now that F1 HAL has been updated to support required APIs,
the F1 family can also be moved to common code.
2016-12-14 08:36:30 +01:00
Laurent MEUNIER
e7cab5c8dc
[STM32] HAL F1: I2C fix btf / rxne cases
...
Applying the same fix as in L1 and F4.
This is an alignement to F4 HAL as the same IP is used.
2016-12-14 08:35:32 +01:00
Laurent MEUNIER
f88803b7fe
STM32 F1 HAL V1.0.5
...
This is a partial update of HAL drivers, especially for I2C driver update
2016-12-14 08:35:12 +01:00
cyliangtw
0053b70d1e
[NUC472] Fix LWIP implementation contains printf issue #3441
2016-12-14 15:12:58 +08:00
Jared Szechy
f941960d1c
Add alternative CAN pins to DISCO_F303VC
2016-12-13 11:20:22 -05:00
Laurent MEUNIER
77e202f064
STM32 I2C: use higher IRQ priority for slave vs. master
2016-12-13 11:59:12 +01:00
Martin Kojtal
aa6780d54b
Merge pull request #3416 from bridadan/rename_stm32f1_i2c_api
...
Renames i2c_api.c for STM32F1 targets to fix IAR exporter
2016-12-13 10:08:00 +01:00
cyliangtw
e4a5401b9b
[NUC472/M453] Fix GCC warnings
2016-12-13 15:41:41 +08:00
ccli8
64e27b2e3d
[NUC472/M453] Fix stuck in lp_ticker_init()
2016-12-13 11:10:51 +08:00