Commit Graph

2769 Commits (be6e09bec30f9564617d819e374acab050b2f71d)

Author SHA1 Message Date
Martin Kojtal 7b4f4fc40d Merge pull request #1715 from helmut64/L4heapsize
Changed the heap size to the correct MCU heap size for SRAM1
2016-05-09 12:35:10 -05:00
Martin Kojtal a97cf280f3 Merge pull request #1713 from BartSX/stm32f4_can
[STM32F4 family] Assign CAN filter number properly
2016-05-09 12:31:39 -05:00
Martin Kojtal 8ea1244a2e Merge pull request #1712 from BartSX/iar
[STM32L4] Fix IAR section placement failed error
2016-05-09 12:30:47 -05:00
Martin Kojtal ad75bdcde3 Merge pull request #1704 from adustm/stm32f1_cube_update
[STMF1] Stm32f1_hal_cube update
2016-05-09 12:26:22 -05:00
Helmut Tschemernjak 324dd06216 Changed the heap size to the correct MCU heap size for SRAM1 2016-05-05 22:14:30 +02:00
Martin Kojtal 53b54323ba Merge pull request #1706 from LMESTM/fix_pwmout
Fix pwmout for STM32F3
2016-05-05 14:46:07 -05:00
Bartosz Szczepanski 1244d1504f [STM32F4 family] Assign CAN filter number properly
There are 28 filter banks which are shared between CAN1 and CAN2. By default
they are divided in half:

    * CAN1 -> 0  ... 13
    * CAN2 -> 14 ... 27

that's why we need to decied which filter number has to be chosen.

Change-Id: If5f0da035c1435c61d4748b12d6617e9005cfd83
2016-05-05 11:26:39 +02:00
Bartosz Szczepanski d76bdde5a0 [STM32L4] Fix IAR section placement failed error
For some reason STACKHEAP block was placed in SRAM2 section which lead to
*Error[Lp011]: section placement failed - unable to allocate space for sections/
block* error. This patch modifies the STM32L4 linker script and places STACKHEAP
into SRAM1 section which was previously unused.

Change-Id: Ibe6ca52a9fe7af232a3eade2f6b1f2ce28c9bd49
2016-05-05 10:37:40 +02:00
Mahadevan Mahesh df4c79cd74 Fix build warnings
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-05-04 15:01:24 -05:00
Laurent Meunier c5c95d11f3 Use runtime error detection
Rather than MBED_ASSERT, let's use error() function to detect out of range
parameters during runtime execution
2016-05-04 09:25:40 +02:00
Laurent Meunier 7c657ad5c9 [STM32F3] Increase the supported period range (#1682)
Introducing the prescaler management allows a wider period range support,
from about 65ms before now up to about 32s. We're also introducing
asserts in case the period or prescaler is truncated as the HW registers
are 16 bits large.
2016-05-03 18:05:43 +02:00
adustm 2b5364d87d [STM32F1] Update Toolchain files 2016-05-02 17:39:27 +02:00
adustm 9e21fcc816 [STM32F1] update CMSIS files from last Cube_HAL release 2016-05-02 17:38:59 +02:00
adustm 318da5419b [STM32F1] Cube_hal driver update 2016-05-02 17:37:48 +02:00
Mahadevan Mahesh da0924f95c Networking update for FRDM K64 platform
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:54:01 -05:00
Mahadevan Mahesh 840cd1ccb5 Move PWM API to the target specific folder
Some use the FTM module and some use the TPM module.

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:53:57 -05:00
Mahadevan Mahesh fffadba309 Moved SDK 2.0 platforms back to TARGET_Freescale from TARGET_NXP.
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:53:53 -05:00
Mahadevan Mahesh f512738f91 Add support for KL27Z FRDM board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:45:05 -05:00
Mahadevan Mahesh 06698f4ffa Add support for the K64F Hexiwear board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:45:02 -05:00
Mahadevan Mahesh-R9AADQ 6ff2badf1f Added support for Kinetis K22
Use Kinetis SDK 2.0
Moved to TARGET_NXP

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:44:58 -05:00
Mahadevan Mahesh-R9AADQ 2c9c632aad Added Kinetis K64 support
Use Kinetis SDK 2.0. Moved this to TARGET_NXP

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:44:54 -05:00
Mahadevan Mahesh-R9AADQ acb896b3cb Removed Freescale Kinetis SDK 1.0 based implementations
This will be replaced by Kinetis SDK 2.0 based implemenation under the TARGET_NXP folder

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:27:42 -05:00
svastm 7966ee4067 [NUCLEO_L031K6] Change the default pwm pin 2016-04-29 15:58:43 +02:00
Martin Kojtal fe9720f24b Merge pull request #1626 from mtkrtk/rz_a1h_async_patch
[Renesas RZ/A1H] Enable asynchronous communications
2016-04-28 19:07:37 -05:00
Martin Kojtal 670e7bcb47 Merge pull request #1639 from mbedNoobNinja/master
New mbed platform VK_RZ_A1H
2016-04-28 19:07:17 -05:00
Martin Kojtal d224239ce9 Merge pull request #1690 from LMESTM/dev_stm32fxxx_cleanup
stm32fxxx cleanup
2016-04-28 19:07:05 -05:00
adustm 2451ac1026 [STM32F4 STM32F7] Overwrite HAL_Delay to allow SD example (#1624)
* [STM32F4 STM32F7] Overwrite HAL_Delay to allow SD example

The weak function HAL_Delay is overwritten to use us ticker API. 
The user can use stm32f[4/7]xx_hal_sd.c that calls
HAL_Delay
This will allow us to add an example detecting / writing / reading an SD
card on DISCO_F469NI and DISCO_F746NG

(cherry picked from commit d491e3cd8b)
2016-04-26 13:36:04 -05:00
Kevin Gillespie 0b67bf08c8 Fixing the send break for the MAXWSNENV and MAX32600MBED. (#1684)
Our UART doesn't have the ability to send a break, so we make the TX a GPIO and drive it low during the break_set() and then release it back to the UART in the break_clear().
2016-04-26 13:20:17 -05:00
Martin Kojtal e090a88f3a Merge pull request #1681 from toyowata/master
[ARM_MPS2_M7] Fix capital letter filename
2016-04-26 11:15:35 -05:00
mbedNoobNinja fa0bf58e3c New mbed platform VK_RZ_A1H 2016-04-26 17:27:39 +03:00
Laurent Meunier 557dcd8881 [STM32F4] remove deprecated STM32F4XX directory
None of the compiled STM32 targets seem to rely on this code anymore,
so better clean it up.
2016-04-26 15:34:59 +02:00
Laurent Meunier 9554bb790d [STM32F3] remove deprecated STM32F3XX directory
None of the compiled STM32 targets seems to rely on this code anymore,
so better clean it up.
2016-04-26 15:34:59 +02:00
mtkrtk e96f6bf036 SPI should notify internal complete 2016-04-26 18:23:32 +09:00
svastm ac10c80919 [NUCLEO_L031K6] Hard tabs removal 2016-04-22 09:12:53 +02:00
Toyomasa Watarai 416cb0b6f5 Fix capital letter filename 2016-04-22 13:25:44 +09:00
svastm 290f9fe795 [NUCLEO_L031K6] Correct hard tabs 2016-04-21 17:42:19 +02:00
svastm 39486f74a0 [NUCLEO_L031K6] Update HAL API 2016-04-21 16:24:19 +02:00
svastm a58c1959c4 [NUCLEO_L031K6] Add HAL target 2016-04-21 16:23:19 +02:00
svastm 28e7579b05 [NUCLEO_L031K6] Add CMSIS target 2016-04-21 16:22:43 +02:00
mtkrtk 6d3e9e32bf Clear cache cleaning code 2016-04-21 17:34:46 +09:00
mtkrtk bd5d415514 Fix interrupt timings 2016-04-21 17:33:56 +09:00
Martin Kojtal b5e7f79753 Merge pull request #1669 from svastm/master
[STM32L0] Update STM32Cube_L0 from v1.2 to v1.5
2016-04-19 11:00:22 +01:00
Mridupawan Das 92a345200d adding hwflwctl support for NUCLEO_L476RG (#1658) 2016-04-17 17:37:14 +01:00
Colin Hogben a11f73cb26 Fix incorrect pin in PinMap_UART_RX - issue mbedmicro/mbed#1657 (#1675)
PTC6 was wrong, should be PTD6
2016-04-17 17:35:16 +01:00
svastm 2bc21a7641 Code misalignment correction 2016-04-15 14:37:08 +02:00
bcostm 9b277ae859 [STM32L4] Change LSI_VALUE to 32 kHz (#1662)
* Add DEVICE_RTC_LSI=0

* Change LSI value to 32 kHz

This is the value written in the device datasheet.

* Replace tabulations with spaces
2016-04-15 10:48:47 +01:00
svastm b77627dd30 Update STM32L0 HAL API to support STM32CUBE_L0 v1.5 2016-04-14 14:48:11 +02:00
svastm ce436d5107 Update STM32CUBE_L0 from v1.2 to v1.5 2016-04-14 14:39:53 +02:00
Mridupawan Das 9cd482817d adding hwflwctl support for NUCLEO_F401RE (#1654) 2016-04-12 08:54:48 +01:00
Toyomasa Watarai f28131a577 [LPC812] Fixed PwmOut SCT bugs (#1656)
* [LPC812] Fixed PwmOut SCT bugs

* Fixed 0% duty cycle output
* Fixed pulse width 0 output
* Remove unused comment-out code
* Correct cast type for GCC toolchain

* [LPC812] Fix incorrect duty cycle

* The new PWM period now update existing PWM channels, so duty cycle is
kept
* Remove comment and unused code
2016-04-08 17:47:02 +01:00