Cruz Monrreal
f05a343678
Merge pull request #9894 from kfnta/find_secure_image
...
PSA tools: Find secure image at post-build
2019-03-06 13:45:13 -06:00
Martin Kojtal
c37ac83e8e
Merge pull request #8757 from theotherjimmy/use-cpm
...
Update Cmsis-pack-manager to 0.2.3
2019-03-06 15:58:42 +01:00
Martin Kojtal
f236125c74
Merge pull request #9918 from kfnta/unify_psa_generators
...
Unify PSA code generators
2019-03-06 15:39:49 +01:00
Michael Schwarcz
1f7a829e62
Compare non-secure image name without extension
...
- For cases where non-secure image is HEX and secure image is BIN
2019-03-06 16:38:45 +02:00
Martin Kojtal
9d72a5cf79
Merge pull request #9738 from theotherjimmy/reorder-bl-hooks
...
Tools: Reoder post-build hooks and bl merging
2019-03-06 13:02:45 +01:00
Michael Schwarcz
f15505714a
Add missing license header
2019-03-06 10:41:22 +02:00
Brian Daniels
c129336453
Fix include paths for the assembler for makefiles.
...
The Makefile is run from the build directory. The source files were
properly prefixed with "../", however the paths provided to the
assmebler were not. This ensures the assembler include paths are
prefixed properly.
2019-03-05 15:13:37 -06:00
Jimmy Brisson
a045c45996
Remove prints and lint warnings
2019-03-05 11:10:51 -06: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
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
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
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
Martin Kojtal
5c24ffefa4
Merge pull request #9915 from kfnta/tfm_import_new
...
Update TF-M sources
2019-03-04 10:53:12 +01:00
Oren Cohen
f234a1dc5b
Unify PSA code generators
2019-03-03 21:15:49 +02:00
Michael Schwarcz
f32f2ae0b0
Update tfm_importer.json with updated SHAs
2019-03-03 16:49:56 +02:00
Oren Cohen
cfb60ec955
Fixes
...
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz
e7341a98f8
tools: Add find_secure_image function
...
- Used by Non-secure targets post-build hooks to find
the relevant secure image.
2019-03-03 12:35:02 +02:00
Michael Schwarcz
4eabce80b4
TF-M: Update tfm_importer.json
2019-03-03 10:55:47 +02:00
Michael Schwarcz
b62c48977f
Review fixes
2019-03-03 10:55:46 +02:00
Michael Schwarcz
ef76ec83ee
Generate psa_manifest/sid.h
2019-03-03 10:55:46 +02:00
Michael Schwarcz
f9fbd6ae82
Align PSA SPM tests to TF-M
2019-03-03 10:55:42 +02:00