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
f147f6f3f2
Merge pull request #2471 from bridadan/copy-config-library
...
Copying JSON files to pick up config for built libraries
2016-08-26 09:38:35 -05:00
Sam Grove
030261f2c4
Merge pull request #2544 from tung7970/master
...
Fix implicit declaration of function 'atexit'
2016-08-26 09:30:19 -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
9d3557fbcc
Merge pull request #2541 from cyliangtw/master
...
Fix NUC472 Ethernet wrong INT status in RX_Action
2016-08-26 09:26:51 -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
c20d7d210f
Merge pull request #2527 from yogpan01/IOTCLT-961
...
Fix for IOTCLT-961 for next mbed-os release candidate
2016-08-26 09:25:01 -05:00
Sam Grove
2fe3e5214e
Merge pull request #2509 from adbridge/copy_constructor
...
Utest: default copy constructor for failure_t doesn't behave as expected
2016-08-26 09:23:21 -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
Sam Grove
390cfc402d
Merge pull request #2539 from yogpan01/irq-context
...
Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/75
2016-08-26 07:00:07 -05: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
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
Jeremy Brodt
2604773a27
[MAX32620HSP] Added support to RTX files.
2016-08-25 16:55:42 -05:00
Jeremy Brodt
b18141343d
[MAX32620HSP] Replaced tab with spaces.
2016-08-25 15:15:50 -05: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
a4b57302dd
Merge pull request #2532 from AlessandroA/uvisor_supported
...
Update uVisor to v0.20.1-alpha
2016-08-25 09:27:11 -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
2ecb560eb7
Merge pull request #2502 from c1728p9/fix_lwip_blocking_recv
...
LWIP - fix recv blocking send on accepted sockets
2016-08-25 09:25:01 -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
7203be9e6f
Add tests for LowPowerTimeout and lp_ticker
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
Tony Wu
6157563ae3
Fix implicit declaration of function 'atexit'
...
Silence the following compiler warning:
[Warning] RTX_CM_lib.h@807,5: implicit declaration of function 'atexit' [-Wimplicit-function-declaration]
Signed-off-by: Tony Wu <tonywu@realtek.com>
2016-08-25 18:07:54 +08:00
Martin Kojtal
f3d652bbe0
Merge pull request #2529 from geky/fix-nsapi-nist-test
...
Fix recvfrom address in ipv4 nist tests
2016-08-25 10:24:43 +01:00
cyliangtw
0441707d4e
Fix NUC472 Ethernet wrong INT status in RX_Action
2016-08-25 15:06:52 +08: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
Yogesh Pande
773da3f126
Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/75
...
The original fix was done in https://github.com/ARMmbed/mbed-os-example-client/issues/75
This PR is to merge the fix into mbed-os release candidate.
2016-08-24 19:00:14 +03:00
Martin Kojtal
aa69b274c5
Merge pull request #2534 from niklas-arm/fix/calloc_wrapping
...
Fix missing wrapping of calloc_r with uVisor enabled
2016-08-24 13:40:45 +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
Michel Jaouen
a1bd087380
STM32F3 : fix RTOS IAR test not compiling.
...
Thread_stack_main is by default too large for this target.
2016-08-24 11:53:53 +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
Alessandro Angelino
1cca020ec6
uVisor: Minor fix in the README
2016-08-24 09:51:21 +01:00
Alessandro Angelino
2cbccba2e7
uVisor: Update to v0.20.1-alpha
2016-08-24 09:51:00 +01:00
Christopher Haster
47018fe1ac
Added check for packet address in ipv4 nist test
2016-08-23 18:45:57 -05:00
Brian Daniels
33672b483f
Copying JSON files to pick up config for built libraries
...
This came up when building tests, but affects any library that's built
that uses config and included as "source" with the mbed tools.
JSON files are not copied by default when building a library, so when this
is built it loses the config data associated with the library. This commit
copies all JSON files into the build directory when building libraries.
This leads to two mbed_config.h files existing if the build directories
are different between the library and application build. This is the case
when building tests, so an option build_library was added to remove the
mbed_config.h file when compilation is done. This disabled by default when
building libraries, but it is enabled when building tests.
2016-08-23 16:42:05 -05:00
Christopher Haster
1826978e8c
Fixed recvfrom address in ipv4 nist tests
...
Previous behaviours overwrote server address on failures
2016-08-23 14:47:43 -05:00
Yogesh Pande
5a19797c8d
Fix for IOTCLT-961 for next mbed-os release candidate
...
This PR is for fixing error found in integration testing for Bootstrap and Connector functionality.
The corresponding fixes done here
6925e89487
fbfb300d62
2016-08-23 19:42:35 +03: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
Vincent Coubard
73a925810c
Improve naming of the command line option which select the c library to use.
...
* rename 'small-build' into 'small-lib'
* rename 'standard-build' into 'std-lib'
2016-08-23 15:42:08 +01:00
Vincent Coubard
afde624a26
Rename big-build option into standard-build.
...
With this change, the name is more descriptive and aligned with the targets
definitions in hal/targets.json.
2016-08-23 15:38:44 +01:00