Commit Graph

6439 Commits (6867499da373e64dda87e269c81b551a7ee4501a)

Author SHA1 Message Date
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
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
Bogdan Marinescu a164224acf Changed prefix file name to mbed_conf.h
Also changed some function names to make it clear that the prefix
headers feature is only used for config.
2016-06-16 17:01:41 +03:00
Martin Kojtal b4bb088876 Merge pull request #1960 from AlessandroA/fix_volatile_missing
K64F KSDK2: Re-add missing volatile in CLOCK functions
2016-06-16 15:52:21 +02:00
Martin Kojtal 9836fedd33 Merge pull request #1915 from anpilog/master
Fix pin mode for STM32F1 target.
2016-06-16 15:22:16 +02:00
Bogdan Marinescu 85eca37d29 Added toolchain support for configuration in prefix headers
This commit uses the previously introduced feature of generating
configuration data as a C header file rather than as command line macro
definitions. Each toolchain was modified to use prefix headers if
requested, and build_api.py was modified to set up the toolchain's
prefix header content using the data generated by the config system.

Tested by compiling blinky for GCC and ARMCC. I'm having a few issues
with my IAR license currently, but both ARMCC and IAR use the same
`--preinclude` option for prefix headers, so this shouldn't be an issue.

Note that at the moment all exporters still use the previous
configuration data mechanism (individual macro definitions as opposed to
a prefix header). Exporters will be updated in one or more PRs that will
follow.
2016-06-16 16:13:50 +03:00
Alessandro Angelino 75fa7af17c K64F KSDK2: Re-add missing volatile in CLOCK functions
A previous patch removed two `volatile` keywords by mistake, which are
here re-introduced.

Fixes:

* 23904e7 "Access MCG and SIM through secure access"
2016-06-16 13:18:24 +01:00
Bogdan Marinescu 80a70fcb51 Simplified string formatting expressions in get_config_data_header 2016-06-16 11:41:22 +03:00
Christopher Haster 1480c231e9 Added config option for newline conversion 2016-06-15 21:14:26 -05:00
Christopher Haster 2330dcc49a Added newline conversion for stdin
stdin converts the following character sequences:

\n   -> \n
\r\n -> \n
\r   -> \n
\n\r -> \n

For original behaviour, a serial object can be instantiated explicitly
2016-06-15 20:58:30 -05:00
Christopher Haster 69c33625eb Added newline conversion for stdout
stdout converts the following character sequences:

\n   -> \r\n
\r\n -> \r\n
\r   -> \r
\n\r -> \n\r

For original behaviour, a serial object can be instantiated explicitly
2016-06-15 20:58:30 -05:00
Sam Grove 42561b9193 Merge pull request #1958 from screamerbg/fixed-features2
Fix for libraries being built with features support
2016-06-16 01:10:49 +01:00
Mihail Stoyanov e44566b319 Fix libraries being built with features support 2016-06-16 00:31:25 +01:00
Sam Grove ac1a63f1a1 Merge pull request #1956 from screamerbg/fix-features3
Fixed features not being included
2016-06-15 23:13:26 +01:00
Sam Grove 934951a002 Merge pull request #1955 from theotherjimmy/name-libs
Add -N/--artifact-name argument to parser to name libraries
2016-06-15 22:30:19 +01:00
Sam Grove 605cb86ba7 Merge pull request #1954 from 0xc0170/fix_project_report
Export - project name fix (.zip)
2016-06-15 22:29:03 +01:00
Sam Grove 44e706e5b2 Merge pull request #1948 from 0xc0170/fix_iar
iar - fix flags for cmd and exporters
2016-06-15 22:27:03 +01:00