Commit Graph

2866 Commits (3661957401e72f3af8af725ecb093f06ffd3784d)

Author SHA1 Message Date
Martin Kojtal a23d105dd2
Merge pull request #10105 from VeijoPesonen/esp32_app_config
test_configs: generic app config for boards with Wi-Fi
2019-03-19 09:30:00 +01:00
Martin Kojtal e665df9c47
Merge pull request #10045 from bridadan/uvision_exporter_fixes
Uvision exporter fixes for Python 3, CPM updates, and Windows path issues
2019-03-18 08:12:47 +01:00
Cruz Monrreal 2b7fee3fbe
Merge pull request #10118 from arskanov/master
Selectively append changes to exported config files
2019-03-16 23:01:29 -05:00
Cruz Monrreal 241e6d2b46
Merge pull request #10065 from theotherjimmy/fix-postbuild-restrictions
Correct post-build-hook detection logic
2019-03-16 22:58:58 -05:00
Cruz Monrreal 97204b6914
Merge pull request #9964 from bridadan/fix_references_to_basestring
Add imports of basestring for python 3
2019-03-16 22:55:37 -05:00
David Saada eb5cef84fd Add bootloader support for the LPC55S69 board
bla
2019-03-16 00:13:40 +02:00
Martin Kojtal 35e30e1b70
Merge pull request #10113 from theotherjimmy/use-ns-rom-in-bl
Use secure/non-secure rom for bl modes
2019-03-15 21:19:54 +01:00
Artturi Ramanen 19562fff30 Selectively append changes to exported config files
In case of a non-overwriting change to an exported config file
the previous logic appended a new block of text to the previous file
every time the to-be-written block of text was not exactly matched.

This parses the old config file and the to-be-written changes into
sets, which can then be compared. If all of the incoming lines are
found in the old config file set, no changes are made. If some
incoming lines are not found in the old config file, only these are
appended.
2019-03-15 12:07:02 +02:00
Martin Kojtal cde7d0be58
Merge pull request #10068 from NXPmicro/Add_LPC55S96_Exporter_Support
LPC55S69: Add IAR and uvision exporter support
2019-03-15 09:32:40 +01:00
Jimmy Brisson e798276917 Override rom used by managed bootloader with PSA roms 2019-03-14 14:41:51 -05:00
Jimmy Brisson 10c6a277d3 Test that secure/non-secure memories are passed
To managed bootloader mode
2019-03-14 14:33:29 -05:00
Jimmy Brisson a666e976a2 Clean all lint errors in configuration system 2019-03-14 12:15:34 -05:00
Veijo Pesonen cf530877ac test_configs: generic app config for boards with Wi-Fi 2019-03-14 17:31:48 +02:00
Yossi Levy 2c400b611e Updating address of secure and non secure rom in CY8CKIT_062_WIFI_BT_PSA index.json file 2019-03-14 14:26:23 +02:00
Yossi Levy b401e99bda Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name 2019-03-14 14:26:23 +02:00
Yossi Levy dd27a3400b mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE 2019-03-14 14:26:23 +02:00
Mahesh Mahadevan 3da7c6f3c0 Update to provide the right device name in the Asymmetric case
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-14 07:24:19 -05:00
Mahesh Mahadevan 83eed9eb78 LPC55S69: Add IAR and uvision exporter support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-14 07:19:15 -05:00
Martin Kojtal 4c7fc650db
Merge pull request #9994 from theotherjimmy/fix-iar-dfpu
Correct FPU settings traceback found by IAR
2019-03-14 09:10:13 +01:00
Martin Kojtal 79c7fc8b54
Merge pull request #10044 from bridadan/remove_dep_on_armc6_in_path
Correct check for the ARM toolchain binary in the PATH.
2019-03-14 09:09:59 +01:00
Brian Daniels f200c2757b Make the presence of cmsis-pack-manager package optional 2019-03-13 17:17:10 -05:00
Jimmy Brisson 5912241b8d Clean up all lint warnings in targets 2019-03-12 11:31:02 -05:00
Jimmy Brisson 59d35e36d2 Simplify conditions with get and getattr optional arguments 2019-03-12 11:31:02 -05:00
Jimmy Brisson 28c909c92f Explicitly return None 2019-03-12 11:31:00 -05:00
Jimmy Brisson 7380451f6e Correct post-build filtering options 2019-03-12 11:30:12 -05:00
Oren Cohen 963dd62524 Bugfix: send the correct parameter to _get_target_info() 2019-03-12 10:02:33 +02:00
Cruz Monrreal 7661d2d913
Merge pull request #10031 from adbridge/master
Add new mbed-os-example-attestation example
2019-03-11 19:24:43 -05:00
Cruz Monrreal 1471b4c130
Merge pull request #10041 from netanelgonen/Fix_include_mbedtls
Fix include in psa compliance tests to mbedtls config file
2019-03-11 19:19:40 -05:00
Brian Daniels 5ea3b32851 Fixing uvision exporter with CPM updates 2019-03-11 19:09:09 -05:00
Brian Daniels 00f204fce5 Ensure all exported paths use Posix style separators.
mbed_config.h is a file that is placed in your project root when you
export. This allows the configuration to be used by your IDE. When this
file already exists (due to a previous export), it changed the compiler
include option on Windows from "-include mbed_config.h" to "-include
.\mbed_config.h". The "\" character was interpreted as an escape
character "\m" and broke the build. This converts all resource paths to
use the Posix path separator "/" before writing project files to avoid
this issue.
2019-03-11 19:09:08 -05:00
Brian Daniels 1920212314 Fix include paths for uvision when exported with Python 3.
The call to encode() was causing the include paths to be placed in the
uvision product file with the prefix "b'" and the postfix "'". This
broke the parsing of this file and broke the build.
2019-03-11 19:09:07 -05:00
Brian Daniels cd96b21370 Correct check for the ARM toolchain binary in the PATH.
The compiler used for the ARM toolchain changes depending on the target.
This changes the front end scripts to do the proper toolchain look up
before checking the system PATH for the compiler executable. The tools
were always checking for the ARMC5 compiler, now it should check for the
right version.
2019-03-11 19:04:32 -05:00
Alexander Zilberkant 0f5147c8b9
remove hidden tad
Co-Authored-By: netanelgonen <netanel.gonen@arm.com>
2019-03-11 19:30:51 +02:00
Netanel Gonen 24244b5a29 update crypto complience tests importer, fix include to mbedtls config 2019-03-11 19:06:29 +02:00
Oren Cohen dad75b55f6 Minor changes fixing the script from getting stuck
* git diff of bin/hex files could be huge print and make
* calling python unbuffered with stdout=subprocess.PIPE could be problematic
2019-03-11 17:49:28 +02:00
Martin Kojtal 83d70199d1
Merge pull request #10027 from kfnta/tfm_fix_ftype
TF-M patch: Handle extended stack frame in tfm_svcall_psa_call
2019-03-11 15:48:49 +01:00
adbridge 34ae13dd48 Fix cut/paste error in the new example github link 2019-03-11 12:09:48 +00:00
adbridge 9432d45746 Looks like only the LPC55S69_NS flavour of target is required. 2019-03-11 11:57:56 +00:00
adbridge 618d31bb2b Remove unecessary _S and _NS target variants from new example 2019-03-11 11:48:00 +00:00
adbridge af540936be Add new mbed-os-example-attestation example 2019-03-11 11:27:49 +00:00
Martin Kojtal ba24cb2875
Merge pull request #10010 from kfnta/psa_tools_docs_update
Update PSA tools
2019-03-11 11:55:34 +01:00
Michael Schwarcz 40bfa05797 Update tfm_importer.json 2019-03-11 11:57:50 +02:00
Oren Cohen f534caa4c7
Enhancements
* Replace call with check_call to throw exception on failure
* Check if binaries actually been changes before calling git commit
* Docstrings for all functions
* Small refactor
2019-03-10 21:39:10 +02:00
Oren Cohen 92cc3d0bcb Add git commit option 2019-03-10 17:10:50 +02:00
Oren Cohen 91dabb535a Update docs for PSA tools 2019-03-10 17:10:48 +02:00
Netanel Gonen d1aff16cd6 add needed crypto macros to secure side 2019-03-10 15:06:51 +02:00
Martin Kojtal b9c214b165
Merge pull request #10002 from kegilbert/psa_baremetal_fix
Disable PSA in baremetal profiles
2019-03-08 21:15:30 +01:00
Michael Schwarcz 401580f364 LPC55S69: Change post-build hook to create HEX 2019-03-08 07:33:48 -06:00
Michael Schwarcz ebd9dc83f7 LPC55S69: Use find_secure_image in post-build and add prebuilt secure images 2019-03-08 07:33:48 -06:00
Mahesh Mahadevan 4573d22299 LPC55S69: Add post processing script
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:47 -06:00