Jimmy Brisson
3a0eeed792
Remove unused upload_results python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
930fb11ea1
Remove unused size python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
e45beb3313
Describe what each python module does
2019-04-08 10:58:01 -05:00
Jimmy Brisson
ed5c6a3050
Remove unused python model: check_release
2019-04-08 10:58:01 -05:00
Jimmy Brisson
49bd5ed03d
Remove unused synch python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
6fa5ca4c35
Remove unused misc python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
6112a3306d
Remove empty git_hooks python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
1cc311b153
Remove unused data python module
2019-04-08 10:58:01 -05:00
Jimmy Brisson
b62e041143
Remove tools/compliance and tools/dev
...
### Description
These directories have contained exclusively dead code for as long as
I can remember. Now is as good of a time as any to remove them.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2019-04-08 10:58:01 -05:00
Cruz Monrreal II
3f76f6ed79
Fixed shellcheck issues found in functions.sh
...
Added comments to functions
2019-04-08 10:45:07 -05:00
Cruz Monrreal II
397ee3074a
Removed nearly all usage of 'apt-get'.
...
Primary cause of false Travis CI failures was running 'apt-get update'.
Refactored all instances where this was needed with manually fetching and installing dependencies in S3 instace.
This also includes GCC installation.
2019-04-08 10:45:07 -05:00
Cruz Monrreal II
5f40538c59
Re-enabled PR status reporting.
...
Added external bash file to source functions from
2019-04-08 10:45:07 -05:00
Oren Cohen
a127f10648
Check that required toolchains are in PATH
2019-04-07 18:49:35 +03:00
Brian Daniels
632cd9d065
Allow toolchain paths to be wrapped in quotes
2019-04-05 14:47:02 -05:00
Brian Daniels
2a080a0840
Correct call to add_file_ref
2019-04-05 11:46:39 -05:00
Martin Kojtal
c2ebb79723
Merge pull request #9814 from LMESTM/dev_NUCLEO_WB55RG
...
Adding NUCLEO_WB55RG support
2019-04-04 15:30:07 +02:00
Martin Kojtal
06b60e3f68
Merge pull request #10295 from AndriiLishchynskyi/eclipse_configurations
...
eclipse_gcc_arm export improvement
2019-04-04 12:42:34 +02:00
Martin Kojtal
6081727cbf
Merge pull request #10115 from enebular/raven
...
Uhuru RAVEN: Adding platform HAL
2019-04-04 11:05:23 +02:00
Martin Kojtal
8b5157ba47
Merge pull request #10282 from OpenNuvoton/nuvoton_export-iar8
...
Nuvoton: Support export IAR8 project
2019-04-04 10:52:19 +02:00
Aleksi Klasila
8137974232
rm ["python", "-m"] from build_command
2019-04-04 10:34:23 +03:00
Andrii Lishchynskyi
7eb44cb40f
Fix applying all possible setting
2019-04-03 19:14:10 +03:00
Martin Kojtal
d1da622797
Merge pull request #10296 from jeromecoutant/PR_NOLINKER
...
Build script: add explicit console log in case of linker script error
2019-04-03 14:30:16 +02:00
Andrii Lishchynskyi
1f16fec408
Replace 'resolution_order_names' and 'extra_labels' with 'labels'
...
Get rid of 'next' function
2019-04-03 12:37:45 +03:00
jeromecoutant
c537869a79
NUCLEO_L4R5ZI_P: enable sw4stm32 export
2019-04-03 11:13:58 +02:00
jeromecoutant
ab9890072d
Build script: add explicit console log in case of linker script error
2019-04-02 18:03:32 +02:00
Brian Daniels
3b9baf9600
Only store references to one linker script in a resources object.
...
Projects have only ever made use of one linker script per compiler.
However, the tools would store references to multiple linker scripts in
a project and select one in a non-deterministic way. Now we clear out
any existing linker script when we add a new one to a project. This way,
the last added linker script is always used.
2019-04-02 09:49:06 -05:00
Brian Daniels
fd7467c9ba
Test to ensure only the last linker file is used in a project
2019-04-02 09:48:55 -05:00
Andriy.Lishchynskyi
71e041689d
Enhancement to remove duplicates in Eclipse launch configurations
2019-04-02 17:31:22 +03:00
Naveen Kaje
f0f133f3ec
tools: fix the path generated to the sct file
...
The sct file path generated in the online compiler
is incorrect. Fix that by changing the correct_scatter_shebang
API to accept a FileRef object instead and use the path.
This change should go with change in online compiler that removes
the override for correct_scatter_shebang.
2019-04-02 09:05:15 -05:00
alekla01
3665209df8
examples test compile optional verbose
2019-04-02 09:01:55 +03:00
ccli8
50f6870868
[Nuvoton] Support export IAR8 project
...
1. Override IlinkOverrideProgramEntryLabel and IlinkProgramEntryLabel to specify
entry point for debuger.
2. Refer to doc at the link below for post-export steps. Usually, 'export' is nearly
out of the box and just install 'Nu-Link Driver (IAR)' to update Nuvoton device
database in IAR.
https://github.com/OpenNuvoton/NuMaker-mbed-docs/blob/master/IAR/DEBUG_IAR.md
2019-04-02 10:09:18 +08:00
Cruz Monrreal
136e0e32de
Merge pull request #10276 from theotherjimmy/armc6-parse
...
Parse Errors and Warnings from Arm Compiler 6
2019-04-01 17:04:54 -05:00
Cruz Monrreal
594a1d180b
Merge pull request #10218 from kfnta/tfm_auto_src_gen
...
PSA - TFM manfiest scan
2019-03-29 17:59:44 -05:00
Jimmy Brisson
992cb26209
Parse errors and warnings with ARMC6
2019-03-29 12:00:44 -05:00
Laurent Meunier
7afad64886
STM32WB55RG: Add board declaration in tools
...
In travis build and in SW4STM32 exporter
2019-03-29 16:21:42 +01:00
Cruz Monrreal
0a088a6f4d
Merge pull request #10200 from studavekar/vscode-gcc-ver
...
update vscode default gcc arm version to 6-2017-q1-update
2019-03-29 10:15:53 -05:00
Brian Daniels
63ea3ebe00
Apply suggestions from code review
...
Co-Authored-By: theotherjimmy <theotherjimmy@gmail.com>
2019-03-28 17:25:04 -05:00
Cruz Monrreal
6fccfeb98e
Merge pull request #10234 from theotherjimmy/update-cpm-index-0.2.4
...
Update flash algo default with CPM 0.2.4
2019-03-28 17:07:26 -05:00
Jimmy Brisson
0bfbd09de3
Correct Python 3 errors and lint warnings in build_release.py
...
### Description
I think this file is still used, and it's about time we updated it for
compatibility with python3. While I was in there, I fixed all of the
linter warnings, so that it's easier to spot bad code.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2019-03-28 11:23:31 -05:00
Brian Daniels
84e4386693
Break up large prints from --supported
2019-03-28 10:58:56 -05:00
Oren Cohen
2bce25750d
Add {# End of file #} for TF-M templates
2019-03-28 10:40:57 +02:00
Oren Cohen
355dd5a3ee
TFM autogen scan the entire tree
2019-03-28 10:40:56 +02:00
Brian Daniels
51c1bd35a0
Fixing path comparisons on Windows
2019-03-27 14:08:42 -05:00
Jimmy Brisson
12e5596627
Allow both path seperator types in flash algo names
2019-03-27 08:56:46 -05:00
jk
cc6c4778da
added sectors information
2019-03-27 17:02:56 +09:00
jk
f93c43ea64
added STM32F767VI
2019-03-27 17:02:56 +09:00
Cruz Monrreal
7e7f4f561b
Merge pull request #10070 from kfnta/tool_options
...
PSA more options in release tool
2019-03-27 00:37:14 -05:00
Cruz Monrreal
cfdb72b94f
Merge pull request #10182 from lrusinowicz/armc6_assembler_win7_workaround
...
Workaround for ARMC6 Windows 7 assembler issue
2019-03-27 00:23:05 -05:00
Cruz Monrreal
c2e5a8bb75
Merge pull request #10131 from kegilbert/baremetal-blinky-examples-test
...
Add baremetal example to testing
2019-03-27 00:22:07 -05:00
Jimmy Brisson
4317f0b5f8
Update flash algo default with CPM 0.2.4
...
### Description
Cmsis Pack Manager 0.2.4 corrected parsing of specifically the flash
algorithm default attribute. It was allowed to be "0", "1", "true"
and "false". CPM 0.2.3 parsed "1" into false, and this behavior was
corrected in 0.2.4.
This PR uses 0.2.4 to update the index.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2019-03-26 09:53:38 -05:00
Oren Cohen
42a9d485e7
Set default value of extra args to []
2019-03-26 13:53:31 +02:00
Oren Cohen
d012b3a5f5
Missing docstring
2019-03-26 10:54:47 +02:00
Oren Cohen
6d64c85b6c
Specify extra args with -x and verbose_check_call
2019-03-26 10:52:46 +02:00
Oren Cohen
ef19ade249
Revert back to direct calls to python
2019-03-26 10:52:46 +02:00
Oren Cohen
e8165fdaa8
small fix
2019-03-26 10:52:45 +02:00
Oren Cohen
03c0302850
Add list option
2019-03-26 10:48:16 +02:00
Oren Cohen
aa21d36f51
Docs update
2019-03-26 10:48:16 +02:00
Oren Cohen
654882453b
Refactor
...
* Use default image command generator.
* Call directly to mbed-cli.
* Add --skip-tests.
2019-03-26 10:48:16 +02:00
Oren Cohen
16bcd5f8e3
List PSA secure platform and add choices option
2019-03-26 10:48:16 +02:00
Oren Cohen
10708f1991
Overhaul logging and verbosity
...
* Default verbose
* -q for quiet build with minimal status prints
2019-03-26 10:48:16 +02:00
ccli8
da7035eb6b
Fix MBED_RAM_START/MBED_RAM_SIZE symbol generation
...
1. Fix MBED_RAM_START/MBED_RAM_SIZE are not generated when there are
target.mbed_ram_start/target.mbed_ram_size overrides
2. Fix MBED_RAM_START/MBED_RAM_SIZE are duplicated.
2019-03-26 09:34:59 +08:00
Brian Daniels
b95732a1b5
get_mbed_official_release respects supported_toolchains
2019-03-23 18:24:59 -05:00
Brian Daniels
0f1bd76c01
Add link for ARMC5 warning
2019-03-23 18:24:59 -05:00
Brian Daniels
b94c4189b7
Updating supported toolchain printing with new options
2019-03-23 18:24:58 -05:00
Brian Daniels
1c31d365c2
Add ARMC5 as an option for the -t argument
2019-03-23 18:24:58 -05:00
Brian Daniels
b809ec6226
Make args_erroor less verbose.
...
This removes the arugment help from the output, making the error much
easier to find. This solves #10090 .
2019-03-23 18:24:58 -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
04e90c278c
ARMC5 is supported if a target lists ARM as a supported_toolchain
2019-03-23 18:24:58 -05:00
Brian Daniels
6f5a3c3e8d
Add functions to enable ARM fallback to ARMC5.
...
There are two new functions: get_valid_toolchain_names and
find_valid_toolchain. These functions are used to figure out if a
fallback is possible and necessary. find_valid_toolchain is expected to
be used by the front-end scripts.
get_toolchain_name was updated with some different logic and comments.
2019-03-23 18:24:58 -05:00
Brian Daniels
08d9e32e63
Add utility functions and Exceptions
...
These functions will be used to handle some of the error state and
warning messages produced when the scripts attempt to select a valid
toolchain.
2019-03-23 18:24:57 -05:00
Brian Daniels
a8032db48a
Whitespace clean up
2019-03-23 18:24:57 -05:00
Cruz Monrreal
4e514ae3c5
Merge pull request #10199 from bridadan/fix_cores_in_uvision
...
Fix the removal of Mbed-added core flags in uvision exporter
2019-03-23 18:03:38 -05:00
Brian Daniels
f56bf8f689
Fix the removal of Mbed-added core flags in uvision exporter
2019-03-23 15:39:06 -05:00
Martin Kojtal
aca0f2f48e
Merge pull request #10114 from bridadan/armc6_mbed_ide
...
Allow the use of Mbed Studio's version of ARMC6
2019-03-23 16:30:01 +01:00
studavekar
31d4ea8722
update gcc arm version to 6-2017-q1-update
2019-03-22 13:48:46 -05:00
kegilbert
ac2a52a429
Remove gnuarmeclipse from baremetal export testing
...
baremetal does not currently work with gnuarmeclipse
2019-03-22 09:17:24 -05:00
Leszek Rusinowicz
8d8cf1acc3
Workaround for ARMC6 Windows 7 assembler issue
...
On Windows 7 using --preproc option in ARMC6 assembler doesn't work
when -MD option is also specified. Compiler creates incorrect filename for
dependency file and compilation files.
To workaround this issue, this change returns to using a temporary file and
separately calling preprocessor and assembler (as in a case of ARMC5).
2019-03-21 23:04:32 +01:00
Brian Daniels
e382b5034a
Add comments about the proper use of specific ARMC6 arguments
2019-03-21 16:24:44 -05:00
Oren Cohen
021faf24cd
Merge remote-tracking branch 'jimmy/targets-json-sectors' into rollup
2019-03-21 18:19:12 +02:00
Oren Cohen
4554258723
Merge remote-tracking branch 'jimmy/send-ram-cykit' into rollup
2019-03-21 18:18:51 +02:00
Jimmy Brisson
03f9a0cd23
Configure sector information in targets.json
2019-03-21 10:04:19 -05:00
Jimmy Brisson
c475a4a995
Fall back to target.json memories when CMSIS has empty memories
2019-03-21 09:42:47 -05:00
Oren Cohen
19f68d82a9
Remove cypress targets from CPM
2019-03-21 15:48:05 +02:00
Oren Cohen
ee9daecda5
Add RAM regions for cypress platforms
2019-03-21 15:13:02 +02:00
Kevin Gilbert
8084fd91af
Add baremetal example to testing
2019-03-20 18:04:33 -05:00
Cruz Monrreal
2192a8796e
Merge pull request #10173 from theotherjimmy/exclude-requires
...
Collect excluded libraries into ignored_dirs
2019-03-20 16:37:50 -05:00
Jimmy Brisson
41c1553d75
Collect excluded libraries into ignored_dirs
2019-03-20 09:01:38 -05:00
Jimmy Brisson
d331539853
Test that excluded libraries are correctly collected
2019-03-20 09:01:27 -05:00
Brian Daniels
6e629ded84
Version check the compiler in all build functions
...
This enables the use of Mbed Studio's version of ARMC6.
2019-03-19 17:37:55 -05:00
Brian Daniels
9824c3ccc3
Clean up some whitespace
2019-03-19 17:37:18 -05:00
Brian Daniels
c4a9fb3851
Test detection of Mbed Studio version of ARMC6
2019-03-19 17:36:28 -05:00
Brian Daniels
b13570907e
Remove stray prints and whitespace
2019-03-19 17:36:02 -05:00
Brian Daniels
bc06c535d0
Conditionally enable --ide=mbed from ARMC6 based on compiler version.
...
If the Mbed Studio build of ARMC6 is found, add the --ide=mbed to all
necessary executables.
2019-03-19 17:33:40 -05:00
Brian Daniels
9ac08e6313
Whitespace clean up
2019-03-19 17:33:09 -05:00
Jimmy Brisson
dabad7a074
Deduplicate RAM defines to linker command line
2019-03-19 13:38:45 -05:00
Jimmy Brisson
c37a31c5d4
Use PSA overrides for RAM
2019-03-19 13:38:44 -05:00
Jimmy Brisson
0bb3031ef2
Deduplicate MBED_ROM_xxxx defines on IAR linker command line
2019-03-19 09:17:52 -05:00
Martin Kojtal
a23d105dd2
Merge pull request #10105 from VeijoPesonen/esp32_app_config
...
test_configs: generic app config for boards with Wi-Fi
2019-03-19 09:30:00 +01:00
Martin Kojtal
e665df9c47
Merge pull request #10045 from bridadan/uvision_exporter_fixes
...
Uvision exporter fixes for Python 3, CPM updates, and Windows path issues
2019-03-18 08:12:47 +01:00
Cruz Monrreal
2b7fee3fbe
Merge pull request #10118 from arskanov/master
...
Selectively append changes to exported config files
2019-03-16 23:01:29 -05:00