Jimmy Brisson
2481c468ce
Update IAR template and STM M7 part options
2016-12-12 15:00:05 -06:00
Laurent MEUNIER
36a0365d2d
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-12 17:33:14 +01:00
Laurent MEUNIER
63cd036d5b
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-12 14:54:36 +01:00
Laurent MEUNIER
6cdac88a1c
SMT32 I2C: initialize clock before configuring PINs
...
This is needed especially for F1 family but can apply to all.
2016-12-12 14:52:11 +01:00
Laurent MEUNIER
ee9c8acbe4
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-12 14:48:43 +01:00
Laurent MEUNIER
9895bcf130
STM32 I2C: restore slave address in case of reset
2016-12-12 14:44:37 +01:00
bcostm
fe73b43a0a
FIX to add the update of hdma->State variable
2016-12-12 10:43:25 +01:00
Jared Szechy
5fbfa53305
Add DISCO_F303VC to build_travis
2016-12-11 23:00:01 -05:00
Jared Szechy
f5f3dc8143
Enable CAN on DISCO_F303VC
2016-12-11 22:03:29 -05:00
Brian Daniels
6085905658
Renames i2c_api.c for STM32F1 targets to fix IAR exporter.
...
The IAR build system does not allow two files to have the same name.
This renames the i2c_api.c file for the STM32F1 family to
i2c_api_stm32f1.c to avoid this issue. The common i2c_api.c file shared
among all ST targets is not actually used for STM32F1 targets as it
protected with an #ifdef guard.
2016-12-09 12:47:17 -06:00
Brian Daniels
3975ff332d
Adding quotes to echo statements
...
This fixes an issue when make is ran inside the Windows command prompt
2016-12-09 12:41:07 -06:00
Jimmy Brisson
d9c8d1cdb8
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-09 12:08:52 -06:00
Brian Daniels
105a9b3ea6
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-09 12:02:55 -06:00
Jimmy Brisson
c638d2cdcb
Fix typo in IAR definitions
2016-12-09 11:41:11 -06:00
Brian Daniels
8f649493a3
Removing extra paths for standard the library for the ARM compiler
2016-12-09 11:29:36 -06:00
Martin Kojtal
ce9d2526f8
Merge pull request #3409 from jeromecoutant/PR_ST_L1_ASSERT
...
STM32L1 : map ST HAL assert into MBED assert
2016-12-09 15:38:21 +01:00
Martin Kojtal
e01366ce8f
Merge pull request #3399 from bcostm/fix_issue_3266
...
NUCLEO_F103RB - Add SERIAL_FC feature
2016-12-09 15:37:57 +01:00
Martin Kojtal
e00850dbc9
Merge pull request #3382 from kgills/max32620_serial_readable
...
[MAX32620] Fixing serial readable function.
2016-12-09 15:37:25 +01:00
Martin Kojtal
00696e623f
Merge pull request #3378 from NXPmicro/K66_ENET
...
K66F: Enable LWIP feature
2016-12-09 15:36:58 +01:00
Martin Kojtal
b13954c6b5
Merge pull request #3377 from LMESTM/fix_L152RE_Rcc_Config
...
STM32 NUCLEO-L152RE Update system core clock to 32MHz
2016-12-09 15:36:07 +01:00
Martin Kojtal
a3e41f246e
Merge pull request #3369 from adustm/disco_f469_newpins
...
Add CAN2 missing pins for connector CN12
2016-12-09 15:35:07 +01:00
Martin Kojtal
0e2d1cb671
Merge pull request #3362 from c1728p9/cortex_a_stack_bump
...
Increase stack size in malloc test for Cortex-A
2016-12-09 15:34:31 +01:00
Martin Kojtal
8f138fc27b
Merge pull request #3355 from sarahmarshy/iar-no-cmsis
...
IAR export will not fail in the absence of a CMSIS pack
2016-12-09 15:33:33 +01:00
Martin Kojtal
89b56d6b3d
Merge pull request #3347 from jamike/USB_4_GCC_IAR
...
USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed)
2016-12-09 15:33:05 +01:00
Martin Kojtal
9da9166691
Merge pull request #3331 from theotherjimmy/enable-exporters-examples
...
Enabled example export building for more examples
2016-12-09 15:31:25 +01:00
Martin Kojtal
04f940de2d
Merge pull request #3324 from LMESTM/dev_i2c_common_code
...
Dev i2c common code
2016-12-09 15:30:00 +01:00
Martin Kojtal
163667165e
Merge pull request #3312 from NXPmicro/SPI_ASYNCH_API
...
K64F: SPI Asynch API implementation
2016-12-09 15:15:54 +01:00
jeromecoutant
4ea65df99d
STM32F3 : correct ST HAL API call
...
- CAN: compilation issue with assert enabled
- GPIO: mode was not allowed by ST HAL API
2016-12-09 14:56:52 +01:00
jeromecoutant
008a12327c
STM32F2 : correct ST HAL API call
...
- GPIO: mode was not allowed by ST HAL API
2016-12-09 14:52:51 +01:00
jeromecoutant
0e404c2b48
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-09 14:48:26 +01:00
jeromecoutant
3734269326
STM32L4 : correct ST HAL API call
...
- ll_utils: compilation issue
- GPIO: mode was not allowed by ST HAL API
2016-12-09 13:58:22 +01:00
jeromecoutant
3ab5dce41d
STM32L1 : correct ST HAL API call
...
- RCC init: unused clock was enabled without any init parameters
- RCC init: one PLL parameter was missing
- ADC: a parameter setting was missing to init clock
- GPIO: mode was not allowed by ST HAL API
- ll_utils: compilation issue
2016-12-09 11:32:08 +01:00
jeromecoutant
db9dcb8b40
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-09 09:58:54 +01:00
jeromecoutant
6aef5333bd
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-09 09:44:54 +01:00
bcostm
73ff944ffd
Remove NUCLEO_F412ZG from example linking_list
2016-12-09 09:40:22 +01:00
Christopher Haster
3643b59109
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-08 16:14:15 -06:00
jeromecoutant
12d2795871
STM32L1 : refactor stm32l1xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-08 17:03:25 +01:00
bcostm
810a980cb7
Add SERIAL_FC in targets.json/device_has field for NUCLEO_F103RB
2016-12-08 16:45:30 +01:00
bcostm
88988b688b
Add external declaration of PinMap_UART_RTS/CTS[] const tables
2016-12-08 16:43:26 +01:00
bcostm
f4fa08323b
Remove usb in build_travis.py for this target (not supported for now)
2016-12-08 16:26:00 +01:00
jeromecoutant
64e92a54de
STM32L4 : refactor stm32l4xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-08 16:15:47 +01:00
bcostm
db8f966a2c
Correct A3, A4, A5 pins definitions
2016-12-08 15:57:05 +01:00
bcostm
6787c14d97
Add platform in other python and json files
2016-12-08 15:57:05 +01:00
bcostm
9ce9d1a9e7
Correct SDIO_UART pins configuration
2016-12-08 15:57:05 +01:00
bcostm
49755981dd
Add this platform in mbed_rtx.h file
2016-12-08 15:57:05 +01:00
bcostm
5b2946ded9
Correct system clock configuration
2016-12-08 15:57:05 +01:00
bcostm
1796e8cd9a
Update hal_tick files
2016-12-08 15:57:05 +01:00
bcostm
19828d8dd5
Add startup and linker files for ARM_STD, ARM_MICRO, IAR
2016-12-08 15:57:05 +01:00
bcostm
2ccbd27baf
Add GCC_ARM files and fix errors during GCC build
2016-12-08 15:57:05 +01:00
bcostm
f1c6b0f842
Add cmsis, hal_tick, system files
2016-12-08 15:57:05 +01:00