Commit Graph

7124 Commits (6768d81691c71943adea826c3af5aab7dfed89e1)

Author SHA1 Message Date
0xc0170 d26829ad78 Setup - fix progen def name - use dashes 2016-07-29 08:23:51 +02:00
Martin Kojtal b024163993 Merge pull request #2305 from pan-/fix_ble_clock_selection
Fix clock selection used by the softdevice on NRF5 based targets.
2016-07-29 06:49:55 +01:00
Brian Daniels 7a07c386cb Enforcing 'standard' build for mbed OS 5.0 release
This PR enforces that the default_build in a target's definition in
hal/targets.json is set to standard to be included in the version 5
release.

This is being enforced because small builds do not support
multi-threading. This makes the capabilities more consistent across all
boards in the version 5 release.

NOTE: This removes the MOTE_L152RC and the LPC11U68
from the version 5 release list because the 'default_build' for these
targets is currently set to 'small'.
2016-07-28 18:47:49 -05:00
Sam Grove 43bae174f5 Merge pull request #2280 from pan-/nrf-standard-build
Change default_build from small to standard on NRF based targets with at least 32K of RAM.
2016-07-28 17:35:13 -05:00
Vincent Coubard 17254e80d6 Fix clock selection used by the softdevice on NRF5 based targets. 2016-07-28 22:47:59 +01:00
Sam Grove 2a7d364a3a Merge pull request #2301 from bridadan/enable-f429zi-rz_a1h-v5
Enable v5 release for NUCLEO_F429ZI and RZ_A1H
2016-07-28 16:18:53 -05:00
Sam Grove 6973ee6fb8 Merge pull request #2302 from c1728p9/fix_rtc
Fix RTC test for LPC and STM families on GCC
2016-07-28 16:09:37 -05:00
Vincent Coubard a7d1bf7364 Update thread stack size for NRF based targets in rtos tests. 2016-07-28 21:21:31 +01:00
Russ Butler 1da259af3b Fix RTC test failures by removing critical sect
Remove the critical section in mbed_rtc_time.c and instead use a
mutex to protect this. This function does not need to be interrupt
safe, just thread safe.

This fixes crashes on the GCC_ARM toolchain on the RTC test due to
trying to lock the GCC environment mutex while in a critical section.
Prior to this patch, this failure was likely to occur on STM and LPC
processor families.
2016-07-28 14:35:51 -05:00
Russ Butler 4047ff9576 Create dedicated file for PlatformMutex
Move the PlatformMutex class into a dedicated file to reduce the
number of unnecessary includes.
2016-07-28 14:21:04 -05:00
Brian Daniels eacbc93e98 Enable v5 release for NUCLEO_F429ZI and RZ_A1H 2016-07-28 12:26:29 -05:00
Sam Grove 1fb040861b Merge pull request #2269 from nvlsianpu/lfclkdoc2master
documentation regards nRF51/nRF52 Low frequency clock configuration
2016-07-28 11:54:38 -05:00
neilt6 e80b16628d [HAL] Modified SPI to use shared mutex
Modified the SPI class to use a shared mutex for all instances. This is
consistent with I2C and others.
2016-07-28 08:57:59 -06:00
Bogdan Marinescu 36468c9acb Merge pull request #2281 from geky/tools-ca-set-arith-fix
[tools] Fix precedence issue in cumulative attribute set-arithmetic
2016-07-28 16:23:17 +03:00
Andrzej Puzdrowski d885692711 Changes form doc review of the LF clock configuration for nRF51/nRF52 SoCs. 2016-07-28 14:13:33 +02:00
Irit Arkin c86165d9f3 Creating the doxygen front page
I don't have a good text for it yet - I just want to make sure it works properly on docs.mbed
2016-07-28 12:16:49 +01:00
Bogdan Marinescu 4d8cbdc48c Merge pull request #2279 from geky/docs-ca
[docs] Added documentation over the cumulative attributes
2016-07-28 13:43:47 +03:00
Bogdan Marinescu dbd43bb86b Merge pull request #2278 from mbedmicro/fix_config_docs
Documentation updates for the configuration system
2016-07-28 13:42:55 +03:00
0xc0170 9b89fc3b90 Requirements - fix progen def name - use dashes
Fixes #2275. Reference:
http://pybuilder.github.io/documentation/external_plugins.html#.V5m-hfmANBc
2016-07-28 09:17:06 +01:00
Christopher Haster 63f9b03e35 [tools] Added test for removing features 2016-07-27 18:01:33 -05:00
Vincent Coubard a62b00a7d5 Change default_build from small to standard on NRF based targets with at
least 32K of RAM.

NRF targets with 16K keep their default_build configuration set to small.
2016-07-27 23:42:19 +01:00
Christopher Haster 38cd901b9d [docs] Added documentation over the cumulative attributes 2016-07-27 17:40:51 -05:00
Sam Grove c17132ac59 Merge pull request #2277 from yogpan01/master
Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/44
2016-07-27 17:09:49 -05:00
Sam Grove 5df79393fc Merge pull request #2257 from theotherjimmy/install-deps
Force installation of dependencies in entry points
2016-07-27 16:49:12 -05:00
Christopher Haster f3c0ea3664 [tools] Fixed precedence issue in cumulative attribute set-arithmetic
Basically this:
a | b - c  !=  (a | b) - c
2016-07-27 16:47:23 -05:00
Sam Grove 8b98a2caaa Merge pull request #2260 from bridadan/release-versions
Release versions
2016-07-27 16:25:50 -05:00
Brian Daniels e528b6cdea Adding NRF52_DK and NRF51_DK to the v2 and v5 release 2016-07-27 14:52:51 -05:00
Bogdan Marinescu a43919eafa Documentation updates for the configuration system
The configuration system uses `mbed_config.h` to export configuration
data, but when this change was made, the documentation was not properly
updated. This commit updates the documentation with the correct
behaviour of the configuration system.
2016-07-27 22:47:38 +03:00
Yogesh Pande f251c0f128 Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/44
This commit includes
 - Fixed mbed-client Tag mbed-os-5.0-rc2
2016-07-27 22:03:53 +03:00
Brian Daniels 0e4b78f840 Changing 'release' key to 'release_versions'.
The key 'release' in hal/targets.json is ambiguous. This changes the key
to 'release_versions' to emphasize that the entries should be version
numbers/strings and that it should be an array, not a singular value.
2016-07-27 13:38:02 -05:00
Brian Daniels 45cb6c6bd0 MCU-Toolchain matrix: release versions and default to mbed OS 5
This modifies the behavior of 'mcu_toolchain_matrix' in build_api.py. It
now prints release version support in the matrix. It also defaults to only
showing targets in mbed OS 5. You can still show older release versions by
modifying the 'release_version' parameter of the function.
2016-07-27 13:36:53 -05:00
Brian Daniels edc580758e Adding concept of release versions for targets.
Previously, the condition for including a target in a release was decided
by a 'release' key being set to 'true' in hal/targets.json. This doesn't
have enough granularity when we release multiple versions of mbed. This PR
changes the 'release' key to an array of strings, where each member is a
version that the target supports. Currently the valid versions are '2' and
'5'.

This PR also adds more robust checking for invalid target configurations
in a release. This is enforced whenever the release list is built from the
data, preventing invalid targets from coming into the release.

Finally, it updates the build_release.py script to use the new api for
fetching release targets.
2016-07-27 13:36:52 -05:00
Andrzej Puzdrowski 849e644c43 typos 2016-07-27 13:15:36 +02:00
Andrzej Puzdrowski 412d0fe5f1 Typo in l 2016-07-27 13:15:35 +02:00
Andrzej Puzdrowski 587c8952bc Add draft of doc for the ll clock configurtion using mbed configuration system. 2016-07-27 13:15:34 +02: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