Jimmy Brisson
1f4c2710b1
Add SPDX identifier to liscense in "new" file
2019-03-04 11:36:36 -06:00
Jimmy Brisson
c9674dc7f8
Fix pylint in iar.py except for the long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
1712506de2
Fix pylint warnings in gcc.py except for the long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
5dd149cb13
Fix formatting erros in arm.py
...
except for the extremely long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
a2fcdba040
Move toolchain base class into another file
2019-03-04 11:32:16 -06:00
Jimmy Brisson
b0b43c27bf
Correct all pylint warnings and errors except 4
...
The 4 remaining are related to the fact that __init__.py defines a base class.
They'll be removed next commit
2019-03-04 11:32:16 -06:00
Jimmy Brisson
7a55bc7b0c
Prevent "Image: None" in log
2019-03-04 11:32:16 -06:00
Jimmy Brisson
98a7bfcdcc
Define filename when OUTPUT_EXT is elf
2019-03-04 11:32:16 -06:00
Jimmy Brisson
9c9e0595f2
Add SPDX identifier
2019-03-04 11:32:15 -06:00
Jimmy Brisson
cd20c37cdc
Drop unused variable from link_program
2019-03-04 11:32:15 -06:00
Jimmy Brisson
3353722d36
Correct use before definition bug in ARM
2019-03-04 11:32:15 -06:00
Jimmy Brisson
a007212602
Remove use of hooks from IAR
...
Aparantely I missed this previously
2019-03-04 11:32:15 -06:00
Jimmy Brisson
58867c052e
Correct test import locations
...
A few functions moved into their own module
2019-03-04 11:32:15 -06:00
Jimmy Brisson
4cac89c22b
Reorder post-build and managed bootloader mode merging
...
Priously, post-bulid was run before the merge from managed bootloader mode.
This renders many post-build scripts less than useful, as most of them
compute a digest of the ROM image generated in a build.
This reorders the post-build scripts to come after the managed bootloader
mode so that post-build script digests are useful again.
2019-03-04 11:30:49 -06:00
Jimmy Brisson
aeeb43fb3c
Simplify hook tool implementation
...
The "hook tools" were capable of hooking into many commands run by the build system.
To my knowlage, the only hook is the "post-build-hook". The post build hook could be
easier to reason about if the implementation is specialized for just post-build
hooking.
This commit make it much easier to point out where post build hooks are called by
making the call explicit.
2019-03-04 11:30:49 -06:00
Jimmy Brisson
643b5785a5
Recreate STM32F439ZITx sector information
2019-03-04 11:24:48 -06:00
Jimmy Brisson
fd63f5bde5
Correct python3 bug in gerenate index
2019-03-04 11:24:48 -06:00
Jimmy Brisson
1e5b83262a
Recompute sector information for STM32F429ZITx
2019-03-04 11:24:47 -06:00
Jimmy Brisson
c5bbfb2d51
Correct name of K22F
2019-03-04 11:24:47 -06:00
Jimmy Brisson
049ee2df4d
Add old name for STM32H743ZI
2019-03-04 11:24:47 -06:00
Jimmy Brisson
efeda77602
Require 0.2.3 CPM
...
This includes vendor parsing so that we can reproduced the index.json
2019-03-04 11:24:47 -06:00
Jimmy Brisson
859949fc74
Update index to include vendor information
2019-03-04 11:24:47 -06:00
Jimmy Brisson
8d7c15ee35
Use device variant in uvision export
2019-03-04 11:24:47 -06:00
Jimmy Brisson
9de37ec39c
Correct uvisionn export
2019-03-04 11:24:47 -06:00
Brian Daniels
dbbf336949
Avoid KeyError Exceptions.
...
Co-Authored-By: theotherjimmy <theotherjimmy@gmail.com>
2019-03-04 11:24:47 -06:00
Jimmy Brisson
4af70dcaa1
Use updated CPM info in config system
2019-03-04 11:24:47 -06:00
Jimmy Brisson
aa07e126f1
Use upgrade table for unavailable CMP data
2019-03-04 11:24:47 -06:00
Jimmy Brisson
74f45fbbfc
Start using CPM
2019-03-04 11:24:46 -06:00
Martin Kojtal
355f09bbac
Merge pull request #9875 from tymoteuszblochmobica/testfix
...
Apply proper network interface verification.
Only run for platforms which have two interfaces and prevent crashes otherwise.
2019-03-04 15:24:41 +01:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Tymoteusz Bloch
f420a5551d
Fix multihoming tests for case of no ethernet device
2019-03-04 11:25:56 +01:00
Martin Kojtal
5c24ffefa4
Merge pull request #9915 from kfnta/tfm_import_new
...
Update TF-M sources
2019-03-04 10:53:12 +01:00
Martin Kojtal
9f6156abb3
Merge pull request #9916 from kfnta/skip_spm_hal_m33
...
Skip test on Cortex M33 devices
2019-03-04 10:51:14 +01:00
Simon Butcher
5285b39c01
Update Mbed TLS to the latest development version
...
This updates Mbed TLS to the latest development version, commit 535ee4a35b9c
in the Mbed TLS repo.
2019-03-03 23:04:00 +00:00
Simon Butcher
86825a65b6
Move the Mbed TLS target to the development branch
...
Before moving to the new release of Mbed TLS, this moves the default imported
version of Mbed TLS to the development branch, and will import the HEAD of the
branch, not just a specific release.
2019-03-03 22:59:00 +00:00
Simon Butcher
21c6c90519
Make the storage configs dependent on the PSA label
...
This commit makes the storage configurations - setting
MBEDTLS_PSA_CRYPTO_STORAGE_C, MBEDTLS_PSA_CRYPTO_STORAGE_ITS_C and unsetting
MBEDTLS_PSA_CRYPTO_STORAGE_FILE_C - dependent on the PSA label being defined for
the target.
Previously these symbols were always defined for all platforms which could
cause problems for targets that don't yet support PSA.
2019-03-03 22:55:38 +00:00
Oren Cohen
f234a1dc5b
Unify PSA code generators
2019-03-03 21:15:49 +02:00
Oren Cohen
577d286639
Skip test on Cortex M33 devices
...
On platforms using coretx m33 accessing the secure memory will cause SecureFault instead of Hardfault.
SecureFault is implemented in the secure image and cannot be changed in runtime.
2019-03-03 18:43:04 +00:00
Martin Kojtal
fa65546aa2
Merge pull request #9913 from kfnta/fix_acl_test
...
Fix bug in crypto_acl test
2019-03-03 19:30:43 +01:00
Martin Kojtal
b2fb3d76bf
Merge pull request #9823 from kfnta/wait_and_identity
...
mbed-SPM updates
2019-03-03 19:26:28 +01:00
Oren Cohen
064dc7d154
Attestation doxygen
2019-03-03 18:46:20 +02:00
Michael Schwarcz
f32f2ae0b0
Update tfm_importer.json with updated SHAs
2019-03-03 16:49:56 +02:00
Michael Schwarcz
7a2c7d7df4
TF-M patch: Fix tfm_memory_check issue (TF-M issue #224 )
...
- Add Secure/non-secure code and secure heap to memory check
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-03-03 16:47:53 +02:00
Michael Schwarcz
749faa6534
TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T236
(cherry picked from commit 008bf1b2d1
)
2019-03-03 16:47:47 +02:00
Michael Schwarcz
8a087a6504
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
2019-03-03 16:47:41 +02:00
Michael Schwarcz
ea8bff57b1
TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
(cherry picked from commit fc78640559
)
2019-03-03 16:47:34 +02:00
Michael Schwarcz
03dbd4bb28
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
2019-03-03 16:47:28 +02:00
Michael Schwarcz
87f22efcb5
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-03-03 16:47:22 +02:00
Michael Schwarcz
71cd34df32
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
2019-03-03 16:47:17 +02:00
Michael Schwarcz
823e5a2a7f
[trusted-firmware-m]: Updated to f876e5c
2019-03-03 16:47:11 +02:00