Commit Graph

6504 Commits (39197e6ad32e4a628afb783d29aec319cf25c597)

Author SHA1 Message Date
Brian Daniels 93773bad68 Calling mbed_main when using RTX and compiling with IAR 2016-06-23 17:09:38 -05:00
Jimmy Brisson ee8a02c6ab Generalize export format flag input 2016-06-23 15:45:31 -05:00
Jimmy Brisson f442fd9394 Broaden acceptable toolchain spec; improved incorrect toolchain error 2016-06-23 15:45:31 -05:00
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
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
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
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
svastm e4f38b031f Fix html report exporter row tag 2016-06-22 11:36:22 +02: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
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
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
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
Bartosz Szczepanski c094dcd960 [STM32F0xx] LowPowerTicker implementation
Change-Id: I3eb37aa7e35df901b7d3cd00069638425fb3fdc6
2016-06-17 08:18:37 +02:00
Mihail Stoyanov fb5c4a6381 Fixed double-ignored files that cause python exception
Also simplify build scanning logic and add comments
2016-06-17 00:46:14 +01:00
Mihail Stoyanov a387a74a78 Merge https://github.com/mbedmicro/mbed 2016-06-17 00:40:15 +01:00
Sam Grove a07a118410 Merge pull request #1961 from 0xc0170/spi_order_name
spi hal - specify default bit order
2016-06-17 00:05:38 +01:00
Sam Grove 40d4599431 Merge pull request #1959 from screamerbg/exporter-features
Fixed exporters to support features
2016-06-17 00:01:36 +01:00
Sam Grove 62855f06fb Merge pull request #1963 from meriac/dev
Re-import uVisor library v0.9.16-alpha
2016-06-16 21:33:11 +01:00
Milosch Meriac 3fdb44c586 Re-import uVisor library 2016-06-16 17:46:24 +00:00
Alessandro Angelino 88382007aa Add configuration file for when FEATURE_UVISOR is set
The configuration file at the moment only contains the CMSIS NVIC
virtualization macros. When FEATURE_UVISOR is set, we turn on CMSIS NVIC
virtualization automatically.

This removes the need for users to specify the macros themselves.

If UVISOR_SUPPORTED is set as well, the NVIC macros are turned into vIRQ
ones, otherwise they stay NVIC as usual, thanks to the fallback
implementation provided by `unsupported.h`.
2016-06-16 17:46:23 +00:00
Milosch Meriac 6fcf168bd1 Import box initialization code from uvisor repository 2016-06-16 17:38:53 +00:00
Milosch Meriac 3e56d7d941 Temporarily switch to unstable branch 2016-06-16 17:38:53 +00:00
Jaeden Amero 409ecf6be6 Call the pre-start event unprivileged 2016-06-16 17:38:52 +00:00
Mihail Stoyanov 89bb38f683 Fixed exporters to support features
Unified how resources are loaded into the configuration system
(Config.load_resources) and applied it to build_api and exporters
2016-06-16 18:12:04 +01:00
Martin Kojtal 1e18ea230a Merge pull request #1957 from mbedmicro/config_headers
Configuration in header files - step 1
2016-06-16 18:47:15 +02:00
Martin Kojtal 42bc1a43ee Merge pull request #1890 from bcostm/fix_f0_force_serial_reset
[STM32F0] Add USART force/release Reset at Init phase
2016-06-16 17:10:30 +02:00
Martin Kojtal b79e95ab7e Merge pull request #1894 from bcostm/fix_f3_force_serial_reset
[STM32F3] Add USART force/release Reset at Init phase
2016-06-16 17:07:31 +02:00
Martin Kojtal 39acdd66a0 Merge pull request #1945 from jeromecoutant/PR_UpdateF0_driver_v1_6_0
STM32Cube_FW_F0_V1.6.0
2016-06-16 17:06:10 +02:00
0xc0170 50663758f0 spi hal - specify default bit order 2016-06-16 15:31:17 +01:00