Commit Graph

6318 Commits (5722750d5c0171fc08218c41063c76835746ba95)

Author SHA1 Message Date
Simon D Hughes 34f3c5da35 Fix warnings to remove unused variables 2016-06-08 16:28:02 +01:00
Bogdan Marinescu 44b8b05485 Merge pull request #246 from ARMmbed/config_in_export
Added support for configuration data in exporters
2016-06-08 16:23:41 +01:00
Bogdan Marinescu eb9610949e Move the mbedmicro reference to the latest version 2016-06-08 18:17:26 +03:00
Bogdan Marinescu efed396682 Added support for configuration data in exporters
This commit integrates configuration data with exporters, in a similar
way to the integration in build_project or build_library in
tools/build_api.py.

Only a very simple test was done for this PR: define a configuration
parameter in the mbed_app.json of a blinky example, export it to uvision
and check if the corresponding macro made it into the project file. If
there are better tests to be performed, please let me know.
2016-06-08 18:13:10 +03:00
Simon D Hughes 7744b715b7 Integrating configuration-store into mbed-os 2016-06-08 15:45:12 +01:00
Marcelo Salazar ebb3f785ba Adding export in CSV format for the CI 2016-06-08 13:51:05 +01:00
Bogdan Marinescu a16b40a8fa Merge pull request #233 from ARMmbed/uvisor_label
Automatically define uVisor labels
2016-06-08 10:42:43 +01:00
Bogdan Marinescu 785699e1ca Automatically define uVisor labels
If the target doesn't specify that it supports uVisor, a special label
is defined to indicate the lack of uVisor support.
2016-06-08 12:28:34 +03:00
Kevin Bracey e3ab81b375 Merge pull request #228 from ARMmbed/ns_libservice
Update Nanostack libservice
2016-06-08 09:12:41 +01:00
Christopher Haster 3a62aa8aa4 Added NSAPI_KEEPIDLE option to the socket API and LWIPInterface 2016-06-07 20:38:23 -05:00
geky 3c180b3f30 Implement the NSAPI_KEEPINTVL in the LWIPInterface 2016-06-08 20:06:52 +01:00
geky 187958b1f8 Add NSAPI_KEEPINTVL parameter to the socket api 2016-06-08 20:01:51 +01:00
Marcelo Salazar f754b4325a Split Misc module into Misc/Fill 2016-06-08 01:37:25 +01:00
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