Commit Graph

7124 Commits (6768d81691c71943adea826c3af5aab7dfed89e1)

Author SHA1 Message Date
Sam Grove 6768d81691 add HEXIWEAR to both releases for 2 and 5 2016-08-03 17:38:07 -07:00
Sam Grove 89962277c2 Merge pull request #2358 from bridadan/add-utest-readme
Adding README for utest
2016-08-03 17:23:40 -05:00
Sam Grove 824c6d6100 Merge pull request #2362 from NXPmicro/HEXIWEAR_Pin_Update
K64 HEXIWEAR: Add CTS and RTS pin defines
2016-08-03 17:18:38 -05:00
Mahadevan Mahesh d581798e2a K64 HEXIWEAR: Add CTS and RTS pin defines
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-08-03 15:39:14 -05:00
Sam Grove 795d92f5b8 Merge pull request #2357 from c1728p9/stack_revert_and_null_tid
Stack revert and null tid
2016-08-03 15:09:21 -05:00
Russ Butler 7b65eb2d9e Remove NRF51_MICROBIT from 2.0 rtos testing
The micro:bit is running rtos tests, even though this is a 16K device
that should not be using multiple threads. This patch removes it from
the 2.0 RTOS tests.
2016-08-03 13:29:20 -05:00
Brian Daniels fc65ce08e0 Adding README for utest
This README was pulled from the project's repo here:
https://github.com/ARMmbed/utest. I made minor modifications to the README
to reflect the changes to the default scheduler (using a Timeout object
instead of MINAR).
2016-08-03 13:20:31 -05:00
Russ Butler 191596ea57 Set thread ID to NULL after termination
After a thread has been terminated set its ID to NULL since the handle
is no longer valid. This prevents accidental use of a deleted thread.
2016-08-03 11:02:46 -05:00
Russ Butler efddaf49d6 Revert "Decrease nrf51 semaphore test stack size"
This reverts commit cdb62583cb.
2016-08-03 10:58:13 -05:00
Sam Grove dd36dc4228 Merge pull request #2349 from c1728p9/nanostack_unsupported
Adding error message for unsupported platforms
2016-08-03 00:45:08 -05:00
Sam Grove 32b134e277 Merge pull request #2345 from pan-/fix_nrf51_export
Fix nrf51 export
2016-08-02 23:18:12 -05:00
Sam Grove fd5e2dd297 Merge pull request #2348 from c1728p9/thread_safe_thread_class
Thread safe thread class
2016-08-02 23:11:44 -05:00
Russ Butler 607ade0596 Adding error message for unsupported platforms
* Error message for unsupported platforms
2016-08-02 22:45:46 -05:00
Russ Butler cdb62583cb Decrease nrf51 semaphore test stack size
Decrease the stack size of the threads used on semaphore test for
the nrf51. This fixes a crash due to being out of heap memory.
2016-08-02 21:18:00 -05:00
Russ Butler 55d74c55ed Fix join and make Thread class thread safe
Add a mutex to the thread object to protect its internal data. Prevent
making OS calls with a thread ID that has been terminated. This thread
ID can be reused by another thread, leading to undefined behavior if it
is used after termination.

Update the function Thread::join to use a semaphore to
determine when the thread finishes. This both avoids polling and
prevents a freed TCB from being accessed.
2016-08-02 21:17:40 -05:00
Sam Grove 4fd188ff75 Merge pull request #2346 from pan-/shortned_nrf51_sdk_paths
Shortned nrf51 sdk paths
2016-08-02 20:50:13 -05:00
Sam Grove d83157a6fa Merge pull request #2333 from bridadan/build-library-clean
Adding clean support back to build_library
2016-08-02 18:58:40 -05:00
Sam Grove 8c3c98b644 Merge pull request #2332 from bridadan/add-net-test
Patch of #2318
2016-08-02 18:57:12 -05:00
Sam Grove e4db590789 Merge pull request #2330 from theotherjimmy/ds-5-toolchain
Add toolchain flag to DS-5 exporter
2016-08-02 17:18:35 -05:00
Sam Grove 76ea1ccb4a Merge pull request #2317 from geky/fix-ca-config-scan
[tools] Fixed infinite loop in config scan due to list comparison error
2016-08-02 17:05:13 -05:00
Sam Grove 98c9364df7 Merge pull request #2343 from geky/fix-lwip-reconnect
[nsapi] Fix issue with reconnecting the ethernet interface
2016-08-02 17:04:36 -05:00
Vincent Coubard 80f296202c Fix goals for NRF51_DK makefile:
Now "all" depend on the project merged with the soft device,
the goal merged has been renamed into the file it generate and now depend
on the realization of $(PROJECT).hex
2016-08-02 22:55:15 +01:00
Vincent Coubard 5323c29080 Remove unneded folders in NRF51 SDK.
Move content from sources/nordic_sdk/components to sources.
2016-08-02 22:32:44 +01:00
Vincent Coubard 5638d338d0 Rename nrf51-sdk into sdk. 2016-08-02 22:29:02 +01:00
Vincent Coubard 0320f3b89e Change merged file name to $(PROJECT)-combined.hex . 2016-08-02 22:21:00 +01:00
Vincent Coubard 4223a257f9 Add the merge goal to the list dependent goals of all.
Fix import of the softdevice hex file.
2016-08-02 21:35:10 +01:00
Vincent Coubard 142e014a7f Add hex files to the exporter context. 2016-08-02 21:33:26 +01:00
Vincent Coubard b2c809ea56 Remove unneeded NRF51 hex files, can be confusing for exporter. 2016-08-02 21:30:39 +01:00
Christopher Haster 06826a935d Fixed issue with reconnecting the ethernet interface
Previously the EthernetInterface class was unable to be connected
after being brought down. The core issue is that lwip was not designed
to be completely brought down due once initialized.

To work around this, the ethernet interface only initializes once and
leaves itself up after a disconnect call. The DHCP lease is still
released/acquired on disconnect/connect.
2016-08-02 13:33:13 -05:00
Bogdan Marinescu c6c8d42b0f Merge pull request #2303 from theotherjimmy/export-asm-symbols
Add missing --preinclude and -input on assembly files
2016-08-02 20:57:39 +03:00
Jimmy Brisson 3873ccc232 Add -D options to iar assembler on export 2016-08-02 11:39:46 -05:00
Jimmy Brisson 965ffc3e28 Add CC_SYMBOLS to assembler invocation 2016-08-02 10:46:57 -05:00
Bogdan Marinescu 68d48ea541 Merge pull request #2337 from pan-/nrf51_export_ram_definition
Export RAM start/stop symbols on NRF51
2016-08-02 15:56:56 +03:00
Vincent Coubard 158c883dcd Export symbols __ICFEDIT_region_RAM_start__ and
__ICFEDIT_region_RAM_stop__ on NRF51.

Those symbols are needed by the nordic SDK.
2016-08-02 11:22:03 +01:00
Bogdan Marinescu a7a932555e Merge pull request #2329 from hasnainvirk/master
Updating Nanostack Binary for ARMCC
2016-08-02 12:53:44 +03:00
Brian Daniels 6df903f8a6 Adding clean support back to build_library
At some point, the actual code that did the "clean" for build_library was
removed. This also affected building and cleaning tests. This adds this
capability back to the build API.
2016-08-01 18:16:53 -05:00
Brian Daniels c355fb16d4 Restricting IPV4 echo tests to chars 0-9.
Having the echo tests generate any random character
caused issues serializing the test output into an
xml file. This change limits the characters generated
by the device to '0' - '9'.
2016-08-01 16:48:21 -05:00
Jimmy Brisson 9d0e65f47a Add toolchain flag to DS-5 exporter 2016-08-01 14:07:12 -05:00
Hasnain Virk 8f7e57919b Updating Nanostack Binary for ARMCC
* No code change.
* Binary built and fetched from Jenkins.
* Tested with mbed-os-example-mesh-minimal
2016-08-01 21:47:53 +03:00
Sam Grove 4b506280eb Merge pull request #2321 from mbedmicro/revert-2257-install-deps
Revert "Force installation of dependencies in entry points"
2016-07-29 17:40:31 -05:00
Sam Grove c84e5d32c9 Revert "Force installation of dependencies in entry points" 2016-07-29 17:35:23 -05:00
Sam Grove ea78ed1699 Merge pull request #2300 from bridadan/enforce-standard-boards-v5
Enforcing 'standard' build for version 5 release
2016-07-29 17:15:55 -05:00
Sam Grove 5f43f18ba3 adding tests for net/IPV4 2016-07-29 16:10:36 -05:00
Christopher Haster b45ec0ed76 [tools] Added specific config test for uvisor
Unlike other libraries, uvisor is currently integrated into the build
system, with special cases based on its addition as a feature. This
suggests we should also have tests for these special cases.
2016-07-29 12:31:54 -05:00
Christopher Haster 6ea4006b5a [tools] Fixed infinite loop in config scan due to list comparison error
Previously a scanning for config terminated on comparison of the feature
set, however at some point the set was changed to a list. This resulted
in non-deterministic failures based on list order.
2016-07-29 12:20:52 -05:00
Jimmy Brisson 209cf9f167 Add config file inculde directory when present 2016-07-29 11:38:38 -05:00
Jimmy Brisson fed50f8f18 Add missing --preinclude and -input on assembly files
Except for IAR, it does not support the --preinclude option for assembly
files but all of the other exporters can. It was less code to remove it
in IAR than to explicitly add it in all of the other exporters.
2016-07-29 11:02:07 -05:00
Martin Kojtal ac34f29f66 Merge pull request #2297 from neilt6/spi-mutex-fix
[HAL] Modified SPI to use shared mutex
2016-07-29 17:30:38 +02:00
Martin Kojtal 9cb049fc24 Merge pull request #2295 from iriark01/patch-2
Creating the doxygen front page
2016-07-29 13:01:24 +02:00
Martin Kojtal 539bd2bead Merge pull request #2284 from 0xc0170/fix_2275
Requirements - fix progen def name - use dashes
2016-07-29 08:52:24 +02:00