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
Cruz Monrreal
2ddce27a42
Merge pull request #6769 from theotherjimmy/fix-subtract-basepath
...
Move subtract basepath into the resources class
2018-05-07 10:33:36 -05:00
Martin Kojtal
e43d21d4ef
Merge pull request #6713 from theotherjimmy/arm-no-asm-inc
...
Drop include paths for ARM assembler
2018-05-03 16:31:04 +01: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
b6b6866d38
Extend a local version of the asm cmd list
...
I was extending an object-local one instead of a call-local one
2018-04-30 09:34:32 -05:00
Jimmy Brisson
beb6d7802a
Cleanup extraneous spaces on empty lines
2018-04-30 09:30:32 -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
da69f0165b
Correct test finding behavior
...
Scan resources ignores the build dir so we can't set it to something
dumb like the directory we want to scan
2018-04-24 10:07:16 -05:00
Jimmy Brisson
d8becaa652
Remove ASM include paths for ARM compiler
2018-04-23 15:23:00 -05:00
Jimmy Brisson
bc8b98358d
Correct exporting with cortex-M23 and M33
2018-04-17 12:02:08 -05:00
ccli8
b81c0e5986
Fix build tool with ARMC6/ARMv8M
...
1. Add linking time preprocessor macro __DOMAIN_NS for non-secure build
2. For output .hex format, combine multiple .hex files (for multiple load regions) into one
This can help for Greentea test.
3. Fix 'None' build_dir with cmse_lib.o on Greentea test
2018-04-16 16:10:57 +08:00
Jimmy Brisson
018596446e
Exclude files like `.main.cpp` from builds
2018-04-03 11:23:42 -05:00
Martin Kojtal
7125c8ad0b
Merge pull request #6344 from tung7970/fix-tools
...
armcc - remove fromelf output before regenerating one
2018-03-21 14:12:00 +01:00
Tony Wu
cca1d5581a
armcc - remove fromelf output before regenerating
...
Fix armcc recompile errors during elf2bin stage. Errors shown as follows:
Elf2Bin: mbed-os-example-wifi
Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
[ERROR] Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2018-03-20 16:01:22 +08:00
Jimmy Brisson
14255ca113
Correct syntax for mbed export in Py3
2018-03-16 13:08:20 -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
Christopher Haster
24bb556127
tools: Removed outdated (and broken) toolchain initialization test
...
Also moved the access of build_dir into condition on secure in ARMC6
per theotherjimmy
2018-02-27 09:39:00 -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
Martin Kojtal
636ced8ed0
Merge pull request #5915 from DBS06/gcc_msg_parsing
...
Simplify and Improve error/warning parser for gcc_arm
2018-02-19 17:34:43 +01:00
Cruz Monrreal
4145cc0cf0
Merge pull request #6029 from deepikabhavnani/update_context_switch_files
...
RTX5: Pre-processor defines used for assembly
2018-02-16 10:15:03 -06:00
Cruz Monrreal
df4ceee4e1
Merge pull request #6096 from deepikabhavnani/secure_lib_creation
...
Generate/Link secure object file
2018-02-15 11:27:19 -06:00
deepikabhavnani
b21e93ba32
Generate/Link secure object file
...
Cortex v8 architecture based devices support secure/non-secure builds.
Secure build should generate the object file/library from elf during link
process which is used by non-secure binary during linking.
--out-implib=file specifies output library in which symbols are exported
--cmse-implib requests libraries mentioned above are secure gateway
libraries
Creation of secure library is done as part of linking process in GCC/ARMC6/IAR
Non-Secure project should add this secure object file as part of the
linking process.
Secure library is named as cmse_lib.o.
2018-02-14 12:48:33 -06:00
deepikabhavnani
4076788d51
Non Secure flag is required for pre-processing of linker file
2018-02-07 22:48:47 -06:00
Cruz Monrreal
02eeb7af41
Merge pull request #6030 from deepikabhavnani/correct_arch
...
M33: -march not required if -mcpu is set
2018-02-07 20:07:11 -06:00
Cruz Monrreal
c679dee286
Merge pull request #5848 from theotherjimmy/compile-py3
...
Python2+3: mbed compile, mbed test --compile, python unit tests
2018-02-07 15:48:18 -06:00
Cruz Monrreal
779ee843ea
Merge pull request #5797 from hosse005/master
...
ARMC5+6: Specify CPU for ARM scatter file preprocessor
2018-02-07 14:50:44 -06:00
deepikabhavnani
c50518e11c
-march not required if -mcpu is set
...
GCC_ARM throws warning if both architecture and core are set (though
correct). If CPU option is set correctly, architecture is set by compiler
itself.
2018-02-06 22:46:04 -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
Jimmy Brisson
10a91216f5
Python2+3: The rest of mbed compile
2018-02-05 11:04:01 -06:00
Jimmy Brisson
380ecb1b0e
Python2+3: working through many has_attr exceptions
2018-02-05 11:04:01 -06:00
Jimmy Brisson
68737f2762
Python2+3: Things import
2018-02-05 11:03:44 -06:00
Jimmy Brisson
9b8ba4dd98
Use relative path to scatter for include path
2018-02-02 11:53:51 -06:00
Jimmy Brisson
a92d0df4ae
Move region adding to mbedToolchain
2018-01-31 10:04:34 -06:00
PHST
3ce173b5ce
Simplify and Improve error/warning parser for arm_gcc
2018-01-24 08:48:15 +01:00
Evan Hosseini
9245b50a54
ARM: ARMC6: Update scatter file shebang include directory
2018-01-12 13:43:20 -06:00
Evan Hosseini
6b21a5539a
ARM: ARMC6: Copy headers along with the updated linker scatter file
...
* Need to copy headers into the build directory as well when also
writing an updated linker scatter file to the build directory
2018-01-10 15:46:20 -06:00
Evan Hosseini
3c21f1edfb
ARM: ARMC6: Fix for ARM linker script cpu formatting
2018-01-08 09:50:33 -06:00