Alon
0d550eeeb6
Fix crypto service get key info out params
2019-03-05 14:57:24 +02:00
Martin Kojtal
812812a626
nuvoton m2351: fix RAM regions - only one RAM1
...
Revert latest change to index. Linker scripts follow one RAM region. If index is updated,
requires further changes in the target that should be done separately.
2019-03-05 09:49:59 +00:00
David Saada
eb29af5f8a
Fix direct access to device key test for small erase/program ratio
...
This commit fixes the failure in the "Direct access to device key" test,
when working with internal flash components, whose erase size to program
size ratio is small. In such cases, the last two sectors are not large
enough to store the device key.
2019-03-05 11:32:29 +02:00
Jimmy Brisson
288fc2fb1c
Manually re-combine NUMAKER_PFM_M2351 memories
2019-03-04 16:53:02 -06:00
Jimmy Brisson
a69e2b45ff
Recompute Numaker PFM M2351 sectors
2019-03-04 13:28:11 -06:00
Jimmy Brisson
c9b613c2fe
Remove unused import patch
2019-03-04 11:36:36 -06:00
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
Oren Cohen
cf8ab27080
Add option to run on a single target
2019-03-04 19:11:38 +02:00
Oren Cohen
7b44834d81
Secure binaries release script
...
This script will find all the PSA targets and compile their secure binaries
Including test secure binaries
2019-03-04 18:42:28 +02: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
Michael Schwarcz
a9fdf1f632
Add assertions and tests
2019-03-04 15:20:21 +02: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
Nir Sonnenschein
16a59cb992
Allow PS test03 with PS_ALLOW_ENTIRE_STORAGE_FILL flag
2019-03-03 22:51:43 +02:00
Nir Sonnenschein
1650a923eb
add main functions to each compliance test
...
add main function to each compliance test , moving shared code to a common file
2019-03-03 22:50:59 +02:00
Nir Sonnenschein
eae1252c29
changes to test infrastructure to adapt it to green-tea
...
changes to test infrastructure to adapt it to green-tea
Make ITS testing default
Fix IAR build issues
2019-03-03 22:47:33 +02: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