Olli-Pekka Puolitaival
2059fed945
Fix building with python 3
2018-08-13 12:46:43 +03:00
Jimmy Brisson
28064f1319
Use hash to determine changes to command files
2018-07-30 10:41:58 -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
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
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
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
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
a775e6992e
Refactor via files to use a common method
2018-06-26 08:44:37 -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
6f54a8fdd7
Check version of Mbed CLI compile
2018-06-18 14:03:09 -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
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
Martin Kojtal
0bbfc6199c
build: fix notifier typo and passing to builds API
...
Notifier should be passed to build libs functions, otherwise it's
none and fails.
Missing notify object in toolchain also fixed.
2018-05-16 13:30:06 +01:00
Bartek Szatkowski
00a321846d
Rename __DOMAIN_NS to DOMAIN_NS to match CMSIS
2018-05-14 12:18:21 +01:00
Cruz Monrreal
53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
...
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Jimmy Brisson
d338e672de
Apply subtract basepath to features
...
A bug, #6755 , was the result of the `subtract_basepath` function not
being applied to a resources object's children (it's features). This PR
fixes this bug by moving this functionality into the resources class.
Then, I applied the `subtract_basepath` method to the children resource
objects recursively. This has been tested on Partnerbeta and is to
upstream the fix.
2018-05-03 08:54:55 -05:00
Jimmy Brisson
fcf7dbf4c6
Use notification API in BL modes
2018-04-26 09:54:01 -05:00
Jimmy Brisson
56ec4677b5
Clean up notifier API usage in compilers
2018-04-26 09:35:47 -05:00
Jimmy Brisson
3bd691a342
Move terminal notifier to it's own file
2018-04-26 09:04:26 -05:00
Jimmy Brisson
72beee7e90
Refactor notification logic into it's own class
2018-04-26 09:04:26 -05:00
Jimmy Brisson
018596446e
Exclude files like `.main.cpp` from builds
2018-04-03 11:23:42 -05:00
Cruz Monrreal
0828727643
Merge pull request #6270 from evva-sfw/error_warning_msg_as_link
...
Add parameter in tools settings to show error/warning as Link
2018-03-15 11:49:33 -05:00
Cruz Monrreal
b84627feab
Merge pull request #6146 from theotherjimmy/fix-m33-fp
...
Correct gcc m33 floating point handling
2018-03-06 08:20:20 -06:00
PHST
3e59bdcbf5
Add parameter in tools settings to show error/warning as Link
...
Per default mbed compile prints errors/warnings on output not in a link format, therefore it is not possible to click, i.e. in an IDE, on the errors/warnings and jump to the position in the file.
The settings parameter lets you decide in witch format do you want to have it.
If it is enabled then the output will look like:
[Error/Warning] [absolute\path\to\file.ext]:[line]:[column]: [msg]
with this format nearly every common known IDE can deal with this link and lets you jump to the file
2018-03-05 15:44:49 +01:00
Jimmy Brisson
c29207a4f4
Correct gcc m33 floating point handling
2018-03-01 09:40:47 -06:00
Cruz Monrreal
8b6a7aacc5
Merge pull request #6229 from hug-dev/fix-elf-output-extension
...
Fix a bug using ELF as output extension
2018-02-27 16:32:40 -06:00
Hugues de Valon
b0027c1e81
Fix a bug using ELF as output extension
...
When overriding the OUTPUT_EXT variable in compilation configuration,
bugs appear:
* The bin variable is not None as the 'elf' string is not interned.
* When that is fixed, the function returns None instead of returning the
path of the ELF file.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-02-27 14:08:02 +00:00
Jimmy Brisson
166a463639
Correct single file excludes for some exporters
2018-02-20 12:09:11 -06:00
Jimmy Brisson
db4c380b2b
Python2+3: build_travis.py and Travis tests
2018-02-05 11:07:37 -06:00
Jimmy Brisson
1dd39fbe80
Python2+3: mbed test --compile
2018-02-05 11:07:37 -06:00
Jimmy Brisson
c93a2bfa4c
Python2+3: Use absolute import where possible
2018-02-05 11:07:37 -06:00
Jimmy Brisson
cca4425af6
Python2+3: iteritems -> items
2018-02-05 11:04:36 -06:00
Jimmy Brisson
7abeec9744
Python2+3: clean argparse
2018-02-05 11:04:35 -06:00