Commit Graph

23481 Commits (678ac50f67bec6c8407e15f2c36cbb8d727da05c)

Author SHA1 Message Date
Nir Sonnenschein 678ac50f67 Updated to cb58d2c 2019-03-12 10:06:30 -05:00
Oren Cohen d2bf036fb9 Remove unused type which was conflicting wiith errno.h 2019-03-12 10:06:30 -05:00
Amanda Butler 3e6723c849 Edit README.md
Edit file for minor grammar and style tweaks, mostly for consistent capitalization and tense across docs.
2019-03-12 10:06:29 -05:00
Oren Cohen abbb2ffbe6 Fix typo 2019-03-12 10:06:29 -05:00
Oren Cohen abc90c354c Remove python from code block 2019-03-12 10:06:29 -05:00
Oren Cohen bc8f53218e Add README.md for tools/psa 2019-03-12 10:06:29 -05:00
Nir Sonnenschein 0cc6d1a448 indentation fix 2019-03-12 10:06:29 -05:00
Netanel Gonen 6556f9483e Update PSoC 6 pre-build secure partition 2019-03-12 10:06:29 -05:00
Nir Sonnenschein a79d9d1be7 fix resource leaks 2019-03-12 10:06:29 -05:00
Alon 7cb3205475 Fix crypto service get key info out params 2019-03-12 10:06:29 -05:00
Oren Cohen d3fd113cbe Add option to run on a single target 2019-03-12 10:06:29 -05:00
Oren Cohen a5019e6051 Secure binaries release script
This script will find all the PSA targets and compile their secure binaries
Including test secure binaries
2019-03-12 10:06:29 -05:00
Moran Peker ee08d13395 Attestation doxygen 2019-03-12 10:06:29 -05:00
Michael Schwarcz 46e0dccb41 TF-M: Increase TFM_SPM_MAX_ROT_SERV_NUM from 30 to 32 2019-03-12 10:06:29 -05:00
Michael Schwarcz 0d7e548827 Disable SPM tests with TF-M issues for TF-M targets 2019-03-12 10:06:29 -05:00
Alexander Zilberkant 27f6e3b1bd align doxygen files
align PREDEFINED list in doxygen_options.json and doxyfile_options
2019-03-12 10:06:28 -05:00
Alexander Zilberkant 7f0b4d68ce Doxygen add TF-M flags 2019-03-12 10:06:28 -05:00
Vincent Coubard 35c48c255b BLE - Register the Att call handler whenever the GATT_SERVER is available. 2019-03-12 10:06:28 -05:00
Vincent Coubard 9a9edd6121 BLE - Call SecInit unconditionally as it is required by low HCI level driver
That module handles random number incomming from the controller. Overhead is low (less than 150 bytes of flash).
2019-03-12 10:06:28 -05:00
Vincent Coubard f297f5425b BLE - Avoid calling v2 API in GenericGap::reset_ if not required. 2019-03-12 10:06:28 -05:00
Michael Schwarcz e8246bb40b Compare non-secure image name without extension
- For cases where non-secure image is HEX and secure image is BIN
2019-03-12 10:06:28 -05:00
Michael Schwarcz 7321545116 Add missing license header 2019-03-12 10:06:28 -05:00
Michael Schwarcz 259e257f1e Add assertions and tests 2019-03-12 10:06:28 -05:00
Michael Schwarcz 12390f662b tools: Add find_secure_image function
- Used by Non-secure targets post-build hooks to find
  the relevant secure image.
2019-03-12 10:06:28 -05:00
David Saada e16d2d81d9 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-12 10:06:28 -05:00
adbridge 7dd791e2f9 Update Mbed version block 2019-03-06 15:49:59 +00: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
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
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