Commit Graph

7039 Commits (38cd901b9d045981ecc16e6e83362efa78b0e72e)

Author SHA1 Message Date
Laurent MEUNIER 0f49396a0a [STM32F4] Add ADC2 support to F4 family
Introducing ADC2 support for NUCLEO_F446ZE implies to have the support
in the core part for all F4 chipsets that possibly support it (even if
not supported on all boards).
2016-06-23 17:08:22 +02:00
Andrzej Puzdrowski e259029e67 Merge pull request #6 from anangl/nordic_sdk_integration
Made some corrections needed to build successfully the tests for nRF51.
2016-06-23 14:13:59 +02:00
Głąbek, Andrzej 8249a7f2c5 Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	tools/build_api.py
2016-06-23 09:03:18 +02:00
Kevin Bracey b74546c731 Warn about or prevent VLA use in C++
ARM and GNU compilers currently are in a mode where they will accept VLAs
in C++ as an extension. IAR does not accept them in C++.

Avoid potential portability surprises by making GCC warn, and
deactivating the extension in ArmCC.
2016-06-23 09:57:05 +03:00
Andrzej Głąbek bb2111a973 Merge pull request #8 from pan-/backport_tests_fix
Fixing test builds for devices with softdevices.
2016-06-23 08:56:52 +02:00
Kevin Bracey 80a03e1787 Turn on C99 VLAs in IAR
IAR defaults to C99 mode, but doesn't enable VLAs by default. Enable them
to make it more conformant.

We don't have much if any code using actual variable-length arrays, but
variably-modified types are occasionally used. The same switch controls
both.

(VLAs were actually already enabled in most of the project export
templates, but not the build script).
2016-06-23 09:34:12 +03:00
Głąbek, Andrzej f880312477 Merge branch 'nordic_sdk_integration' of https://github.com/ARMmbed/mbed-nordic into nordic_sdk_integration
# Conflicts:
#	hal/targets.json
#	hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822/system_nrf51.c
#	hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c
2016-06-23 07:03:18 +02:00
Christopher Haster 5a4c5df4dc [tools] Reordered option handling in toolchains
Options were parsed and logged before per-toolchain
logging was setup.

Fixes #1990
2016-06-22 09:23:33 -05:00
Bogdan Marinescu f864b8439f Merge pull request #1983 from mbedmicro/fix_config_tests
Fix K64F-based config tests
2016-06-22 16:47:32 +03:00
Głąbek, Andrzej 601b96dde2 Restored alternative method of RTOS tick generation for NRF51, which was undesirably removed when the new us_ticker implementation was introduced. 2016-06-22 15:09:54 +02:00
Głąbek, Andrzej 6c7d15d381 Re-enabled SPI after adjusting HAL implementation to slightly different API. 2016-06-22 13:55:36 +02:00
svastm e4f38b031f Fix html report exporter row tag 2016-06-22 11:36:22 +02:00
Brian Daniels 22b5c78191 Fixing test builds for devices with softdevices.
Previously, .hex files were not copied when building source as a library.
This prevents builds that pre compile source as a library and then
includes the build directory as the only source (because there is no
softdevice present). This PR copies hex files when compiling source
as a library.
2016-06-22 09:30:02 +01:00
Bogdan Marinescu 3bc7d40a74 Added documentation for the configuration system 2016-06-22 11:16:57 +03:00
Brian Daniels f340a6de0d Adding config tests to travis script 2016-06-21 19:09:15 -05:00
Sam Grove 35be1051b8 Merge pull request #1968 from screamerbg/rename-mbed-config
Rename mbed_conf.h to mbed_config.h
2016-06-21 18:16:12 -05:00
Sam Grove 5782dd984c Merge pull request #1980 from mbedmicro/revert-1974-master
Revert "cfstore flash-journal integration with config_system (Resubmitted)"
2016-06-21 18:15:15 -05:00
Mihail Stoyanov 541c478dbf Remove tracking of existing mbed_config.h in the source tree 2016-06-21 23:43:09 +01:00
Mihail Stoyanov 4d68152ef1 Rename mbed_conf.h to mbed_config.h
Following the pattern device_has to DEVICE_, features to FEATURE_,
the mbed config system should map to mbed_config.h
2016-06-21 23:41:04 +01:00
Mihail Stoyanov d0e58aba94 Merge https://github.com/mbedmicro/mbed 2016-06-21 23:40:32 +01:00
Sam Grove 3a01862a4f Merge pull request #1967 from screamerbg/fix-double-ignores
Fixed double-ignored files that cause python exception
2016-06-21 17:36:01 -05:00
Sam Grove 3f5ab2fbb1 Revert "cfstore flash-journal integration with config_system (Resubmitted)" 2016-06-21 17:32:57 -05:00
Jimmy Brisson 65517d6513 Removes units to make the table fit without scrolling on github 2016-06-21 16:30:29 -05:00
Jimmy Brisson 6906b97ba0 Adds a simple text file report format
Should resolve #1583
2016-06-21 16:20:19 -05:00
Bogdan Marinescu 20583ba172 Fix K64F-based config tests
PR #1974 added a new configuration parameter to K64F, which in turn made
some tests break, because they found an unexpected configuration
parameter. Fixed by defining a special target for the tests
(test_target) that can be used independently of the actual mbed targets.
2016-06-21 19:58:03 +03:00
Michel Jaouen 0c7b6dced5 [TARGET_STM32F3]: Update Hal 1.5.0 2016-06-21 11:46:34 +02:00
Andrzej Puzdrowski 089143e114 Merge pull request #7 from pan-/ble_integration
Ble integration
2016-06-21 09:14:30 +02:00
Andrzej Puzdrowski 05fea6e286 Corection in macros for NRF5x devices
Remove duplicated macro "BLE_STACK_SUPPORT_REQD" for MCU_NRF51
add macro "S132" for MCU_NRF52
2016-06-21 09:13:20 +02:00
Bogdan Marinescu 76c8be692c Merge pull request #1974 from simonqhughes/master
cfstore flash-journal integration with config_system (Resubmitted)
2016-06-20 11:56:17 +03:00
Mihail Stoyanov e835c48cc8 Rename ignore_ptrs to ignore_patterns
Add comments to code
2016-06-17 23:27:50 +01:00
Simon Hughes f299b113bb Adding K64F config properties while retaining additional targets LOWPOWERTIMER 2016-06-17 17:33:39 +01:00
Simon Hughes 6d76dacef7 cfstore flash mode set to async by default 2016-06-17 17:16:23 +01:00
Simon Hughes e5c081e23f cfstore flash mode set to sync by default 2016-06-17 17:16:21 +01:00
Simon Hughes 8f6957e195 cfstore flash-journal integration sync mode test fixes. 2016-06-17 17:16:19 +01:00
Bogdan Marinescu ca2fd64722 Merge pull request #1970 from mbedmicro/config_bool_to_int
Config bool to int
2016-06-17 14:25:48 +03:00
Bogdan Marinescu 8e8f389d3a Merge pull request #1876 from geky/newline-conversion
Add newline conversion for stdout
2016-06-17 13:29:56 +03:00
Vincent Coubard daf7ef352d Import assert fix from mbed v3. 2016-06-17 11:26:48 +01:00
Vincent Coubard d1b902a46d Update NRF51 link and startup sequence.
* Update softdevice offset so they match the offset of sd 2.0.
* Update RAM initialization sequence.
* Import fs_data section in final binary
2016-06-17 11:26:46 +01:00
Vincent Coubard 3fe77a5efe Fix known BUG in nrf_svc.h when compiled by GCC. 2016-06-17 11:26:44 +01:00
Vincent Coubard 96b2604469 Remove obsolete softdevices. 2016-06-17 11:26:42 +01:00
Vincent Coubard 10c803ee3b Add LF clock initialization in startup sequence. 2016-06-17 11:26:40 +01:00
Vincent Coubard 38671de942 Remove unused BLE services. 2016-06-17 11:26:38 +01:00
Vincent Coubard 1b826f286b Namespace softdevice headers to avoid conflict wih other headers. 2016-06-17 11:26:25 +01:00
Vincent Coubard 7ad0af3265 Enable BLE feature on NRF51 and nrf52.
Update softdevice references.
Add BLE and softdevice related macros.
Add specific macros for NRF52_DK.
2016-06-17 11:02:37 +01:00
Vincent Coubard c8dc17aa4f Import radio notification from the nordic SDK (required y BLE
implementation).
2016-06-17 11:00:24 +01:00
Bogdan Marinescu 6858117ff2 Conversion of boolean configuration parameters to integers
Boolean configuration parameters will now be generated as integers (1
for True, 0 for False).
2016-06-17 12:56:10 +03:00
Bogdan Marinescu 8f8733480a Remove redundant whitespaces 2016-06-17 12:19:11 +03:00
Christopher Haster 54609f6d62 Added default value for MBED_CONF_CORE_STDIO_CONVERT_NEWLINES 2016-06-17 03:54:39 -05:00
Martin Kojtal abf9850559 Merge pull request #1796 from BartSX/lptickerF0
[STM32F0xx] LowPowerTicker implementation
2016-06-17 09:51:09 +01:00
Bartosz Szczepanski 4b5a3175f9 [STM32F0xx] Enable LowPowerTimer
Change-Id: Id23b9d3a0f9a9a3c8a8501a4ba8de6256bc591dd
2016-06-17 08:30:15 +02:00