Commit Graph

743 Commits (86e0841f042063ab7f525cd69ba5f02a8d4868b3)

Author SHA1 Message Date
Sam Grove 5c14cb9790 Merge pull request #2555 from ytsuboi/master
[TY51822r3] a patch for TY51822r3 to use a change of PR #2535
2016-08-27 07:32:31 -05:00
Sam Grove ea56684fff Merge pull request #2531 from radhika-raghavendran/master
ncs36510 from ON Semiconductor
2016-08-27 07:31:39 -05:00
Sam Grove eeead562f1 Merge pull request #2558 from meriac/master
Update uVisor with new page allocator
2016-08-27 07:30:50 -05:00
Sam Grove 39127f856a Merge pull request #2462 from svastm/serial_asynch_f2
[STM32F2] Add asynchronous serial
2016-08-26 12:18:33 -05:00
Sam Grove a3a9daf24a Merge pull request #2487 from ARMmbed/memory_instrumentation
Runtime dynamic memory tracing
2016-08-26 11:34:24 -05:00
Niklas Hauser 170ba1c802 Move page heap after uVisor private data. 2016-08-26 17:18:45 +01:00
svastm 2a8ef3917c [STM32F2] Enable asynchronous serial 2016-08-26 17:09:11 +02:00
svastm d49a879aa7 [STM32F2] Add asynchronous serial 2016-08-26 17:09:11 +02:00
Radhika 2dc38063b9 Formatting code according to ARM guidelines.
Ran pylint and astyle.
Rebased latest ARMmbed-os code.
2016-08-26 20:34:23 +05:30
Bogdan Marinescu 8b908abcc5 Added thread safety to the tracing mechanism
Without this in place, traces might be lost if a another thread
interrupts a memory function at the right time.
2016-08-26 09:42:41 -05:00
Bogdan Marinescu 7d09bb7d3b Runtime dynamic memory tracing
This commit adds a dynamic memory tracer that calls a callback whenever
one of the basic memory allocation functions (malloc, realloc, calloc,
free) is called. The operation of the tracer is guarded by the
'MBED_MEM_TRACING_ENABLED` macro.

Infinite recursion during tracing is guarded by using atomic
increment/decrement primitives on the `trace_level` variable.

Thanks to @c1728p9 and @heky for their help and  suggestions.
2016-08-26 09:42:39 -05:00
Sam Grove a48a6f7fe0 Merge pull request #2464 from svastm/serial_asynch_l1
[STM32L1] Add asynchronous serial
2016-08-26 09:42:27 -05:00
Sam Grove 77adb45706 Merge pull request #2543 from jeromecoutant/PR_Small_Targets
Use GCC small build for 64K flash STM32
2016-08-26 09:27:38 -05:00
Sam Grove daf4b1c6b1 Merge pull request #2528 from jeremybrodt/max32620
[MAX32620HSP] Initial release.
2016-08-26 09:25:33 -05:00
Sam Grove 23ffafa682 Merge pull request #2498 from toyowata/master
Fix multiple definition errors in GCC_CR build
2016-08-26 09:22:49 -05:00
Yoshihiro TSUBOI a90181296a [TY51822r3] a patch for TY51822r3 to use a change of PR #2535 2016-08-26 22:44:24 +09:00
jeromecoutant f1781a4447 Rebase to replace "default_build" into "default_lib" 2016-08-26 11:30:31 +02:00
jeromecoutant 1bdade929c Use GCC small build for 64K flash STM32 2016-08-26 11:24:19 +02:00
Martin Kojtal 842546d849 Merge pull request #2552 from LMESTM/fix_pwmout_remove_printf
STM32F4: pwmout: remove printf
2016-08-26 08:32:17 +01:00
Radhika db54c2125a heap and stack test 2016-08-26 12:04:22 +05:30
Radhika daea440b6a Adding NCS36510 support in mbed-os5.1 2016-08-26 12:04:22 +05:30
Radhika f5f8deb7ef heap and stack test 2016-08-26 12:00:54 +05:30
Radhika b75379f353 Adding NCS36510 support in mbed-os5.1 2016-08-26 12:00:54 +05:30
Laurent MEUNIER 4ae91ed73c [STM32F4] pwmout: remove printf
This remains from a debug session but is not needed and creates a warning,
so better remove it.
2016-08-26 07:46:58 +02:00
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
Jeremy Brodt 67b556b648 [MAX32620HSP] Added Deep Sleep support with USB. 2016-08-24 16:33:47 -05:00
Jeremy Brodt 59f04b4771 [MAX32620HSP] Removed constant structure element. 2016-08-24 16:33:47 -05:00
Jeremy Brodt bf2be1a77f [MAX32620HSP] Cleaned up analogin. 2016-08-24 16:33:47 -05:00
Jeremy Brodt b9b6d30659 [MAX32620HSP] Initial release. 2016-08-24 16:33:47 -05: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
svastm 33a1757486 [STM32L1] Enable asynchronous serial 2016-08-23 17:01:12 +02:00
svastm 1a3d94a45b [STM32L1] Add asynchronous serial 2016-08-23 17:01:12 +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