Commit Graph

7039 Commits (38cd901b9d045981ecc16e6e83362efa78b0e72e)

Author SHA1 Message Date
Christopher Haster 38cd901b9d [docs] Added documentation over the cumulative attributes 2016-07-27 17:40:51 -05:00
Sam Grove b171a9c4b8 Merge pull request #2202 from 0xc0170/dev_progen_improvements
Export - define ProGenDef outside of the loop
2016-07-27 02:46:56 -05:00
Sam Grove 90fa585568 Merge pull request #2211 from pan-/nrf52_nrf51_unified_integration
NRF52 target and unification with NRF51
2016-07-27 02:35:43 -05:00
Sam Grove 1e069aa009 Merge pull request #2250 from c1728p9/feature_storage
Update of #2203
2016-07-27 00:59:22 -05:00
Russ Butler 1799ace8ba Fix intermittent config store tests failures
Make the journal object in cfstore_test_startup static since the call
to FlashJournal_initialize keep a copy of this for future use. This fixes
an intermittent crash start started showing up when optimizations
were set to "-os".
2016-07-26 23:07:26 -05:00
Russ Butler bf1ac0d50c Enable the STORAGE feature for the K64F
Enable storage for the K64F since this target supports it.
2016-07-26 23:07:25 -05:00
Simon Hughes c2d849133f Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
Sam Grove 09f9c0e50d Merge pull request #2219 from rgrover/improvements_to_mtd_k64_storage_driver
Improvements to k64 internal-flash storage driver
2016-07-26 22:17:40 -05:00
Sam Grove d1da7bc0e7 Merge pull request #2256 from NXPmicro/K22_RTOS_FIX
The core clock in run mode is 80MHz for K22F
2016-07-26 21:20:23 -05:00
Sam Grove 7c73a659da Merge pull request #2064 from mbedmicro/kl25z-no-rtc
Remove support for the RTC
2016-07-26 20:40:31 -05:00
Sam Grove 96b338df6d Merge pull request #2221 from zgoda/BLUEPILL_sleep_code_refactor
[BLUEPILL_F103C8] Sleep code refactor
2016-07-26 20:27:21 -05:00
Sam Grove 72f03ad111 Merge pull request #2259 from c1728p9/iar_fix
Fix MAIN_THREAD_ID check
2016-07-26 20:21:11 -05:00
Sam Grove c24e461be3 Merge pull request #2248 from pan-/define_stack_stize_for_RTOS_threads_test
Define stack size of the threads spawned by RTOS threads test.
2016-07-26 20:14:51 -05:00
Sam Grove ec1adb23bd Merge pull request #2247 from pan-/define_stack_for_nrf52
Define stack size for RTOS tests when NRF52 is used.
2016-07-26 18:56:52 -05:00
Russ Butler 2d50c60a78 Fix MAIN_THREAD_ID check
In cmsis_os.h OS_TIMERS is undefined unless the timer thread is
disabled, in which case it is defined to 0. When comparing against
an undefined value, the undefined value will evaluate as if it were
0. Because of this the MAIN_THREAD_ID was always set to 0x1.
This patch fixes that problem by checking if OS_TIMERS is defined
before comparing it to 0.

This problem only effects IAR since it has a different heap/stack
layout. GCC_ARM and ARM have a dedicated stack region so
the presence of a guard word and stack checking does not cause
problems.

This problem manifested on the NRF51_DK in the pull request
https://github.com/mbedmicro/mbed/pull/2211
as a c_strings test failure on floating point. This is because the
guard word of the main stack overlapped with standard library
data used by sprintf and corrupted it.
2016-07-26 18:05:58 -05:00
Vincent Coubard 9a92da8afe Fix HEAP and CSTACK placement for IAR on NRF51 and NRF52. 2016-07-26 23:39:02 +01:00
Vincent Coubard d3d6c8144d Set the build configuration for NRF52 to small. 2016-07-26 23:34:46 +01:00
Sam Grove 64928b02df Merge pull request #2244 from bridadan/test-discovery-refactor
Test discovery refactor
2016-07-26 15:45:41 -05:00
Sam Grove 5d7317626c Merge pull request #2249 from c1728p9/client_nanostack_and_seperated
Client nanostack and seperated
2016-07-26 14:30:33 -05:00
Mahadevan Mahesh 5a0ad646a1 The core clock in run mode is 80MHz for K22F
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-07-26 13:50:50 -05:00
Russ Butler 9c01bbc199 Update client and nanostack to include mbed.h
Include mbed.h rather than mbed-drivers/mbed.h.
2016-07-26 10:33:43 -05:00
Jarek Zgoda 093c7b9540 Fix code formatting 2016-07-26 16:50:49 +02:00
Sam Grove 5fea6e69ec Merge pull request #2133 from sg-/rename-file
prepend common .c files with mbed_
2016-07-26 00:29:22 -05:00
Sam Grove f9d38bff37 Merge pull request #2062 from bridadan/shorten-test-binary-name
Changing name of test binaries to just test case folder name.
2016-07-26 00:24:08 -05:00
Sam Grove 381b352df5 Merge pull request #2168 from c1728p9/remove_float_printf
Remove floating point formatting in newlib nano
2016-07-26 00:20:45 -05:00
Russ Butler cef844f6bf Break apart client and nanostack dependencies
Move the library files used by both nanostack and client into a common
location.  This allows both client and nanostack to be built stand-alone.

The patch moves the following libraries into a common location:
-mbed-client-c
-mbed-client-randlib
-mbed-trace
-nanostack-hal-mbed-cmsis-rtos
-nanostack-libservice
-sal-stack-nanostack-eventloop

And moves the library 'coap-service' from client into nanostack.
2016-07-26 00:00:20 -05:00
Sam Grove 4b6159b772 guard Freescale_KLXX shared RTC implementation with DEVICE_RTC 2016-07-25 23:21:33 -05:00
Sam Grove d8f44bb4c1 Remove support for the RTC. Only early versions of the interface firmware provided a clock for the RTC that was used. This has long been depreciated since it also routed the same pin to an ADC on the arduino connector which caused wiring conflicts 2016-07-25 22:40:22 -05:00
Sam Grove fb4b43fb9f Merge pull request #2246 from geky/fix-nsapi-sa-port
[nsapi] Fix missing port assignment in DNS constructor for SocketAddress
2016-07-25 22:15:52 -05:00
Yogesh Pande effa193386 This commit includes
Replacing with source code replicated from respective repositories including
mbed-client - TAG mbed-os-5.0-rc1
mbed-client-c - TAG mbed-os-5.0-rc1
mbed-client-classic - TAG mbed-os-5.0-rc2
mbed-client-mbed-tls - TAG mbed-os-5.0-rc1
mbed-client-randlib - TAG mbed-os-5.0-rc1
coap-service - TAG mbed-os-5.0-rc1
Adding CONTRIBUTING.md file explaining how to submit patches for any of the components belonging to FEATURE_CLIENT
2016-07-25 21:49:16 -05:00
Seppo Takalo 359dc05f28 Move FEATURE_IPV6 under features/net 2016-07-25 21:49:07 -05:00
Seppo Takalo 475cda0639 Update nanostack-hal-cmsis-rtos. 2016-07-25 21:48:37 -05:00
Seppo Takalo 7f65b914a1 Move FEATURE_IPV6 from mbed-os to here.
Contains same version of libraries as https://github.com/ARMmbed/mbed-os/pull/453

Tagged versions
* mbed-mesh-api mbed-os-5.0-rc1
* mbed-trace mbed-os-5.0-rc1
* nanostack-hal-cmsis-rtos mbed-os-5.0-rc1
* nanostack-interface copied. no remote repository
* nanostack-libservice mbed-os-5.0-rc1
* sal-stack-nanostack mbed-os-5.0-rc1 Binaries generated from v5.0.5
    The M3 build is used for both M3 and M4 devices.
2016-07-25 21:47:54 -05:00
Vincent Coubard 2099da6d58 Define stack size of the threads spawned by this test.
This stack size is adjusted for NRF51 and NRF52 based targets.
2016-07-25 23:56:14 +01:00
Vincent Coubard 5676cccc7c Define stack size for NRF52. 2016-07-25 23:46:35 +01:00
Christopher Haster 8f2ca2bc63 Fixed missing port assignment in DNS constructor for SocketAddress
_stack->gethostbyname looks deceptively like it completely sets the
socket address value, however port is not provided via DNS resolution.
2016-07-25 17:46:15 -05:00
Brian Daniels 7b20b0f8f7 Making mcu and toolchain required parameters for test.py
Also renaming 'target' variable to 'mcu' to match make.py
2016-07-25 14:44:09 -05:00
Brian Daniels 1618e608e7 Test discovery now uses build and toolchain logic
Previously, test discovery throught test.py used its own logic to find
tests. This was mostly a subset of the rules used during the build
process. It respected .mbedignore files, but it did not respect TARGET_,
TOOLCHAIN_, and FEATURES_ directories. This change now uses the same logic
used during building to respect these folders. Tests under these folders
that are not being pulled in for the given target will be ignored.
2016-07-25 14:43:52 -05:00
Sam Grove 0675a58009 Merge pull request #2241 from pan-/fix_stack_definitions
Bring missing stack definitions for various targets.
2016-07-25 14:02:42 -05:00
Sam Grove fb7c9f8801 Merge pull request #2235 from sg-/add-mbedtls
Update mbed TLS to version 2.3.0
2016-07-25 13:08:35 -05:00
Sam Grove d2dbce0059 Merge pull request #2239 from pan-/fix_single_thread_rtos_test
Fix behavior when mbed-os RTOS tests are build while the system is singlet hreaded.
2016-07-25 12:55:25 -05:00
Vincent Coubard c05272c642 Merge pull request #3 from anangl/refactored_serial_api
Refactored serial_api implementation.
2016-07-25 15:10:07 +01:00
Vincent Coubard 1752f23ff8 Remove double #else statement 2016-07-25 13:24:57 +01:00
Vincent Coubard d2e683cc1e Bring missing stack definitions for various targets.
Those definitions where available in libraries/test/rtos/mbed/* tests but
not in TESTS/mbedmicro-rtos-mbed/* tests.
2016-07-25 11:57:26 +01:00
Vincent Coubard 80ead8ca1a Fix behavior when mbed-os RTOS tests are build while the system is single
threaded.

For mbed micro, if the MBED_RTOS_SINGLE_THREAD is defined then the
compilation of the test will fail with the info
	[NOT_SUPPORTED] test not supported

This patch bring this behavior to mbed-os RTOS tests.
2016-07-25 11:41:00 +01:00
Głąbek, Andrzej 91bd396a08 Merge branch 'nrf52_nrf51_unified_integration' of https://github.com/pan-/mbed into refactored_serial_api
# Conflicts:
#	hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/uart/nrf_drv_uart.c
2016-07-25 09:06:50 +02:00
Głąbek, Andrzej a8a7df03b7 Corrected serial_api - added waiting for TX completion in 'serial_putc' and before TX_COMPLETE callback, corrected pins configuration routines. 2016-07-25 09:01:05 +02:00
Russ Butler 5206addfd7 Fix intermittent lockup in echo test
The NRF5x driver transmits a byte by writing it to the uart data
register and then waiting for the TXRDY event indicating that this
byte was sent. If another UART interrupt comes in at the right time
the the UART ISR handler will process and clear the TXRDY event,
even though this interrupt is not enabled. This causes serial_putc
to get stuck waiting on an already cleared TXRDY.

This patch fixing the lockup by preventing the UART ISR from handling
the TXRDY event if this interrupt is not enabled.
2016-07-23 11:02:42 +01:00
Sam Grove a4fb649789 Merge pull request #2228 from AlessandroA/update_uvisor
Update uVisor to v0.20.0-alpha
2016-07-23 00:43:08 -05:00
Sam Grove 4794bc87e3 Update mbed TLS to version 2.3.0 2016-07-23 00:13:43 -05:00