Commit Graph

8208 Commits (a25d453dae500f3e164da82dfee3375ca38a6a9c)

Author SHA1 Message Date
Sam Grove a2500f877b add HEXIWEAR to RTOS tests 2016-08-03 17:40:36 -07:00
Sam Grove 6768d81691 add HEXIWEAR to both releases for 2 and 5 2016-08-03 17:38:07 -07:00
Brian Daniels a596529780 Increasing the heap for KL46Z for IAR.
The KL46Z passes all tests except the following when built with IAR:
tests-mbedmicro-rtos-mbed-threads. This is because the heap is becomes
fully allocated.This commit increases the heap from 8K to 16K.
2016-08-03 18:09:26 -05:00
Brian Daniels 78b9c39f9d Adding docs for the testing process for mbed OS 5 2016-08-03 18:00:42 -05:00
Sarah Marsh b910cfe08c Removed incorrect list removal 2016-08-03 17:26:08 -05: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
Christopher Haster 4b62957ef9 Marked VK_RZ_A1H as release for mbed 2 and mbed 5
per @sg-
2016-08-03 15:01:58 -05:00
Christopher Haster 438d124acc Added FEATURE_IPV4 to the VK_RZ_A1H 2016-08-03 14:21:46 -05:00
Sarah Marsh 02cdaebc95 Removed preinclude config from asm flags 2016-08-03 13:49:50 -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
svastm 4f82e34487 [STM32F207ZG] Fix IAR memory init
The icf file was not align with other targets and they were no reserved
space for NVIC vectors.
2016-08-03 17:00:52 +02:00
EvArk b4afc203b9 STM32F1 serial_api initialize failure message 2016-08-03 16:40:28 +03:00
svastm b00d8331c4 [STM32F303RE] Fix initial SP on ARM and uARM
Switch initial stack pointer from 0x2000 4000 to 0x2001 0000 (top of ram)
2016-08-03 13:00:18 +02:00
svastm a8d22e55ae [STM32F1XX] Clean pwm and analog definition
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-03 10:47:56 +02:00
svastm 0bdc6d81b3 [STM32F0XX] Clean pwm and analog definition
To be more consistant with ST targets, this commit change analog and pwm
channel definitions to PeripheralPins.c
2016-08-03 10:47:05 +02:00
Peeyush pashine 1cbdc15c72 Update analogin_api.c
Software trigger for ST NUCLEO F1x series boards:

Issue:

https://github.com/ARMmbed/mbed-os/issues/1672#issuecomment-236565445
2016-08-03 12:30:22 +05:30
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
Mihail Stoyanov a4c3469b7b Empty the multiprocessing queue before terminating it 2016-08-02 16:53:58 +01: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 e861755f27 Fix nrf51 stack on IAR. 2016-08-02 12:10:32 +01:00
Mihail Stoyanov 31a59c930d Allow targets to be reloaded using set_targets_json_location() 2016-08-02 11:42:21 +01: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