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
Jimmy Brisson
8f07b9ebd5
Remove unused imports
2018-10-24 11:54:13 -05:00
Jimmy Brisson
81013e9d0c
Reformat make.py
2018-10-24 11:51:58 -05:00
Jimmy Brisson
9019196d55
Rework make.py Ct pLI to avoid treating apps as tests
...
Prior to this changeset, applications were all compiled as test #0 . This
can lead to unexpected behavoir. In particluar, it's weirdly impossible
to use a `.mbedignore` file to ignore
`mbed-os/features/unsupported/tests/mbed/env/test_env.cpp`.
This PR stops treating applications like tests.
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-10-24 11:51:36 -05:00
Jimmy Brisson
69203d30f1
Create update images with managed bl mode
2018-07-20 10:53:00 -05:00
Jimmy Brisson
285d661373
Show Mbed 2 support in compile -S
2018-07-16 14:07:41 -05:00
Andrew Leech
3b79b3f65e
add `--ignore` argument to `mbed compile` & `mbed export` commands
2018-05-11 14:00:01 +10:00
Jimmy Brisson
5c16cd3b39
Implement color terminal notifications
...
You can turn them on with MBED_COLOR=True
2018-04-26 11:23:20 -05:00
Jimmy Brisson
85e33b4143
Eliminate silent option from build_project
...
It's now all handled by the notifier
2018-04-26 09:40:30 -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
Christopher Haster
011e018f52
Revert "Added pretty bar printing for compile output"
...
This reverts commit 471d99c68f
.
2018-02-22 22:07:22 -06:00
Christopher Haster
0bc386a7c4
tools: Let unicode error messages through
...
Some toolchains (GCC) may emit error messages with unicode symbols based on
the your localization settings. Instead of being passed to the user as is,
the unicode causes an exception.
2018-02-21 14:07:28 -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
Christopher Haster
471d99c68f
Added pretty bar printing for compile output
...
Looks like this:
Building project mbed-os-prettyoutput (ARCH_PRO, GCC_ARM)
Scan: .
Scan: env
Scan: mbed
Scan: FEATURE_LWIP
Text 70.5KB Data 2.72KB BSS 7.43KB ROM 73.2KB RAM 10.1KB
ROM [||||||| ] 73.2KB/512KB
RAM [|||||||||||||||| ] 10.1KB/32KB
Image: BUILD/ARCH_PRO/GCC_ARM/mbed-os-prettyoutput.bin
If you build a target without a cmsis-pack it looks like this:
Building project mbed-os-prettyoutput (ARM_BEETLE_SOC, GCC_ARM)
Scan: .
Scan: env
Scan: mbed
Scan: FEATURE_BLE
Text 99KB Data 2.84KB BSS 13KB ROM 102KB RAM 15.8KB
Image: BUILD/ARM_BEETLE_SOC/GCC_ARM/mbed-os-prettyoutput.bin
And the old behaviour of displaying the memap table can be brought back
by passing the --stats-depth parameter
2018-01-25 11:46:23 -06:00
Marcelo Salazar
7053ef9412
memap enhancements with depth level configurable
...
Removed heap/stack from report
Add --stats-depth option to mbed compile
Fix minor issues identified in review
Fix bug when parsing armcc libs
Fix code style
Fix minor issues on existing tests
Fix memap for automated TESTS
Fix stats-depth parameter for tests
2017-08-06 10:30:04 +01:00
Jimmy Brisson
2c4475cacc
Find extra targets in all source folders
2017-06-21 22:17:57 +10:00
Jimmy Brisson
d8caee9077
Disallow building of mbed OS 2 + rtos
2017-06-01 13:16:03 -05: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
8c4258ceb5
tools: remove all rtos1 references
...
These references are removed from mbed 2 scripts, including travis script.
2017-05-12 14:51:47 -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
6ef384b7fe
Add type to build_data.json
2017-04-20 11:03:15 -05:00
Jimmy Brisson
808279911c
Add --build-data flag to mbed test
2017-04-20 11:03:15 -05:00
Jimmy Brisson
aeb6109717
Rename switch to --build-data
2017-04-20 11:03:15 -05:00
Jimmy Brisson
035ddfb057
Add an option to make.py to dump build metadata
2017-04-20 11:03:15 -05:00
Michael Bartling
aebd9810f9
make.py -S toolchains now just prints the toolchains, no more mbed OS x
2017-03-31 09:55:08 -05:00
Michael Bartling
f142939937
Added ability to list targets and toolchains in a non matrix form.
...
This is super helpful for the tab completion generation script as we no
longer have to parse the matrix output.
2017-03-31 09:54:03 -05:00
Jimmy Brisson
51aa3330dd
Re-factor mbed2 lib builds to use prepare_toolchain
...
The prior patch in this series makes the assumption that any building
will go through `build_api.prepare_toolchain`. This was not a valid
assumption for the mbed2 build process. So, instead of maintaining 2
ways of using the toolchain classes, I elected to unify on
`prepare_toolchain`.
2017-03-06 18:23:16 -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
Bartek Szatkowski
aa3a127c76
Handle [NOT_SUPPORTED] exception in make.py
...
That let us to ignore build failures for examples on not supported
platforms.
2016-10-27 09:45:55 +01:00
Christopher Haster
b8fb7a6e3c
restructure - Changed legacy build_lib to respect lib name in path
2016-10-01 19:43:22 -05:00
Jimmy Brisson
d88852d150
Replace -o with profiles
2016-09-29 10:20:05 -05:00
Jimmy Brisson
ceda396e18
Add simple build profiles to toolchains
2016-09-28 17:25:24 -05:00
Sarah Marsh
ab92a5ace2
Toolchain check generic in mbedToolchain
2016-09-13 13:59:11 -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
Conor Keegan
aafcf55407
Add app config switch to options.py and make.py
2016-09-10 15:29:19 +01:00
Jimmy Brisson
163fa59e17
Prevent traceback
2016-08-19 14:01:19 -05:00
Jimmy Brisson
a0c8a09c89
Unify look of argument errors
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
12492c17b8
Call colorized notify when --color for build.py, make.py, test.py
2016-07-11 09:41:23 -05:00
Jimmy Brisson
122fa93a70
Allow make.py to accpet just --source
2016-07-07 15:29:36 -05:00
Jimmy Brisson
7a4bee8c0e
nargs="*" -> action="append"
2016-07-07 15:29:36 -05:00
Jimmy Brisson
bca12206f1
Allow --source to be specified more than once
2016-07-07 15:29:36 -05:00
Jimmy Brisson
b4b514ea2f
Correct test_name_known, now use argparse_many for lists
...
also updated all consumers of test_name_known
2016-07-07 15:29:36 -05:00