Commit Graph

710 Commits (6a1208af084645213d4282d7a863e57ccc7b27e2)

Author SHA1 Message Date
Sam Grove 6a1208af08 Merge pull request #2536 from jamike/STM32F3_TestFix
STM32F3 :  test fix
2016-08-25 09:32:27 -05:00
Sam Grove 39310b2aa4 Merge pull request #2535 from nvlsianpu/uart_hwfc_config_2
nRF5x uart hardware flow control configuration using mbed configuration systsem
2016-08-25 09:31:00 -05:00
Sam Grove 1dbe8d8cf8 Merge pull request #2520 from jeromecoutant/PR_L011K4
[NUCLEO_L011K4] build issues
2016-08-25 09:26:10 -05:00
Sam Grove 3dac791b4a Merge pull request #2476 from bulislaw/lp_ticker
K22F/K64F: Add lp_ticker implementation and HAL lp_ticker tests
2016-08-25 09:19:18 -05:00
Sam Grove 5197edc913 Merge pull request #2409 from pan-/enable_small_and_big_build_options
Allow 'small-build' and 'big-build' to be used as options.
2016-08-25 09:17:03 -05:00
Sam Grove defa61d183 Merge pull request #2253 from adustm/STM32F4_F7_entropy
[STM]Add RNG (random number generator) for STM32F4 STM32F7 families
2016-08-25 09:09:48 -05:00
Bartek Szatkowski 6fef43013f Ticker: Move ticker initialisation to object creation time
Having it in the attach call introduces extra latency and can break
short delays, for the first usage.
2016-08-25 13:25:02 +01:00
Bartek Szatkowski 584f997228 K64F/K22F: Implement HAL lp_timer API
API implemented using hybrid approach with RTC for longer periods and
LPTMR for subsecond ones.
2016-08-25 13:25:02 +01:00
Andrzej Puzdrowski b68b54ee05 Introduce uart hardware flow control configuration using mbed configuraton system for nrf5x base-targets 2016-08-24 14:07:12 +02:00
Michel Jaouen 5908e44a7b STM32F3 : Fix RTOS GCC_ARM test failed.
remove target with RAM too small for RTOS GCC_ARM.
since newlib is used for RTOS re-entrance suport instead of nano-newlib :
Heap size is reduced because sdata and bss have increased.
2016-08-24 11:57:11 +02:00
Niklas Hauser 7c0cc50677 Fix missing wrapping of calloc_r with uVisor enabled.
uVisor only wraps malloc_r, realloc_r and free_r, not calloc_r!
2016-08-24 10:22:05 +01:00
Vincent Coubard fe322adc9c Make selection of c library used consistent.
* rename "default_build" property into "default_lib"
* rename "standard" value for "default_build" into "std".
2016-08-23 16:04:56 +01:00
jeromecoutant 086d5b9a4e [NUCLEO_L011K4] build issues
Target FLASH is quiet small (16KB),
so only uARM is supported and very small applications.
2016-08-23 17:02:57 +02:00
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
Bartek Szatkowski 12acfb3ca6 Beetle: Implement sleep API 2016-08-22 09:48:28 +01: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
adustm 059c5a3ba8 [RNG for STM32F4 family] fix build issue by modifying labels 2016-08-18 17:25:33 +02:00
adustm 824fff5d63 Add documentation + reformat the code 2016-08-18 16:52:58 +02:00
adustm 4c50ec2734 Add entropy functions for STM32F4 and STM32F7 family 2016-08-18 16:52:58 +02: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