Commit Graph

693 Commits (22acfbf077af36081218801cb952376a446eafe2)

Author SHA1 Message Date
Martin Kojtal 22acfbf077 Merge pull request #2461 from svastm/serial_asynch_f3
[STM32F3] Add asynchronous serial
2016-08-23 14:14:10 +01:00
Martin Kojtal 21d55cd235 Merge pull request #2465 from svastm/serial_asynch_l4
[STM32L4] Add asynchronous serial
2016-08-23 11:01:57 +01:00
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 58897c6613 Merge pull request #2503 from c1728p9/singleton_ptr_fix
Fix SingletonPtr problems
2016-08-23 09:27:05 +01:00
Martin Kojtal 4fd71547be Merge pull request #2478 from mtkrtk/master
[Renesas RZ/A1H] Enable SPI1 on P6_4 ~ P6_7
2016-08-23 09:16:42 +01:00
Martin Kojtal f084f5f5a4 Merge pull request #2501 from NXPmicro/HEXIWEAR_I2C_PinUpdate
HEXIWEAR: Update I2C pin mapping
2016-08-23 09:04:27 +01:00
Russ Butler 6a31ffbf3e Heap statistics
Keep track of the current size allocated, maximum size allocated,
number of allocations, failed allocations and total size allocated for
both GCC and ARM. Report the maximum size allocated at the end of
testing.

Also, add a test to verify heap metrics are working as expected.
2016-08-22 18:32:51 -05:00
Russ Butler 707291ab68 Fix SingletonPtr problems
Check to see if ptr is NULL after acquiring the singleton lock to
prevent initialization race conditions. Also explicitly call the
constructor for type T.
2016-08-19 18:41:16 -05:00
Mahadevan Mahesh c4e1bed878 HEXIWEAR: Update I2C pin mapping
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-19 14:45:16 -05:00
Martin Kojtal 133f16aa5d Merge pull request #2473 from svastm/ethernet_mbed_5
[STM32] Add ethernet and feature IPV4
2016-08-19 11:40:33 +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
Martin Kojtal 64a30a0095 Merge pull request #2479 from geky/deprecated-until
Updated deprecation notices to match branch names
2016-08-18 09:06:39 +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
Mahadevan Mahesh 1fe6c2f04a KL27Z: Update the SPI driver
1.Fix SPI flag name error
2.Fix SPI write blocking function
3.Use function pointer to implement SPI IRQ handler to reduce code size

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-17 08:58:32 -05:00
Martin Kojtal bdb4ab921f Merge pull request #2472 from ytsuboi/master
[TY51822r3] Added exporting support
2016-08-17 14:54:49 +01:00
Martin Kojtal 8568c9eac8 Merge pull request #2394 from geky/deprecated-until
Add more well-defined garuntees on deprecation notices in mbed
2016-08-17 14:45:46 +01: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
mtkrtk 667accacd0 Enable SPI1 on P6_4 ~ P6_7 2016-08-17 21:19:43 +09:00
svastm 43be3b403e [STM32] Add ethernet and feature IPV4
This commit refactor the `lwip-eth/arch/TARGET_STM` folder and add the IPV4 feature for the
following targets:

 - NUCLEO_F207ZG
 - NUCLEO_F429ZI
 - NUCLEO_F767ZI
 - DISCO_F746NG
2016-08-17 10:27:32 +02:00
Yoshihiro TSUBOI f8a6af161a [TY51822r3] Added exporting support 2016-08-17 10:58:48 +09:00
Christopher Haster b12c27c5b4 Updated deprecation notices to match branch names
Example:

    MBED_DEPRECATED_SINCE("mbed-os-5.1", "don't foo any more, bar instead")
    void foo(int arg);
2016-08-16 20:30:20 -05:00
Christopher Haster 0f516aa8e0 Added more well-defined garuntees on deprecation notices in mbed
From the discussion on issue #2068:
Functions marked deprecated in the mbed library should notate when
the deprecation was started to allow efficient removal once a set
amount of time has expired.

Added the following macro:
MBED_DEPRECATED_SINCE("version", "message string")

Example usage:

    MBED_DEPRECATED_SINCE("v5.1", "don't foo any more, bar instead")
    void foo(int arg);

Adopted in existing deprecations:
- FunctionPointer
- RtosTimer
- Thread
2016-08-16 15:45:51 -05:00
svastm 7c384c9765 [STM32L4] Enable asynchronous serial 2016-08-16 17:54:14 +02:00
svastm bad850c49a [STM32L4] Add asynchronous serial 2016-08-16 17:54:14 +02:00
Jeremy Brodt 7be00b8fa8 [MAX326xx] Synchronizing SPI drivers. 2016-08-16 10:30:14 -05: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
Jeremy Brodt 301d7f271f [MAX326xx] Fixed i2c_byte_write() return value. 2016-08-16 10:30:14 -05:00
Jeremy Brodt 0e330ef1fa [MAX326xx] Fixed I2C bug. 2016-08-16 09:27:27 -05:00
svastm b2d8cfe14c [STM32F3] Enable asynchronous serial 2016-08-16 16:00:36 +02:00
svastm 79c11c0b8e [STM32F3] Add asynchronous serial 2016-08-16 16:00:36 +02:00
Martin Kojtal 8d368775e3 Merge pull request #2401 from svastm/serial_asynch_f4
[STM32F4] Add asynchronous serial
2016-08-16 14:24:06 +01: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 f38ee3c049 K64F serial - fix device macro for serial flow 2016-08-15 14:55:22 +01:00
0xc0170 f51d8cfa3e MTS Gambit - remove serial flow control
Plus protect serial flow in the common k64f code, as not all targets provide its
support.
2016-08-15 14:55:20 +01:00
0xc0170 29d36f0e7d K64F - HAL common part prefixed with MCU_K64F 2016-08-15 14:55:18 +01:00
0xc0170 4c499780dd Target hexiwear - add mcu_k64f label 2016-08-15 14:55:16 +01: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
0xc0170 ae4a4938ab mbed lib revision - 123 2016-08-15 14:55:12 +01:00
Martin Kojtal 6c2ef92dfa Merge pull request #2427 from fvincenzo/master
[BEETLE] Add support for IAR compiler
2016-08-15 11:44:06 +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 5145ab73f7 [BEETLE] Change release_version to 5
mbedci-test CI server is complian only with mbed-os release version 5.x.
This patch updates the Beetle section of the target.json file in order
to comply with the requirement.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-08-12 17:02:48 +01: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 685096eb11 Merge pull request #2351 from peeyushpashine/patch-1
Update analogin_api.c
2016-08-12 12:47:16 +02:00
svastm 22874be402 [STM32F4] Enable asynchronous serial 2016-08-12 10:39:02 +02:00
svastm f112c26c14 [STM32F4] Add asynchronous serial
- Move struct serial_s to common_objects.h
 - Add event field to struct serial_s
 - Remove ASYNCH_DMA
 - Clean yotta defines
2016-08-12 10:35:06 +02:00