Cruz Monrreal II
149d280e7a
Added encoding to version check for Py3 compat
2019-01-28 12:59:43 -06:00
Martin Kojtal
af52c30234
Merge pull request #9433 from deepikabhavnani/asm_v8m_flags
...
Set DSP and floating point flags for ASM files
2019-01-23 09:18:18 +01:00
Deepika
ddc762776f
Set DSP and floating point flags for ASM files
2019-01-18 14:13:31 -06:00
Kevin Bracey
d17d43bdfa
Revert "Warn with ARMC6 and not v8m"
...
This reverts commit 3f684113b0
.
2019-01-17 10:59:27 -06:00
Kevin Bracey
dddeab7414
ARMC6: Use float-abi=hard
...
For binary compatibility with ARMC5, use the hard ABI variant whenever
we have FP hardware - this is ARMC5's default behaviour, which we do not
override.
Cortex-M4F was already using hard; this brings M7F and M33F into line.
2018-12-19 14:28:35 +02:00
deepikabhavnani
f05e7b77d0
Add core option for Cortex-M33 with DSP enabled
...
Signed-off-by: Deepika Bhavnani <Deepika.Bhavnani@arm.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-07 12:20:01 -06:00
Mikhail Maltsev
d16388354a
Fix build of library archive with Arm Compiler 6
...
The 'archive' method of the toolchain class 'ARM' expects that self.ar
is a string, but the constructor of the class 'ARMC6' initializes it
with a list. This patch fixes the issue.
2018-11-22 13:32:20 +00:00
Cruz Monrreal II
14a9824511
Merge branch 'root-include-path' of ssh://github.com/theotherjimmy/mbed into rollup
2018-11-08 13:24:12 -06:00
Jimmy Brisson
95e2b07ad8
Resources: Compute parents using only header names
...
### Description
The prior fix made the assumption that you wanted to compute all of the
parents for a give header file going all the way up the path. This is
not true: you probably want to stop when the project stops. We already
keep track of a virtual name within the project, so instead, we compute
parents of the name, and generate the actual location of these files in
your FS as the path. This makes the solution robust offline and online
(I tested it with my local copy of os.mbed.com)
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-08 09:23:49 -06:00
jeromecoutant
1ea28973b2
TOOLS : Add missing M33 and M33F in python scripts
2018-11-05 17:44:15 +01:00
Jimmy Brisson
ec72ce7787
Track supported information within toolchain clasess
2018-10-18 11:10:16 -05:00
Cruz Monrreal
43ffe3e985
Merge pull request #8305 from theotherjimmy/fix-microbit-release
...
Tools: Fix Microbit releases
2018-10-10 08:44:58 -05:00
Jimmy Brisson
a270249aa7
Update remaining default_lib usage in arm compiler
2018-10-09 10:50:02 -05:00
Martin Kojtal
1af1a4a443
Merge pull request #7876 from cmonr/version-warn-not-err
...
Tools: Modified version mismatch msg to be warning instead of error
2018-10-04 13:42:00 +02:00
Jimmy Brisson
0e458bd163
Tools: Fix Microbit releases
...
### Description
I noticed that there was quite a bit missing from the mbed2 release of
the microbit today. That's because the microbit uses ARM by default and
the GCC_ARM small library. The release script was trying to release for
ARM using scan rules for uARM. Turns out we're stuck with 2 configuration
parameters for the same thing: `default_lib` for GCC and `default_toolchain`
for ARM. Dang
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-02 11:23:14 -05:00
deepikabhavnani
ff80e298d2
Align to CMSIS defines for Non-secure
...
CMSIS updated the __DOMAIN_NS define to DOMAIN_NS. Update the define
in existing code for non-secure part.
2018-09-10 09:25:27 -05:00
Jammu Kekkonen
1a9999708e
Fix memory reservation for Softdevice in NRF52_DK
2018-08-31 14:13:55 +03:00
Cruz Monrreal II
09239e3073
Modified version mismatch msg to be warning instead of error
2018-08-23 22:13:00 -05:00
Deepika
ed58ff0405
Disabling DSP and FPU for Cortex-M33
...
Change shared by @Gabor Kertesz
Hard-fault on Musca was because of enabled floating point instructions,
disabling DSP and FPU.
2018-08-23 09:06:20 -05:00
deepikabhavnani
63664520c0
Arch and CPU options for linker and Clang are different for Cortex-M33
...
As per the link below, options for clang and armlink are diferrent for Cortex-M33
armlink --cpu 8-M.Main --import-cmse-lib-out importlib_v1.o
armclang -march=armv8-m.main -mcmse
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0773h/pge1452794854109.html
2018-08-16 13:35:03 -05:00
deepikabhavnani
beab422045
-mcpu option not needed for v8M devices
...
-mcpu option if set for v8M CPU;s it will add DSP feature as default
which is optional. Hence setting just the architecture for Cortex-M23
and Cortex-M33
2018-08-15 13:52:15 -05:00
deepikabhavnani
08b4e34825
Fix build and typo issues with M33 build
2018-08-14 11:44:29 -05: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
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
6a87510192
Correct several exporter uses of file_basepath with a dedupe
2018-07-16 14:11:08 -05:00
Jimmy Brisson
444d021b0e
Correct string usage in version checking
2018-07-10 14:04:26 -05:00
Jimmy Brisson
37013fb489
Use Component section for ARM compiler version
2018-06-28 10:51:12 -05:00
Jimmy Brisson
c174ca3f85
Test and correct ARMCC version check
2018-06-26 09:15:01 -05:00
Jimmy Brisson
a855281633
Use preinclude of mbed_config.h in all toolchains
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
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
Cruz Monrreal
53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
...
tools: Refactor notification API
2018-05-07 10:48:48 -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
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
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