Olli-Pekka Puolitaival
2059fed945
Fix building with python 3
2018-08-13 12:46:43 +03:00
Jimmy Brisson
7db537acf6
Fix Microlib compatibility for -t ARM
...
Missing from common flags:
* `-D__MICROLIB`
* `--library_type=microlib`
This patch adds them
2018-08-07 13:21:03 -05:00
Jimmy Brisson
28064f1319
Use hash to determine changes to command files
2018-07-30 10:41:58 -05:00
Cruz Monrreal
dcd358f3e7
Merge pull request #7558 from theotherjimmy/tc-arm-v8m
...
Tools: Select compiler based on arch version
2018-07-26 10:27:21 -05:00
Jimmy Brisson
3f684113b0
Warn with ARMC6 and not v8m
2018-07-20 10:12:56 -05:00
Cruz Monrreal
4bcca894ae
Merge pull request #7061 from TTornblom/master
...
Tools: Include configuration in ASM
2018-07-20 08:02:44 -05:00
Jimmy Brisson
62538e3bce
Filter archives for the arm linker
...
the other compilers can do it for themselves
2018-07-16 14:11:09 -05:00
Jimmy Brisson
545553b6bc
Rewrite test detection to avoid relying on "inc_dirs"
2018-07-16 14:11:08 -05:00
Jimmy Brisson
a4cc32067d
Add get_file_paths res API and use it
2018-07-16 14:11:08 -05:00
Jimmy Brisson
28dbbd6b3b
Correct path usage in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
6a87510192
Correct several exporter uses of file_basepath with a dedupe
2018-07-16 14:11:08 -05:00
Jimmy Brisson
7a26cd8da8
Use paths in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
0661578054
Use include paths when compiling
...
We were using include names before
2018-07-16 14:11:08 -05:00
Jimmy Brisson
de913e1ea2
Improve resources API to include more use cases
2018-07-16 14:11:08 -05:00
Jimmy Brisson
2d8cf737e4
Move resource scanning into it's own module
2018-07-16 14:10:21 -05:00
Jimmy Brisson
ef7b466958
Correct cmse lib creation for the make_gcc_arm
2018-07-12 10:49:26 -05:00
Jimmy Brisson
444d021b0e
Correct string usage in version checking
2018-07-10 14:04:26 -05:00
Jens Alfke
5543849ba4
Recognize ".cc" and ".hh" source file extensions
...
".cc" --> C++ source code
".hh" --> header
This change allows existing source code with this naming
convention (e.g. my company's) to be used in mbed.os projects.
2018-07-06 10:10:22 -07:00
Cruz Monrreal
9c4c630356
Merge pull request #7367 from theotherjimmy/check-arm-component
...
Tools: Detect Arm Compiler version using Component
2018-07-03 07:35:57 -05:00
Jimmy Brisson
95c33f7807
Include symbols in dumped build profiles
...
This will make incremental compile more complete, taking device_has and
inheritance hierarchy into account.
2018-06-28 15:05:23 -05:00
Jimmy Brisson
37013fb489
Use Component section for ARM compiler version
2018-06-28 10:51:12 -05:00
Cruz Monrreal
dec43922ee
Merge pull request #7247 from theotherjimmy/toolchain-version-check
...
Tools: Check compiler version
2018-06-27 18:42:49 -05:00
Jimmy Brisson
c273de6545
Test and correct GCC version check
2018-06-26 09:25:33 -05:00
Jimmy Brisson
c174ca3f85
Test and correct ARMCC version check
2018-06-26 09:15:01 -05:00
Jimmy Brisson
f87fab5f33
Use via file for ASM macros in IAR
2018-06-26 08:44:37 -05:00
Jimmy Brisson
a775e6992e
Refactor via files to use a common method
2018-06-26 08:44:37 -05:00
Jimmy Brisson
a855281633
Use preinclude of mbed_config.h in all toolchains
2018-06-26 08:44:37 -05:00
TTornblom
dcd17935e3
IAR: Fixed #6670
2018-06-26 08:44:37 -05:00
Jimmy Brisson
0e56c18058
Check for no match in version check
2018-06-25 18:04:11 -05:00
Jimmy Brisson
59e8631d3a
Escape '.' in regex
2018-06-25 17:58:11 -05:00
Jimmy Brisson
1a9474e4d9
Search all stdout for version regex; check > 1 matches
2018-06-25 14:41:37 -05:00
Jimmy Brisson
2aea6c39f7
Improve ARM compiler regex
2018-06-25 11:33:44 -05:00
Cruz Monrreal
95d2b3d55c
Merge pull request #7133 from OpenNuvoton/nuvoton_support_tz_partition
...
Override ROM/RAM start/size for TrustZone targets
2018-06-21 17:49:47 -05:00
Jimmy Brisson
52e640fc1d
Add Rom config info getter and rom defines
...
* MBED_ROM_START = start of current rom (independent of BL modes)
* MBED_ROM_SIZE = size of current rom (independent of BL modes)
2018-06-20 10:47:04 -05:00
Jimmy Brisson
a87575fec5
Use Non-blocking Error and LooseVersion
2018-06-19 10:41:08 -05:00
Jimmy Brisson
6f54a8fdd7
Check version of Mbed CLI compile
2018-06-18 14:03:09 -05:00
Jimmy Brisson
86b7adbd30
Force small lib usage when using uARM tc
2018-06-15 10:38:23 -05:00
Jimmy Brisson
34792e60c6
Correct "defalut" typo
2018-06-13 09:51:50 -05:00
Jimmy Brisson
1d9fd830af
Compute ARM_STD and ARM_MICRO labels with target attrs
2018-06-12 09:54:34 -05:00
Jimmy Brisson
b922201a9c
Heed default_lib in arm compiler
2018-06-12 09:29:10 -05:00
Jimmy Brisson
09cdc0631d
Move from tc constructor to config vars
2018-06-08 09:59:19 -05:00
ccli8
ae16aa2fb7
Fix overridden MBED_ROM_START/MBED_ROM_SIZE/MBED_RAM_START/MBED_RAM_SIZE don't pass to linker
2018-06-08 18:03:56 +08:00
Cruz Monrreal
a25b9f390f
Merge pull request #6999 from evva-sfw/feature/extend_error_warning_msg_as_link
...
Extend feature which displays errors/warnings as Link
2018-06-07 10:11:23 -05:00
ccli8
58f1521623
Pass fixed SRAM information (MBED_RAM_START/MBED_RAM_SIZE) to compiler/linker
...
This fix relies on target configuration options (mbed_ram_start/mbed_ram_size) defined.
2018-06-06 09:49:44 +08:00
ccli8
f48f30ceb2
Pass fixed flash information (MBED_ROM_START/MBED_ROM_SIZE) to compiler/linker
...
This fix relies on target configuration options (mbed_rom_start/mbed_rom_size) defined.
2018-06-06 09:46:59 +08:00
Cruz Monrreal
4fcaa56b77
Merge pull request #6914 from 0xc0170/fix_build_notifier
...
build: fix notifier typo and passing to builds API
2018-06-05 10:59:47 -05:00
Cruz Monrreal II
e65537790e
Modified LazyDict to inherit from object instead of dict, and removed iteration over values.
...
Py3 no longer supports dictionaries that self-modify their item lists during iteration.
2018-06-04 09:21:43 -05:00
PHST
af1e482f52
Correct Bug
2018-05-23 16:19:14 +02:00
PHST
b9217d6be0
correct imports
2018-05-23 16:13:50 +02:00
PHST
03422a9df5
Extend show error/warning as Link
...
PR #6270 added a parameter which allows the user to decide in case of an error or warning to print the output as a link.
This extension of this option also prints the ARM-GCC output in a link format.
2018-05-23 15:40:00 +02:00