Commit Graph

185 Commits (6a1208af084645213d4282d7a863e57ccc7b27e2)

Author SHA1 Message Date
Martin Kojtal ccfe2c82b0 Merge pull request #2481 from NXPmicro/KL27_SPI_Driver_Update
KL27 - fix SPI driver error, ARM linker
2016-08-23 09:29:54 +01:00
Martin Kojtal 0f2566b3ff Merge pull request #2432 from jeremybrodt/max326xx_bugfix
[MAX326xx] Bug fixes and clean up.
2016-08-18 11:04:47 +01:00
Mahadevan Mahesh 2d97246fb0 KL27Z: Update the ARM linker file
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-17 11:57:05 -05:00
Martin Kojtal 77e87179bd Merge pull request #2456 from NXPmicro/SDK2_FRDM_K66F
Add support for FRDM K66
2016-08-17 14:37:31 +01:00
Martin Kojtal ea90ea20e5 Merge pull request #2379 from NXPmicro/SDK2_KL43Z
Add support for KL43Z using KSDK 2.0
2016-08-17 14:26:45 +01:00
Jeremy Brodt e628254c08 [MAX326xx] Added missing register definitions. 2016-08-16 10:30:14 -05:00
Jeremy Brodt c8410ee8c7 [MAX326xx] Updated bit-band macros to match latest MXC convention. 2016-08-16 10:30:14 -05:00
Jeremy Brodt 2fb904f25c [MAX326xx] Fixed analogout bugs. 2016-08-16 10:30:14 -05:00
Martin Kojtal 2776dd7dd3 Merge pull request #2447 from ytsuboi/master
[TY51822r3] Add support for mbed OS 5
2016-08-16 10:05:26 +01:00
Mahadevan Mahesh 0ad9220fb1 Add support for FRDM K66
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-15 15:37:25 -05:00
Mahadevan Mahesh 5f598a9aaf Add support for KL43Z using KSDK 2.0
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-15 13:16:46 -05:00
0xc0170 b52a2fe9f4 Rename cmsis K64F to MCU_K64F
This is common for any K64F not only for frdm-k64f that is named K64F. This
is causing conflicts with inheritance. This might be fixed better (long term
solution).
2016-08-15 14:55:14 +01:00
Yoshihiro TSUBOI 38f626cc61 [TY51822r3] Add support for mbed OS 5
- Changed inherit to "MCU_NRF51_32K_UNIFIED".
- Added 32MHz XTAL support to "system_nrf.c".
- Added TY51822r3 support to "MCU_NRF51_32K_UNIFIED".
2016-08-15 19:18:56 +09:00
Vincenzo Frascino 55c446a1e0 [BEETLE] Add support for IAR compiler
IAR compiler support is a mandatory requirement for mbed-os 5.1.

This patch adds support to IAR on Beetle mbed-os platform.
It contains:
* Linker script
* Startup code
* Target enablement
* Cordio libraries for BLE

Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-12 17:02:27 +01:00
Martin Kojtal 58d9926c0c Merge pull request #2220 from svastm/update_cube_l1
[STM32L1XX] Update STM32CUBE_L1 to v1.6
2016-08-12 09:50:25 +02:00
Russ Butler 3587a08f8e Fix nrf52 initial stack pointer in ARMCC
Set the initial stack pointer to the end of ram so it matches
INITIAL_SP defined in RTX_CM_lib.h.
2016-08-09 14:54:58 -05:00
Russ Butler 69bf173e22 Decrease NUC472 interrupt stack size
Decrease the interrupt stack of the NUC472 from 12KB to 8KB. This
frees up enough space to allow the core tests to run.
2016-08-09 14:54:51 -05:00
Sam Grove 8e24d683c0 Merge pull request #2361 from geky/add-ipv4-vk_rz_a1h
Enable FEATURE_IPV4 for the VK_RZ_A1H
2016-08-04 19:24:34 -05:00
Sam Grove 0131aa657c Merge pull request #2365 from bridadan/increase-heap-kl46z
Increasing the heap for KL46Z for IAR.
2016-08-04 17:36:44 -05:00
Christopher Haster 413ea26c00 [VK_RZ_A1H] Renamed __vector -> __vector_core_a9 as expected by IAR RTX 2016-08-04 16:36:50 -05:00
Christopher Haster 2c4a03f118 [VK_RZ_A1H] Maked __iar_program_start as weak 2016-08-04 16:36:38 -05:00
Sam Grove 0edef2da82 Merge pull request #2273 from svastm/fix_i2c_clock_l4
[STM32L4XX] Fix i2c clock config
2016-08-04 12:26:21 -05:00
Sam Grove ff34c5b54b Merge pull request #2354 from svastm/ram_fix_f303re
[STM32F303RE] Fix initial SP on ARM and uARM
2016-08-04 12:24:40 -05:00
Sam Grove 19351147e8 Merge pull request #2356 from svastm/fix_iar_nucleo_f207zg
[STM32F207ZG] Fix IAR memory init
2016-08-04 12:20:49 -05:00
Sam Grove 34caf43f5a Merge pull request #2238 from OpenNuvoton/nuc472
[NUC472] Add NUMAKER-PFM-NUC472
2016-08-04 10:37:31 -05:00
Sam Grove afe431b750 Merge pull request #2338 from pan-/fix_nrf51_stack_size
Fix nrf51 stack on IAR.
2016-08-04 09:23:34 -05:00
Brian Daniels a596529780 Increasing the heap for KL46Z for IAR.
The KL46Z passes all tests except the following when built with IAR:
tests-mbedmicro-rtos-mbed-threads. This is because the heap is becomes
fully allocated.This commit increases the heap from 8K to 16K.
2016-08-03 18:09:26 -05:00
svastm 4f82e34487 [STM32F207ZG] Fix IAR memory init
The icf file was not align with other targets and they were no reserved
space for NVIC vectors.
2016-08-03 17:00:52 +02:00
svastm b00d8331c4 [STM32F303RE] Fix initial SP on ARM and uARM
Switch initial stack pointer from 0x2000 4000 to 0x2001 0000 (top of ram)
2016-08-03 13:00:18 +02:00
Vincent Coubard e861755f27 Fix nrf51 stack on IAR. 2016-08-02 12:10:32 +01:00
Vincent Coubard 158c883dcd Export symbols __ICFEDIT_region_RAM_start__ and
__ICFEDIT_region_RAM_stop__ on NRF51.

Those symbols are needed by the nordic SDK.
2016-08-02 11:22:03 +01:00
svastm 0e63f4183c [STM32L4XX] Fix i2c clock config
The i2c expected wrongly a 32MHz core clock.

This commit add the following things:
 - I2C now handle both 80MHz and 48MHz core clock speeds
 - Align system_stm32l4xx.x files
2016-07-28 14:31:54 +02:00
cyliangtw 872d60fae3 Add IPV4 in NUC472 target 2016-07-28 10:00:49 +08:00
cyliangtw 56678473cd Support ethernet and mbed client 2016-07-28 10:00:49 +08:00
ccli8 41242e3d55 Support NUMAKER_PFM_NUC472 2016-07-28 10:00:49 +08:00
Sam Grove 90fa585568 Merge pull request #2211 from pan-/nrf52_nrf51_unified_integration
NRF52 target and unification with NRF51
2016-07-27 02:35:43 -05:00
Vincent Coubard 9a92da8afe Fix HEAP and CSTACK placement for IAR on NRF51 and NRF52. 2016-07-26 23:39:02 +01:00
Jarek Zgoda 093c7b9540 Fix code formatting 2016-07-26 16:50:49 +02:00
Jarek Zgoda 8c785e5022 [BLUEPILL_F103C8] Sleep code refactor 2016-07-22 15:10:13 +02:00
Martin Kojtal 6b8ff8feb3 Merge pull request #2192 from egostm/sleep_code_refactor
[STM32] Sleep code refactor
2016-07-22 13:40:06 +01:00
svastm 95c17a4ff4 [STM32L1XX] Add STM32CUBE_L1 cmsis files 2016-07-22 11:46:42 +02:00
svastm ab5ddb581e [STM32L1XX] Add STM32CUBE_L1 hal target files 2016-07-22 11:46:42 +02:00
svastm bdfc94c257 [STM32L1XX] Add STM32CUBE_L1 hal common files 2016-07-22 11:46:42 +02:00
Martin Kojtal 37e254fa16 Merge pull request #2204 from fvincenzo/master
Lp_ticker and Us_ticker time count fix
2016-07-22 09:50:05 +01:00
Vincent Coubard a9a0657c53 Reintegration of TARGET_MCU_NRF51822 from master.
It was deleted in the mbed-nordic branch.
2016-07-21 15:02:26 +01:00
Vincent Coubard f10cf7fe16 Merge remote-tracking branch 'mbed-nordic/epr_integration' into nrf52_nrf51_unified_integration 2016-07-21 14:50:37 +01:00
Martin Kojtal dd010097ba Merge pull request #2159 from jeromecoutant/PR_dev_NUCLEO_F207ZG
New STM32 board : NUCLEO_F207ZG
2016-07-21 11:13:33 +01:00
Vincenzo Frascino 4f5b191e74 [BEETLE] Fix US_Ticker read
MBED OS requires an us_ticker_read function that returns a 32bit
value in microseconds. This can not be represented directly on
the Beetle Timer Load register.

max_us_on_reg = (0xFFFFFFFF ticks)/DIVIDER_US

This patch introduces an intermediate layer that counts the timer wraps
around and returns the correct value of us to the MBED library.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-21 10:38:20 +01:00
Vincenzo Frascino 1b364a1e52 [BEETLE] Fix Lp_Ticker read
MBED OS requires an lp_ticker_read function that returns a 32bit
value in microseconds. This can not be represented directly on
the Beetle Dual Timer Load register.

max_us_on_reg = (0xFFFFFFFF ticks)/DIVIDER_US

This patch introduces an intermediate layer that counts the timer wraps
around and returns the correct value of us to the MBED library.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-21 10:38:20 +01:00
Vincent Coubard 406ac8f5f4 Makes room for old NRF51 implementation.
the unified target for NRF51 has been renamed MCU_NRF51_UNIFIED and
hal implementation has been moved from TARGET_MCU_NRF51822 to
TARGET_MCU_NRF51822_UNIFIED.

In the process, the only real taget kept for NRF51 based targets is
NRF51_DK.

It is too risky at this stage to switch NRF51822 (16K target) to the new
softdevice. The overhead of the RTOS is already too huge.
2016-07-21 00:02:44 +01:00