Commit Graph

7177 Commits (0712b8adf6bbc7eb796d5dac26f95d79d40745ef)

Author SHA1 Message Date
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
svastm 0e63f4183c [STM32L4XX] Fix i2c clock config
The i2c expected wrongly a 32MHz core clock.

This commit add the following things:
 - I2C now handle both 80MHz and 48MHz core clock speeds
 - Align system_stm32l4xx.x files
2016-07-28 14:31:54 +02: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
cyliangtw d7d841fe17 Stronger RNG 2016-07-28 15:19:39 +08:00
cyliangtw 5710178afb Add NUC472 eth and entropy 2016-07-28 10:00:49 +08:00
ccli8 955695679e Fix compile error with IAR 2016-07-28 10:00:49 +08:00
ccli8 9e40582f0d Remove M453 and uvisor. Replace __disable_irq() with critical_section API
1. Remove M453. It is not to support in this commit.
2. Remove uvisor. It is incomplete and not to support in this commit.
3. Replace __disable_irq() with critical_section APIs.
2016-07-28 10:00:49 +08:00
cyliangtw 872d60fae3 Add IPV4 in NUC472 target 2016-07-28 10:00:49 +08:00
ccli8 6f3540c42d Fix I2C issues
1. I2C active.
2. 7-bit address assert error.
3. Master Repeat Start.
2016-07-28 10:00:49 +08:00
cyliangtw 56678473cd Support ethernet and mbed client 2016-07-28 10:00:49 +08:00
ccli8 41242e3d55 Support NUMAKER_PFM_NUC472 2016-07-28 10:00:49 +08: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