Alexander Zilberkant
91505184d3
Integrate with mbeb-cli build system
...
PSA code generation will be called automatically upon mbed invocation.
The autogenerated files will be created under <mbed-os-root>/PSA_AUTOGEN directory.
2019-04-30 14:41:09 +03:00
Brian Daniels
8a2836f122
Fix detection of supported targets for mbed 2 builds
2019-04-08 11:34:28 -05:00
Brian Daniels
2b4960bffe
Front-end scripts now use the ARM toolchain fallback.
...
Some unused imports were removed as well as some general clean up.
2019-03-23 18:24:58 -05:00
Brian Daniels
cd96b21370
Correct check for the ARM toolchain binary in the PATH.
...
The compiler used for the ARM toolchain changes depending on the target.
This changes the front end scripts to do the proper toolchain look up
before checking the system PATH for the compiler executable. The tools
were always checking for the ARMC5 compiler, now it should check for the
right version.
2019-03-11 19:04:32 -05:00
Oren Cohen
0ca2615a72
Check source relative to ROOT on secure targets
...
When building secure targets, we would like compile only files that are in the the mbe-os root folder.
This Fixes an issue when sending multiple --source parameters that are all inside the mbed-os tree
2019-02-10 17:13:10 +02:00
Oren Cohen
4514da6db3
Fix target handling in build.ppy
2018-12-03 18:25:25 +02:00
Oren Cohen
dd73fa689c
PSA SPM
...
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +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
Andrew Leech
3b79b3f65e
add `--ignore` argument to `mbed compile` & `mbed export` commands
2018-05-11 14:00:01 +10:00
Jimmy Brisson
0bbf1a26af
Correct build.py imports
2018-04-26 11:26:20 -05:00
Jimmy Brisson
98d4e1fd69
Use notification API in build.py
2018-04-26 11:26:14 -05:00
Jimmy Brisson
db4c380b2b
Python2+3: build_travis.py and Travis tests
2018-02-05 11:07:37 -06:00
Jimmy Brisson
2c4475cacc
Find extra targets in all source folders
2017-06-21 22:17:57 +10:00
Jimmy Brisson
07a6c07408
Revert "Disable Cortex-A in tooling to provide better error messages"
...
This reverts commit f5859b308b
.
2017-05-31 13:06:30 -05:00
Jimmy Brisson
f5859b308b
Disable Cortex-A in tooling to provide better error messages
...
Disable Cortex-A in compile supported matrix
Disable Cortex-A in export supported matrix
2017-05-30 14:32:06 -05:00
Martin Kojtal
2977d0c387
tools: remove usb host from mbed 2 scripts
...
usb host has dependency on rtos1 that is no longer in the
code base.
2017-05-12 14:51:49 -05:00
Martin Kojtal
d4cd403039
tools: remove net libraries
...
Remove any reference to net libraries that are unsupported. As we removed net libraries, these are no longer in the codebase.
2017-05-11 17:51:01 -05:00
Jimmy Brisson
d20bcba89b
Remove static analysis scan
...
An earlier patch in this series relies on the assumption that all
toolchain construction goes through `prepare_toolchain`. This is still
not the case. The only remaining user of the `mbedToolchain` object that
does not go through `prepare_toolchain` is the static analysis scanner.
It's basically dead-code at this point. I say we remove it. So this
patch removes it.
2017-03-06 18:29:46 -06:00
Simon Hughes
5a977eff30
STORAGE: PR 3762 fix to remove FAT_FS, SD_FS, FS_LIBRARY from tools scripts.
2017-02-23 16:39:46 +00:00
Brian Daniels
938ac93496
Fixing toolchain executable not found error for build.py
...
Commit 19d56fd40f
removed the default file
paths for the toolchains. This was done under the assumption that the
top-level compile scripts were properly checking that the toolchain
executable was availble. The build.py script was doing this in the wrong
place. This commit rearranges the script a bit so the check is performed
properly.
2017-01-13 14:13:31 -06:00
Jimmy Brisson
d88852d150
Replace -o with profiles
2016-09-29 10:20:05 -05:00
Sarah Marsh
8b74c5b3c7
Docstrings. Empty executable search path handling.
2016-09-13 12:06:01 -05:00
Sarah Marsh
61dee45dca
Revise checking toolchain path
2016-09-12 18:54:39 -05:00
Jimmy Brisson
163fa59e17
Prevent traceback
2016-08-19 14:01:19 -05:00
Sam Grove
c84e5d32c9
Revert "Force installation of dependencies in entry points"
2016-07-29 17:35:23 -05:00
Jimmy Brisson
0a2c35c62b
Force installation of dependencies in entry points
2016-07-26 14:08:26 -05:00
Jimmy Brisson
52855b53cf
[tools-build,make,project] Disallow parent of repo as --build args
...
Resolves #2081
2016-07-19 09:32:44 -05:00
Jimmy Brisson
24fcb4700b
[tools-build.py]Enforce supported toolchains
...
by skipping unsupported combinations
2016-07-14 13:29:55 -05:00
Jimmy Brisson
12492c17b8
Call colorized notify when --color for build.py, make.py, test.py
2016-07-11 09:41:23 -05:00
Jimmy Brisson
254dccdad3
Remove checking for existance of build directory
2016-07-07 15:29:36 -05:00
Jimmy Brisson
7a4bee8c0e
nargs="*" -> action="append"
2016-07-07 15:29:36 -05:00
Jimmy Brisson
0ec8199c55
Revert "Revert "Generalize flag handling""
...
This reverts commit 33cec194c6
.
2016-07-07 15:29:36 -05:00
Sam Grove
33cec194c6
Revert "Generalize flag handling"
2016-06-24 16:39:01 -05:00
Jimmy Brisson
7b3ef2179f
Make mcu and tool arguments many and update all consumers of them
2016-06-24 14:23:19 -05:00
Jimmy Brisson
7e5deaa7d0
standardize on nargs="*"
2016-06-24 14:23:19 -05:00
Jimmy Brisson
b98c8c1c33
Generalize all appropriate arguments and check for file existance
2016-06-24 14:22:47 -05:00
Jimmy Brisson
43e036d6e1
Move to argparse from optparse
2016-06-24 14:22:47 -05:00
Sam Grove
934951a002
Merge pull request #1955 from theotherjimmy/name-libs
...
Add -N/--artifact-name argument to parser to name libraries
2016-06-15 22:30:19 +01:00
Jimmy Brisson
6de4ea7e6f
Adds -N/--artifact-name argument to parser
...
Only makes sence for --source builds (which only work with --build)
2016-06-15 15:07:25 -05:00
Mihail Stoyanov
9dbf80722d
Aligned make.py and build.py options
2016-06-12 01:06:15 +01:00
Mihail Stoyanov
9f62d70fbf
Update project generator script to allow working with any source
...
Update test exporters script
Update travis build script
Added config system CLI script
Fixed building of legacy libraries and layouts
2016-06-10 02:24:27 +01:00
Mihail Stoyanov
773dab514e
Add --source option to both build.py and make.py. Also add test.py script for compiling and listing tests
2016-06-09 23:11:23 +01:00
Mihail Stoyanov
3d45b2cdbb
Renamed workspace_tools folder to tools
2016-06-09 21:34:53 +01:00