Jimmy Brisson
ab8a8de1a7
Merge pull request #5317 from theotherjimmy/fix-arm-supported-check
...
Tools: Check for toolchain and core support for Arm Compilers
2017-10-23 10:33:22 -05:00
Jimmy Brisson
b0fc103de6
Check for core support in ARM toolchain
2017-10-20 10:05:37 -05:00
Jimmy Brisson
4673fb6580
Check for uARM support when compiling with uARM
2017-10-17 11:08:58 -05:00
Christopher Haster
9fd6c5ae56
Fix behaviour of empty .mbedignore
...
Should ignore nothing, currently ignores everything
An empty .mbedignore is easy to create when tinkering with a local repo
2017-10-13 11:52:13 -05:00
Jimmy Brisson
b9b4bb5c25
Move IAR flag passing to constructor
2017-09-26 08:59:01 -05:00
Jimmy Brisson
4de448142b
Merge pull request #5125 from theotherjimmy/improve-memap-performance
...
Refactor memap for speed
2017-09-21 11:40:41 -05:00
Anna Bridge
02a10e5974
Merge pull request #5094 from deepikabhavnani/m23_armc6
...
ARMC6 support for Cortex-M23
2017-09-19 10:25:33 +01:00
Jimmy Brisson
8c54c4efa8
Display full paths in armlink output
2017-09-18 16:40:52 -05:00
Deepika
eea29d34a7
Corrected check for ARM/ARMC6 toolchain
...
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5
Adding ARMC6 without ARM in target.json should work now.
2017-09-14 14:14:35 -05:00
Deepika
60c600ac11
ARMC6 support for Cortex-M23
2017-09-13 17:07:05 -05:00
Jimmy Brisson
58372d3fdf
Allow ARMC6 to run post-binary-hooks marked for ARM
2017-09-13 14:50:06 -05:00
Anna Bridge
7b428916f5
Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
...
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Jimmy Brisson
d56c19f253
Detect test skips with armc6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
887d29372b
Check for support in ARMC6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
f4b7d8ba77
Avoid forcing preprocessing
...
We avoid forcing preprocessing by not replacing the first line when it's
not a shebang (#!). Should work pretty darn well.
2017-09-11 13:20:32 -05:00
Jimmy Brisson
e9d3166a5e
Expose present get_compile_options API in Toolcahins
2017-09-11 13:20:32 -05:00
Jimmy Brisson
1fef5553b4
Parse deps the same for GCC_ARM and ARMC6
2017-09-11 13:17:54 -05:00
Jimmy Brisson
98b4768434
Initial toolchain class for ARMC6
...
While ARMC6 does use the same linker (armlink) as ARM Compiler 5, it
is not compatible.
The reason for this incompatibility are twofold:
* armlink may invoke the C preprocessor by adding a shebang
(`#!`) to the top of their input files.
* ARMC6 and ARMC5 differ in how you invoke the preprocessor:
* ARMC5: `#! armcc -E`
* ARMC6: `#! armclang -E`
This forces the tools to rewrite the shebang if it's wrong.
This does not yet handle dependencies properly
2017-09-11 13:17:54 -05:00
Deepika
ca1f24cc0e
Add -mcmse flag for GCC and improved logic for cpu core
2017-09-11 11:49:28 -05:00
Deepika
9422c351e4
Initial RTX and tools support for Cortex M-23/M-33 devices
2017-09-11 11:43:26 -05:00
Shrikant Tudavekar
ddc9e0840a
disable -f option for assembly files for IAR
2017-08-25 16:59:21 -05:00
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
Yuguo Zou
02687b5ec5
A fix to enum issue
2017-06-03 20:14:54 +01:00
Yuguo Zou
7867a816d7
WiFi test fix for GCC
...
right now still need to add flag in gcc.py, we are fixing!
2017-06-03 20:14:51 +01:00
Yuguo Zou
53e837bce2
add support for REALTEK_RTL8195AM
2017-06-03 20:14:45 +01: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