Commit Graph

6055 Commits (c2e3001739cd91e79c3d3874678a8714b0c075d1)

Author SHA1 Message Date
0xc0170 5018270bb5 uvision - asm flags fix
Use deepcopy to get flags as they are shared between ARM and uARM. asm flags
for command line require c flags as it used to be.
2016-05-04 10:58:44 -05:00
0xc0170 ee00dbd9a7 uvision - fix c/asm flags
Some flags are only C specific, causes problems when there's .S file in the workspace.
For instance, -Ox is only C flag, causes a project to fail with "unrecognized option"
2016-05-04 09:45:16 -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 731148eb72 Back to 10ms period
As suggested in review comments, let's keep default 10ms period
2016-05-04 08:59:57 +02:00
Laurent Meunier c9350f8e5a Update ARDUINO test to allow period change 2016-05-03 18:05:43 +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
Martin Kojtal 9cef243de2 Merge pull request #1700 from NXPmicro/dev_ksdk_2.0
Switch to KSDK 2.0
2016-05-02 18:13:47 -05:00
Mahadevan Mahesh fef9bc3961 USB support for KL27
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-05-02 14:52:31 -05: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
Martin Kojtal 6f14439b79 Merge pull request #1691 from 0xc0170/dev_flags_uvision
Flags unification for uvision
2016-04-29 11:45:02 -05:00
0xc0170 690b8f0e8b uvision exporter - use toolchain flags
progen uses flags set by the toolchain, this should produce
the same result within the build and an exporter project.
2016-04-29 11:40:39 -05:00
0xc0170 4168779361 uvision - flags dict creation
All flags for uvision are in one dictionary, therefore an exporter or
external scripts can get those and use.
2016-04-29 11:40:38 -05:00
Mahesh Mahadevan cb2033526a Merge pull request #1 from mbedmicro/master
Update to latest mbed code
2016-04-29 11:21:30 -05:00
Martin Kojtal d1dc989912 Merge pull request #1697 from soutade/master
Typo fix in HAL_CM0.S of ARM7 rtx
2016-04-29 10:13:29 -05:00
Martin Kojtal a2576a453b Merge pull request #1698 from svastm/change_default_pwm_l031k6
[NUCLEO_L031K6] Change the default pwm pin
2016-04-29 10:13:04 -05:00
svastm 7966ee4067 [NUCLEO_L031K6] Change the default pwm pin 2016-04-29 15:58:43 +02:00
Grégory Soutadé d5489b3723 Typo fix in HAL_CM0.S of ARM7 rtx 2016-04-29 07:58:34 +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
Martin Kojtal 884e1adeec i2c - fix return value description i2c_byte_write() (#1694)
Fixes #1670.
2016-04-28 19:06:38 -05:00
0xc0170 868ca35dfb mbed lib revision - 119 2016-04-27 13:07:46 -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 0b771117c7 Merge pull request #1693 from ohagendorf/master
uvision5 - get_toolchain method
2016-04-26 12:48:33 -05:00
Olaf Hagendorf c84dd595d5 uvision5 - get_toolchain method
same solution as in PR #1687 but for Keil v5
2016-04-26 18:55:27 +02: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
Martin Kojtal d25daf7fad Merge pull request #1680 from svastm/master
[NUCLEO_L031K6] Add target
2016-04-26 11:07:44 -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
Martin Kojtal bda3d1e5f8 Merge pull request #1687 from 0xc0170/fix_ulib
uvision - get_toolchain method regression fix
2016-04-25 21:15:04 -05:00
mtkrtk 50e79a45f8 CircularBuffer::push() is critical section 2016-04-25 17:36:53 +09:00
mtkrtk c5422eed25 Change CThunk method for Cortex-A
thumb2 code executes invalid ram space, and it causes crash
Add instruction cache clean codes
2016-04-25 17:30:04 +09:00
0xc0170 864b349430 uvision - get_toolchain method regression fix
uvision uses default_toolchain, thus exporter needs to provide a method to
distinguish between ARM and uARM. Fixes #1686
2016-04-25 08:54:43 +01:00
Martin Kojtal ec07dbde3b Merge pull request #1679 from janjongboom/microbit_gcc
Add GCC exporter for micro:bit
2016-04-22 16:38:20 +01:00
Martin Kojtal cf218979c5 Merge pull request #1676 from 0xc0170/dev_uvision5
Exporters - uvision5 addition
2016-04-22 16:28:40 +01:00
Jan Jongboom ffb1cc9ac4 Add GCC exporter for micro:bit 2016-04-22 10:12:39 +02:00
svastm ac10c80919 [NUCLEO_L031K6] Hard tabs removal 2016-04-22 09:12:53 +02:00