Commit Graph

23462 Commits (f05a343678c31c069109bb4e2b70a82d64aa1d33)

Author SHA1 Message Date
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
Cruz Monrreal f3ecc0b485
Merge pull request #9940 from davidsaada/david_psoc6_reduce_prog_size
Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
2019-03-06 13:44:39 -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
David Saada 9cacd029ef Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
Page size in all PSOC6 boards is 512 bytes. This is very problematic in
all storage applications. This change reduces the page size (in flash_api's
flash_program_page API) to 32 by reading the original page, modifying it
with programmed data and programming it back. The number 32 for page size
conforms to the number of times (16) this action can be done.
2019-03-06 13:45:27 +02:00
Michael Schwarcz f15505714a Add missing license header 2019-03-06 10:41:22 +02:00
Martin Kojtal bb61ea1433
Merge pull request #9917 from kfnta/attest_doxy
Add attestation doxygen
2019-03-06 09:14:26 +01:00
Cruz Monrreal 26920fe0cc
Merge pull request #9931 from offirko/offir_nxp
Reduce number of threads in block device test
2019-03-05 22:48:10 -06:00
Cruz Monrreal b35b37d231
Merge pull request #9946 from bridadan/fix_make_armc6
Fix include paths for the assembler for makefiles
2019-03-05 22:45:46 -06: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
David Saada 3c14dd4d6e Fix test skip message to not enough heap 2019-03-05 22:42:46 +02:00
offirko 4075d6ee49 Add pre test resource verifications 2019-03-05 22:42:45 +02:00
offirko e41118796a Reduce number of threades in block device test
In addition, prevent FS tests from running on internal flash,
due to the fact that file system on internal flash is not part of
our offering (TDBStore should be used there instead).
2019-03-05 22:40:24 +02:00
Martin Kojtal 63dd5cba35
Merge pull request #9920 from sbutcher-arm/mbedtls-5.12-release
Update Mbed TLS for 5.12 release to Mbed TLS development HEAD
2019-03-05 18:15:52 +01:00
Jimmy Brisson a045c45996 Remove prints and lint warnings 2019-03-05 11:10:51 -06:00
Martin Kojtal 03bb6153f0
Merge pull request #9932 from davidsaada/david_devkey_direct_test_large_page
Fix direct access to device key test for small erase/program ratio
2019-03-05 15:46:54 +01: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