Commit Graph

8623 Commits (53cd23e285c0c8ca58f5079968ccc367dea98c8c)

Author SHA1 Message Date
Jussi Vatjus-Anttila aa5990ec83 Update issue_template.md 2016-09-02 15:25:01 +03:00
Sam Grove cc3a3820db Merge pull request #2384 from ARMmbed/jenkinsfile
Create Jenkinsfile
2016-09-02 15:15:46 +03:00
Martin Kojtal 2df22277a5 alloc wrappers - fix calloc wrapping for uvisor
Done already in 7c0cc50, same applied to alloc wrappers that was moved
from retarget.
2016-09-02 11:07:19 +01:00
Martin Kojtal fd9d89aad0 retarget - fix uvisor header inclusion 2016-09-02 11:03:21 +01:00
Jimmy Brisson 3437829af1 return the number of failures from the script 2016-09-01 16:01:12 -05:00
Brian Daniels 4f4112b18e Consolidating timer reads to reduce drift 2016-09-01 15:12:38 -05:00
Brian Daniels 07a23556a9 Reducing number of timeouts to decrease drift 2016-09-01 15:12:06 -05:00
Radhika bc4ead59cd Adding ON Semiconductor copyright notice. 2016-09-01 16:55:41 +05:30
Russ Butler 126c8be053 Remove IPv6 link time dependency on an RF phy
Create a Nanostack rf phy class to wrap various rf physical interfaces.
Allow this phy to be set at runtime rather than compile time.
2016-08-31 15:24:51 -05:00
Jimmy Brisson f983292a6b Separate the import and compile steps for better integration with Jenkins 2016-08-31 15:17:29 -05:00
Neil Thiessen 9eafc810f3 Fixed compiler warning suppression
"#3731-D: intrinsic is deprecated" compiler warnings should only be suppressed on the ARM toolchain.
2016-08-31 13:30:45 -06:00
Jimmy Brisson ac5c685389 Use mbed-os 5 example instead of the mbed 2 one 2016-08-31 14:25:59 -05:00
Jimmy Brisson 41ec0af7aa Update Docstring 2016-08-31 13:54:41 -05:00
Jimmy Brisson 64e71e2f3a Use IPV6 feature for filtering mesh, client, and sockets 2016-08-31 13:40:34 -05:00
Jimmy Brisson 4b1dcd398c Allow filtering by target as well as by features 2016-08-31 13:40:03 -05:00
Jimmy Brisson 1f0afebbbc Allow command-line filtering of toolchains 2016-08-31 13:24:59 -05:00
Neil Thiessen 284e9f8d3b [HAL] Fixed "intrinsic is deprecated" warnings
Suppressed "#3731-D: intrinsic is deprecated" compiler warnings in critical API.
2016-08-31 12:10:01 -06:00
Neil Thiessen 6aab0606a1 [HAL] Improve memory tracer
Fixed a bug and compiler warning in the memory tracer implementation.
2016-08-31 11:46:42 -06:00
svastm b56201c8c4 Fix TCPServer constructor
- Avoid a call to the protected method `get_stack()` which cause a build fail.
 - Remove the constructor definition `TCPServer(NetworkStack *stack)`
   because it has no implementation.
2016-08-31 17:35:10 +02:00
Vincent Coubard cb4a7fa85e Use greentea_serial SingletonPtr. 2016-08-31 16:24:12 +01:00
Jussi Vatjus-Anttila 217b0da044 small updates 2016-08-31 15:08:51 +03:00
ccli8 0194135bf3 [NUC472] Fix heap configuration error with armcc
In rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h, Image$$ARM_LIB_HEAP$$Base/Image$$ARM_LIB_HEAP$$Length will cause zero memory allocation.
Fix it with Image$$ARM_LIB_HEAP$$ZI$$Base/Image$$ARM_LIB_HEAP$$ZI$$Length. This is to place heap at external SRAM.
2016-08-31 14:32:13 +08:00
Brian Daniels e678325730 Modifying timing tests to use timing drift host test 2016-08-30 14:53:18 -05:00
Brian Daniels f6c60d07ac Adding timing drift host test 2016-08-30 14:38:30 -05:00
Brian Daniels 6e223e311c Removing threaded_blink test (duplicate of basic rtos test) 2016-08-30 14:37:30 -05:00
Russ Butler ef45ef8dae Fix GCC locks for lazy object initailization
Implement the functions __cxa_guard_acquire, __cxa_guard_release and
__cxa_guard_abort so lazily initialized function-local static objects
are done so in a thread safe manner in GCC.
2016-08-30 11:23:12 -05:00
Russ Butler 69431da0c7 Add a test to check for init race conditions
Test SingletonPtr initailization along the with lazy initailization
that is built into the C++ language itself.
2016-08-30 11:23:11 -05:00
Marcos Gomes bc2dc5e60e Added support for ADC only pins in LPC43xx 2016-08-30 16:55:16 +01:00
Russ Butler 1ef06f5eb0 Set size of callback irq array to IrqCnt
Rather than hard coding the size of the callback array for irqs,
instead set the size to IrqCnt which is defined by the irq enumeration.
2016-08-30 10:33:44 -05:00
Laurent MEUNIER 498de9c88c [STM32] Move RTC_LSI to macros instead of device_has
device_has is a control list for generic apis, while macros can be used
more freely. DEVICE_RTC_LSI being STM32 specific, it is moved to macros.
2016-08-30 15:09:14 +02:00
Laurent MEUNIER 62841f31d5 [STM32L4] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER 6c36a211dc [STM32L1] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER 4f7a654896 [STM32L0] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER 5d25183212 [STM32F7] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER de74ef152c [STM32F4] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER a5eaf1540b [STM32F3] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER 0ac02a5e4b [STM32F1] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER dca48d7ab0 [STM32F0] Make device.h a common file 2016-08-30 15:00:22 +02:00
Laurent MEUNIER d889a609e9 [STM32] clean-up DEVICE features
Device features definition have been moved to targets.json,
so definitions in device.h are not required anymore.
2016-08-30 15:00:22 +02:00
Vincent Coubard a9d9987d7c Fix a rare case of imcompatibility between base_control_t and control_t.
Both branches of a ternary operator should yield the same type;
compatibility is not enough in that case.
2016-08-30 13:29:19 +01:00
Vincent Coubard 85bce1467f Improve compatibility between base_control_t and control_t.
* provide missing member functions from control_t in base_control_t
* construction of control_t from reference of base_control_t instead of
  value.
* overload operator+ for all permutations between control_t and
  base_control_t.
2016-08-30 13:29:17 +01:00
Vincent Coubard df3e3b251d Fix scope of the serial variable. 2016-08-30 13:29:16 +01:00
Vincent Coubard daa135a1b3 Move defaults and handlers variable into a static function.
This change allow a lot of code from utest to be removed from the final
binary if not used.
2016-08-30 13:29:14 +01:00
Vincent Coubard eed52a05d5 Replace default_handlers value by a reference. 2016-08-30 13:29:12 +01:00
Vincent Coubard 4bf28d474c Convert case_control to a POD. 2016-08-30 13:29:10 +01:00
Vincent Coubard 7a6edda44c Enhance compatibility between control_t and base_control_t:
* Add conversion operator in control_t to convert instances to base_control_t
2016-08-30 13:29:09 +01:00
Vincent Coubard 6d319c521f Construct control_t from a POD struct.
Replace const control_t instances by this POD.

This save memory and prevent inclusion of the constants in the binary if
they are not used.
2016-08-30 13:29:07 +01:00
Vincent Coubard 8fa239cdfd Move constant definitions of non POD object into cpp file.
It save space and fix the ODR violation.
2016-08-30 13:29:05 +01:00
Vincent Coubard 2bc5c3d069 Move global Timeout object from utest_shim in static function.
The change of scope allow the linker to remove the variable if not used.
2016-08-30 13:29:03 +01:00
Vincent Coubard acc3115e27 Move utest global serial object into a function.
That way it is not a global object anymore and is not attached to the
.init section and init array. If the function which contain the object is
not called then the serial object will not be present in the final binary.
2016-08-30 13:23:08 +01:00