Marcelo Salazar
5469be4de0
Fix to generate memory_usage key in report
2017-08-06 14:03:09 +01:00
Jimmy Brisson
8b31078d58
Add missing collect_include passing
2017-08-01 10:29:11 -05:00
Jimmy Brisson
2305a8c7e4
Merge pull request #4783 from theotherjimmy/refactor-exporter-ignores
...
Collect ignored directories in scan and use in exporters
2017-07-31 15:25:07 +00:00
Jimmy Brisson
c8e6cf5bdd
Collect ignores from scan resources and use in exporetrs
2017-07-26 14:31:22 -05:00
Jimmy Brisson
10a06a7083
Merge pull request #4733 from theotherjimmy/fix-old-builds
...
Prevent double define in very old builds
2017-07-17 11:07:59 -05:00
Martin Kojtal
441fda979d
tools: fix toolchain extend inc paths
...
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-12 16:24:06 +01:00
Jimmy Brisson
d25560324c
Prevent double define in very old builds
...
Partially reverts 2ddf4b33cb
2017-07-10 15:59:54 -05:00
Jimmy Brisson
99b37b28bb
Merge pull request #4468 from moonchen/quote-include-paths
...
Put quotes around include files
2017-07-06 10:13:27 -05:00
Mo Chen
1b63202c27
Put quotes around include files
...
This fixes a problem when the path to include files have spaces.
See https://github.com/ARMmbed/mbed-os-example-uvisor/issues/31 for an
example of this problem.
Signed-off-by: Mo Chen <mo.chen@arm.com>
2017-06-20 14:00:38 -05:00
Jimmy Brisson
bf1a69b9be
Fill out remainder of LazyDict dict compatibility
2017-06-16 15:52:30 -05:00
Jimmy Brisson
7513d4f897
Correct len and iter operators for LazyDict
2017-06-16 15:28:10 -05:00
Jimmy Brisson
27c55d5c8d
Delay relative_to and win_to_unix operations over features
2017-06-16 15:16:24 -05:00
Jimmy Brisson
85748dbd21
Delay feature scan until it's rquired
2017-06-16 14:58:58 -05:00
Jimmy Brisson
55801b619d
Improve speed of .mbedignore processing
2017-06-16 13:36:56 -05:00
Jimmy Brisson
4806229090
Fix bug in dependency handling
2017-05-31 09:54:09 -05:00
Jimmy Brisson
3123a1d394
Switch dependencies to their respective CIL flags
2017-05-19 16:30:49 -05:00
Jimmy Brisson
5152c1c7ac
Make object files depend on compiler flags
2017-05-19 16:29:55 -05:00
Sam Grove
94b67de439
Merge pull request #4202 from theotherjimmy/rom-size-injection
...
Add support for Unmanaged Bootloader
2017-05-18 09:34:13 -05:00
Sam Grove
943ef8648b
Merge pull request #4325 from theotherjimmy/fix-unicode
...
Decode STDERR from compiler
2017-05-18 09:26:06 -05:00
Jimmy Brisson
4ed87e2f3c
Decode STDERR from compiler
2017-05-15 14:13:50 -05:00
Bartek Szatkowski
2ddf4b33cb
CMSIS5: Remove ARM7 support and targets
2017-05-12 13:48:43 -05:00
Jimmy Brisson
58167a2071
All C files depend on mbed_app.json
2017-05-11 14:20:09 -05:00
Jimmy Brisson
bbde3797cb
Make binary depend on config directly
2017-05-08 13:33:37 -05:00
Jimmy Brisson
da9c10be48
Expand build reports in the tools
2017-04-20 11:03:15 -05:00
Jimmy Brisson
7c40343e74
Fix include paths for Windows builds
2017-04-11 14:26:14 -05:00
Sam Grove
cef31a7fa6
Merge pull request #4106 from theotherjimmy/fix-typo-toolchain
...
Fix a scoping typo in toolchains
2017-04-10 10:51:07 -05:00
Jimmy Brisson
d5ecd7adf8
Fix a scoping typo in toolchains
2017-04-03 15:43:22 -05:00
Jimmy Brisson
09afe23762
Upgrade OUTPUT_EXT and use it to pick binary type
...
targets.json contained a key for some targets, `OUTPUT_EXT`, which I
moved to `Target`, the root of all targets. Following on that, the tools
now use this extension provided by `OUTPUT_EXT` to determine the file
type of the output executable.
2017-03-29 16:46:21 -05:00
Jimmy Brisson
d20bcba89b
Remove static analysis scan
...
An earlier patch in this series relies on the assumption that all
toolchain construction goes through `prepare_toolchain`. This is still
not the case. The only remaining user of the `mbedToolchain` object that
does not go through `prepare_toolchain` is the static analysis scanner.
It's basically dead-code at this point. I say we remove it. So this
patch removes it.
2017-03-06 18:29:46 -06:00
Jimmy Brisson
fbb6f71be8
Ignore build directory from scan resources
...
This is a bug fix for the following bug (Github issue #437 ):
If two builds were run specifying a non-default build folder, the second
build would fail to link with duplicate symbols and may not fit on the
device. The root of this problem is that these non-default build folders
are not ignored by scan-resources, and therefore included in the build.
We fix this bug by ignoring the build directory passed into the tools.
2017-03-06 17:10:57 -06:00
Jimmy Brisson
1d95604275
Remove GCC_CR
...
It has not worked since the introduction of build profiles
2017-02-16 15:03:24 -06:00
Jimmy Brisson
c0f27597ec
Add redirect support to toolchains
...
We create an API for generating the linker flags needed to redirect
functions in an application
2017-02-08 17:34:35 -06:00
Martin Kojtal
7316b89c1d
Merge pull request #3600 from theotherjimmy/refactor-sys-libs
...
[toolchains] Refactor sys libs
2017-01-26 10:30:27 +02:00
Jimmy Brisson
81df273849
Move sys_libs into mbedToolchain class
2017-01-17 11:57:35 -06:00
Jimmy Brisson
c14a5b94ec
Add docstrings
2017-01-13 12:01:26 -06:00
Jimmy Brisson
39a5caacab
Refactor scan resources to account for base_paths
2017-01-13 12:01:19 -06:00
Martin Kojtal
9a61ef0368
Fix DEBUG target keyword for GCC_ARM
...
Fixes mbed-cli#402 bug. -g flag was changed to g3, thus this caused
a regression in producing TARGET_DEBUG for GCC_ARM.
2016-12-06 11:32:45 +00:00
Jimmy Brisson
c3915215e4
Allow dependency parsing to fail, gracefully continuing
2016-11-10 10:04:36 -06:00
Brian Daniels
0e4b841cb3
Removing need for memap to printed through toolchains
2016-10-11 18:24:01 -05:00
Brian Daniels
655c37715c
Handling output of parallelized test building.
...
This makes use of the reports generated by the building of tests to
prevent output from interleaving when the build is parallelized. This
required some changes to memap to return a generated string from
the 'generate_output' function. I also had an option to stop the prints
from memap to prevent text from interleaving
2016-10-11 15:34:20 -05:00
Brian Daniels
14aff069b1
Modifying behavior of 'silent' option in toolchains
...
The 'silent' option has always been present in the toolchains API, however
it did not actually stop anything from being printed. Instead, it just
changed what was added to the build log. This make the 'silent' stop all
prints, but ensures that the output for the toolchain is still preserved
and accessible via the 'get_output' function.
2016-10-11 14:31:06 -05:00
Sam Grove
872363d809
Merge pull request #2854 from theotherjimmy/find-duplicates
...
[Tools] Find and report duplicates
2016-09-30 18:30:00 -05:00
Jimmy Brisson
5f8fbac56f
Add documentation of exposed functions
2016-09-30 15:14:22 -05:00
Jimmy Brisson
e012185602
Use toolchain notify for printing when finding dupes
2016-09-30 15:14:22 -05:00
Jimmy Brisson
9f7c82a37f
Deduplicate find-duplicate functionality
2016-09-30 15:13:53 -05:00
Jimmy Brisson
a85a384973
Add duplicate detection to project compilation
2016-09-30 15:13:53 -05:00
Jimmy Brisson
e2b248a4aa
Correct percent printing
2016-09-30 15:09:54 -05:00
Sam Grove
1047ab4562
Merge pull request #2834 from bridadan/memap-consolidate
...
[tools] Making memap output consistent across output formats
2016-09-30 14:59:31 -05:00
Jimmy Brisson
7348b0131b
Add Debug or Release to labels depending on flags
...
This is a policy decision and it should /really/ be in the config system
ATM it's here for backward compatibility
2016-09-30 13:01:16 -05:00
Jimmy Brisson
fd04ea2125
Added property based regression test to travis
2016-09-29 10:20:05 -05:00