Russ Butler
81859050c3
Fix cfstore_test_delete_all by removing swap
...
Remove the handle swap in cfstore_test_delete_all. This prevents a
deleted handle from being used.
2016-08-22 18:32:59 -05: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
Mahadevan Mahesh
2c813a051b
HEXIWEAR: Add support to create KDS projects for HEXIWEAR
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-22 15:06:56 -05:00
Martin Kojtal
dda7f7d77a
Merge pull request #2510 from seppestas/patch-1
...
Fixed link to release page
2016-08-22 15:22:01 +01:00
Anna Bridge
4f3dba41a1
Fixes issue #2508 .
...
The default compiler(ARMCC) copy constructor for failure_t doesn't behave as
expected and has unexpected side effects. This fix adds a custom copy constructor
to fix this.
2016-08-22 13:29:01 +01:00
Seppe Stas
c4f6158881
Fixed link to release page
...
It looks like https://docs.mbed.com/docs/mbed-os-release-notes/en/latest/5_1/release results in a 404 page, but https://docs.mbed.com/docs/mbed-os-release-notes/en/latest/5_1/release/ works.
2016-08-22 14:05:54 +02: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
Russ Butler
2c02e58853
LWIP - fix recv blocking send on accepted sockets
...
When a socket is created via accept set the mode to nonblocking -
a timeout of 1ms. This allows send and recv to occur at the same time.
2016-08-19 16:23:12 -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
862db41be3
Merge pull request #2468 from bridadan/fix-gcc-diagnostic-pattern
...
Tools - Fixing issue where GCC fails to report compile errors when non-verbose
2016-08-19 13:48:54 +01:00
Martin Kojtal
f6be78dc89
Merge pull request #2429 from theotherjimmy/specialize-tests-discovery
...
Move find_tests to where it's has arguments
2016-08-19 12:05:45 +01:00
Martin Kojtal
5c82db8203
Merge pull request #2494 from theotherjimmy/fix-memap-table
...
Print module information in 'table' output format
2016-08-19 11:52:26 +01:00
Martin Kojtal
b233da0669
Merge pull request #2492 from theotherjimmy/fix-config-macros
...
Fix macros being the exact same when generating mbed_config.h
2016-08-19 11:45:03 +01: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
da69629cd8
Merge pull request #2434 from infinnovation/socket-accept-address
...
network-socket: Optionally return peer address from accept().
2016-08-19 11:31:17 +01:00
Martin Kojtal
c9426e7987
Merge pull request #2440 from geky/nsapi-lwip-reuseaddr
...
[nsapi] Add support for NSAPI_REUSEADDR to the lwip interface
2016-08-19 11:23:21 +01:00
Toyomasa Watarai
b7536b83ca
Fix link error
...
xxx_s.a libraries are no longer supported in GCC_CR toolchain
2016-08-19 15:52:42 +09:00
Toyomasa Watarai
362bb0e94d
Add TOOLCHAIN_GCC_CR support
2016-08-19 13:50:12 +09:00
Toyomasa Watarai
6c0a0e144e
Fix multiple definition errors in GCC_CR build
2016-08-19 11:58:59 +09:00
Jimmy Brisson
74dd5efd48
Print module information in 'table' output format
2016-08-18 13:25:58 -05:00
Jimmy Brisson
096d17dec9
Fix macros being the exact same when generating mbed_config.h
2016-08-18 11:23:26 -05: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
Sarah Marsh
cd229bacc3
Allow users to set armcc and iccarm in path.
...
Raise exceptin instead of exit.
Corrected error for arm-none-eabi-gcc/g++ set in path.
2016-08-17 09:14: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
Bogdan Marinescu
869b5d7813
Merge pull request #2458 from theotherjimmy/pylint
...
[tools!] Pylint checking and formatting
2016-08-17 16:15:00 +03: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
Jimmy Brisson
dabd7b8d53
Made linting a recommendation and raised the bar for printing
2016-08-16 13:29:43 -05:00
Jimmy Brisson
7b7ca84ab3
Fix remaining issues in targets.py
2016-08-16 13:29:43 -05:00
Jimmy Brisson
3f9bedbdd9
Add pylint testing to Travis
2016-08-16 13:29:43 -05:00
Jimmy Brisson
33786130ae
Format and document options.py
2016-08-16 13:29:43 -05:00
Jimmy Brisson
44efd92ca3
Format and document hooks.py
2016-08-16 13:29:31 -05:00
Brian Daniels
20ddba6e90
Fixing issue where GCC fails to report compile errors when non-verbose
...
The output of the GCC compiler is such that the toolchain regex sometimes
got hung up on the ':' charcter being printed in front of the drive letter when
running on Windows. This PR changes the matching logic to be more flexible
by using 'search' to check the entire string for a match, not just the
beginning of the string.
2016-08-16 12:34:18 -05:00
Jimmy Brisson
ec1d0b5673
Format detect_targets.py
2016-08-16 11:48:46 -05:00
Jimmy Brisson
2831eee216
Format and document libraries.py
2016-08-16 11:48:45 -05:00
Jimmy Brisson
c073857b3b
Add pylint configuration file
2016-08-16 11:48:45 -05:00
Jimmy Brisson
acc59a1a86
Format paths python module
2016-08-16 11:48:45 -05:00