Marcelo Salazar
36f446b673
Simplified interface to memap
2016-06-08 01:34:31 +01:00
Marcelo Salazar
aafd19992b
Fixed pylint issues
2016-06-08 00:02:26 +01:00
Christopher Haster
1e12b83e56
Fixed uninitialized port in lwip dragged in by KSDK2
2016-06-07 17:06:22 -05:00
Kevin Bracey
3f6b6ced17
Update Nanostack libservice
...
Pulls in heap optimisations, and ns_trace/mbed_trace unification.
2016-06-07 18:49:56 +01:00
Christopher Haster
973c323b59
Added support for NSAPI_KEEPALIVE in LWIPInterface
2016-06-07 10:52:39 -05:00
Martin Kojtal
9c7ca98ccf
Merge pull request #227 from ARMmbed/mbed-client-classic
...
Updating mbed-client-classic git pointer.
2016-06-07 16:50:51 +01:00
Martin Kojtal
7f95241313
Merge pull request #224 from ARMmbed/ns_sem
...
Move Nanostack connect semaphore into object
2016-06-07 16:46:48 +01:00
Przemek Wirkus
40a090bc2b
Add simple TCP client with simple TCP echo server host test
2016-06-07 16:26:16 +01:00
Yogesh Pande
f1aa30faa4
Updating mbed-client-classic git pointer.
...
This commit includes
- Updated mbed-client-classic using new event loop initialization API.
2016-06-07 18:19:07 +03:00
Martin Kojtal
2b46b5aedb
Merge pull request #225 from ARMmbed/mbed-mesh-api
...
Updating mbed-mesh-api pointer.
2016-06-07 16:17:45 +01:00
Yogesh Pande
ad09990bcf
Updating mbed-mesh-api pointer.
...
This commit includes
- Changes for managing single event loop instantiation.
2016-06-07 18:03:54 +03:00
Anna Bridge
0ccdfe3ca2
Updates to make utest thread safe and thus run when compiled with both gcc
...
and armcc.
1. Remove use of printf from all code that may be directly or indirectly
invoked from an interrupt context,
2. For occasions where a printf is required and the code in question may
run both inside and outside an interrupt context, add a new interrupt safe
version of printf, utest_printf(). This function will only pass its
arguments down to printf if interrupts are not disabled.
3. In harness.cpp, is_busy() , fix a bug where the function can return
leaving interrupts disabled.
4. In unity_handler.cpp add a new function, utest_safe_putc(), This is
used to override the default putc() function used by Unity. This version
checks that the current code does not have interrupts disabled prior to
outputting the character to the serial port. This overriding is enabled by
adding unity_config.h to the unity code and redefining UNITY_OUTPUT_CHAR
to utest_safe_putc(). The new config file is included in the build by
adding the define UNITY_INCLUDE_CONFIG_H. The Unity changes are submitted
under a separate PR. This change ensures that any Unity ASSERTS executed from
within interrupt context are safe.
2016-06-07 15:56:26 +01:00
Anna Bridge
d4415eeeac
Remove all printfs from test cases which may directly or indirectly run
...
from an interrupt context. Where required add flags to functions and check
the values in the case teardowns. This allows validation that the case
callback was invoked without the need for an ASSERT or printf directly in
the callback.
In cases where a printf is still required in a test case but it is unclear
whether the code may or may not get called from interrupt context, a new
printf alternative, utest_printf() should be used instead. This just
checks whether the code is executing in interrupt context and only passes
its arguments to printf if not.
2016-06-07 15:48:13 +01:00
Kevin Bracey
4eb394e391
Move Nanostack connect semaphore into object
...
Connect semaphore was being constructed and consuming RAM even if
Nanostack isn't in use. Avoid this by moving it into the class, where it
should be anyway.
2016-06-07 14:30:11 +01:00
Martin Kojtal
e64975c94c
Merge pull request #219 from ARMmbed/nanostack-hal-cmsis-rtos
...
Updating nanostack-hal-mbed-cmsis-rtos pointer
2016-06-07 14:14:47 +01:00
Przemek Wirkus
88ee8caadd
Add TCP Client Download
2016-06-07 14:03:14 +01:00
Brian Daniels
71fe5e8665
Printing build summary at the end of build, as well as build log for failures
2016-06-07 13:24:25 +01:00
Brian Daniels
da4a169752
Fixing issue with non-verbose error message for GCC
...
There was an issue when compiling with GCC_ARM, the tools would
print the incorrect file where the error was present. This modifies the
regular expression and matching logic used to find the error. This was
tested with the 4.9 q2 release of GCC ARM.
2016-06-07 13:17:59 +01:00
Brian Daniels
68cb86f61f
Adding entry to build report, even if no update was needed
2016-06-07 13:17:58 +01:00
Brian Daniels
e0c7e5fd89
Compiling tests stops on first failure by default, with option to continue
2016-06-07 13:17:51 +01:00
Martin Kojtal
07c3a108ef
Merge pull request #218 from screamerbg/use-memap
...
Add memory analysis to mbed-os build system
2016-06-07 12:57:59 +01:00
Martin Kojtal
9b707292a4
Merge pull request #211 from bridadan/fix-test-list
...
Fix test listing
2016-06-07 12:55:03 +01:00
Bogdan Marinescu
9bbc532f4f
Merge pull request #186 from screamerbg/library-build-fix
...
Fix the differences between how projects and libraries are built
2016-06-07 12:35:52 +01:00
Marcelo Salazar
f4827b7eea
Minor changes to memap documentation
2016-06-07 12:32:10 +01:00
Marcelo Salazar
7d3140b844
Documentation improvements to memap.md
...
- Removed installation instructions
- Removed py.test instructions (not available atm)
- Pointing at mbed-os tools to raise issues
2016-06-07 12:19:06 +01:00
Bogdan Marinescu
d2ac7091ab
Merge pull request #220 from ARMmbed/doc_fix
...
Fixed typo in the doc
2016-06-07 11:49:38 +01:00
Bogdan Marinescu
820d79d84b
Fixed typo in the doc
2016-06-07 13:49:11 +03:00
Yogesh Pande
235e04f31b
Adding 6k Stack size increase.
2016-06-07 13:28:55 +03:00
Kevin Bracey
51d3fc0459
Adjust Nanostack startup
...
Fix locking - can't lock until the system is initialised. So initialise
on first entry to connect().
Run randLIB initialisation after starting the radio driver - means you
get MAC and RF noise out.
2016-06-07 11:26:02 +01:00
Yogesh Pande
ab3f05eaae
Updating nanostack-hal-mbed-cmsis-rtos pointer
...
This commit includes
- New API for initializing event loop.
2016-06-07 13:23:52 +03:00
geky
a534c20a17
Merge pull request #217 from geky/socket_event_coalescing
...
Add socket event coalescing to reduce cpu usage in lazy implementations
2016-06-07 10:54:02 +01:00
Mihail Stoyanov
d09a24835e
Added memap documentation
2016-06-07 10:22:56 +01:00
Mihail Stoyanov
647ba3da89
Add memory analysis via https://github.com/ARMmbed/memap for every successful compile. Memap generates thorough output of the memory map files generated by ARMCC5, GCC_ARM and IAR. Also save json file of the printed data.
...
Deprecate the use of elftools which are no longer needed
2016-06-07 10:22:06 +01:00
Przemek Wirkus
4c92c11a07
Merge pull request #208 from geky/devel_gt_client_update
...
Update devel_gt_client with changes on master
2016-06-07 10:10:40 +01:00
Christopher Haster
47e41ac321
Added attribute tests
...
based off tests from armmbed/compiler-polyfil
2016-06-06 20:12:26 -05:00
Christopher Haster
8a90b557c9
Added Callback and FunctionPointer tests
2016-06-06 20:12:26 -05:00
Christopher Haster
1b686c6854
Added rtos::Thread tests
2016-06-06 20:12:26 -05:00
Brian Daniels
9e012bb2c2
Fixing traceback when listing tests
2016-06-06 22:41:15 +01:00
Christopher Haster
f567252d3a
Coalesce redundant events to reduce cpu usage in lazy implementations
...
*cough* esp8266 *cough*
this is especially important for event-loop based systems where
excessive events results in problematic memory consumption.
2016-06-06 16:35:12 -05:00
Martin Kojtal
653832e94b
Merge pull request #188 from geky/c027
...
Revert "Revert "Add the C027Interface""
2016-06-06 17:20:35 +01:00
Martin Kojtal
30a5366927
Merge pull request #212 from ARMmbed/mbed-client
...
Update mbed-client and mbed-client-c lib pointers.
2016-06-06 15:54:57 +01:00
Yogesh Pande
252f50b6e8
Update mbed-client and mbed-client-c lib pointers.
...
This commit includes
- Updating mbed client and mbed-client-c lib pointer having updated config file MACRO value.
2016-06-06 17:29:52 +03:00
Martin Kojtal
e936097e16
Merge pull request #184 from bridadan/verbose-test-building
...
Passing verbose option to build apis in test.py
2016-06-06 14:06:57 +01:00
Martin Kojtal
fc4e0d9fd8
Merge pull request #209 from ARMmbed/mbed-client-classic
...
Updating mbed-client-classic.lib pointer.
2016-06-06 12:59:29 +01:00
Yogesh Pande
1b31abf2da
Updating mbed-client-classic.lib pointer.
...
This commit includes
- Fix for IAR compilation issue with mbed-client-classic component.
2016-06-06 14:38:17 +03:00
Brian Daniels
427664c789
Passing verbose option to build apis in test.py
2016-06-06 12:31:13 +01:00
Christopher Haster
da80fe1c02
Merge branch 'master' into devel_gt_client
2016-06-06 05:58:36 -05:00
Mika Karjalainen
4f30d61c89
Fix issue #206 ( #207 )
...
Added --tests parameter to build command
2016-06-06 13:06:38 +03:00
Martin Kojtal
c6b51d7fe3
Merge pull request #204 from theotherjimmy/1830-counterpart
...
added support for features array to build tools
2016-06-06 10:23:02 +01:00
Jimmy Brisson
1e71a28aff
updated mbed.lib to point to the last commit from mbedmicro/mbed#1830
2016-06-06 10:07:29 +01:00