Commit Graph

2687 Commits (7e5e64bfdfb383a1764678269c10585260eb5de8)

Author SHA1 Message Date
Russ Butler 2e7e026d2f Remove mbed 2 USB tests from Travis
Remove the mbed 2 USB tests since USB support will be part of mbed 5.
2019-02-22 10:52:32 -06:00
Cruz Monrreal 870bd05904
Merge pull request #9708 from davidsaada/david_protected_storage
Implement PSA protected storage & restructure PSA storage implementation
2019-02-21 17:30:56 -06:00
Cruz Monrreal 77591fbdd3
Merge pull request #9772 from kfnta/tfm_extras
Additions to TF-M source integration
2019-02-21 15:32:28 -06:00
David Saada 41eb5cbfd9 Implement PSA protected storage & restructure PSA storage implementation
- Move all PSA storage code under psa/storage directory
- Create a global PSA error codes header, eliminating ITS specific ones
- Create a common header file for PSA storage type definitions,
  eliminating ITS specific ones
- Create a common implementation for PS & ITS
- Implement protected storage feature
- Change ITS test to be common to PS as well
2019-02-21 20:58:59 +02:00
Michael Schwarcz 7016ac7d8c Add image signing scripts from TF-M bl2 library 2019-02-21 17:42:58 +02:00
Michael Schwarcz d2c433ccfe TFM Importer: Update SHAa of TFM patches 2019-02-21 17:42:56 +02:00
Oren Cohen 8800ad5c80 TFM: Add defines to mbed_lib.json 2019-02-21 17:38:30 +02:00
Brian Daniels 434d86b08a Ensure header CRC is written as unsigned int 2019-02-20 20:30:54 -06:00
Cruz Monrreal 2910ed54c1
Merge pull request #9277 from deepikabhavnani/flags_fixes
Sleep: error flags fix
2019-02-20 12:07:15 -06:00
Martin Kojtal 3aeff7ae25
Merge pull request #9765 from kfnta/asm_config
Add config header to assembly compilation
2019-02-20 11:51:57 +01:00
Martin Kojtal e59166289f
Merge pull request #9756 from vmedcy/psoc6-cmake-export
PSOC6: enable export to CMake
2019-02-20 09:39:35 +01:00
Martin Kojtal 7f4475d924
Merge pull request #9736 from 0xc0170/fix_licenses_files
tools/test/cmsis: add license header
2019-02-20 09:38:55 +01:00
Oren Cohen 156bdc4b95
Add config header to assembly compilation
ARMC6 was not including mbed_config.h when compiling assembly files
2019-02-20 01:15:23 +02:00
Volodymyr Medvid cf0ea92104 tools/export: move hex_files selection to base Exporter class
CMake and makefile exporters share a common logic for hex file
selection. Factor it as a common property in the base class
to avoid code duplication.
2019-02-19 20:03:06 +02:00
Michael Schwarcz 01a78e98a2 Add mbed_app.json for TF-M bare-metal build 2019-02-19 15:19:06 +02:00
Michael Schwarcz 516af50cb7 Consolidating tools/tfm and tools/spm into tools/psa 2019-02-19 15:19:06 +02:00
Michael Schwarcz 2198d5c008 Update tfm_importer.json with SHAs of patches 2019-02-19 15:19:00 +02:00
Michael Schwarcz f5af459d4c Add TF-M autogen tool 2019-02-19 15:18:52 +02:00
Michael Schwarcz 771cdaa3e7 Add TF-M importer json 2019-02-19 15:18:52 +02:00
Volodymyr Medvid 7311a610e5 PSOC6: enable export to CMake
The approach for the hex_files subset selection is identical
to makefile exporter: https://github.com/ARMmbed/mbed-os/pull/9466

Single hex file should be passed to srec_cat when hex_filename
is set in targets.json or mbed_app.json.
2019-02-19 14:15:31 +02:00
Martin Kojtal 195965fd5e tools: move string description after import modules 2019-02-19 10:49:04 +00:00
Martin Kojtal 62b5b4644d memap: remove not needed comment prior future import 2019-02-19 09:55:05 +00:00
Martin Kojtal 34cdefc89e tools: fix hashbang 2019-02-18 15:45:33 +00:00
Cruz Monrreal f95ec957dd
Merge pull request #9742 from naveenkaje/mcuxpresso_export_fix
tools: export: MCUXpresso: fix case inconsistencies in .templ file names
2019-02-15 21:15:42 -06:00
Cruz Monrreal 5a8970a48b
Merge pull request #9649 from ngraziano/fix-vscode-export
Fix IntelliSense in VSCode export
2019-02-15 12:28:00 -06:00
Naveen Kaje 8d284cb4b6 tools: export: MCUXpresso: fix case inconsistencies in .templ file names
The templ file names are both all upper case and lower case letters.
The Target Names map is usually all upper case. The match could fail
if the templ file, as we have case-sensitive comparison. Handle such
cases by perorming a case-insensitve check.

mbed export of a project to MCUXpresso could potentially always fail
irrespective of what is passed in -m option since the target names
map entry and the filename may not match. This commit fixes this issue.

Example of the issue that this commit fixes:

$ mbed export -i mcuxpresso -m lpc11u68 -v
<snip>
project.py: error: LPC11U68 not supported by mcuxpresso
<snip>
2019-02-15 11:56:27 -06:00
Martin Kojtal c08f51aa36 copyright 2019 fix 2019-02-15 13:37:40 +00:00
Martin Kojtal c8f698ca36 tools: add license headers 2019-02-15 13:32:45 +00:00
Cruz Monrreal 883b8b8f4f
Merge pull request #9724 from naveenkaje/tools_dir_with_profile_name
tools/utils: ensure default build profiles are processed first
2019-02-14 21:21:19 -06:00
Cruz Monrreal 9e6c7234e2
Merge pull request #9715 from bridadan/inc_as_header_file
Add .inc as a header file type.
2019-02-14 20:26:38 -06:00
Cruz Monrreal 6278ed66b0
Merge pull request #9635 from bridadan/no_pelion_host
Do not provide a default Pelion host address.
2019-02-14 20:25:31 -06:00
Naveen Kaje 176b750257 tools/utils: ensure default build profiles are processed first
The command-line argument '--profile' looks for build
profiles provided in mbed-os/tools/profiles/. If a
directory name exists in the root folder with the
same name as one of the profile names provided by
default [e.g debug/develop/release], that directory
is processed instead resulting in incorrect behavior.
Fix this behavior by processing the default profiles first.
2019-02-14 10:37:05 -06:00
Martin Kojtal b9fb95860c check release: add license header 2019-02-14 14:06:15 +00:00
Brian Daniels 7e1dff5aec Add .inc as a header file type.
Currently, if you were to add a directory that only contained .inc
files, this file would not be passed as an include path to the compiler.
This ensures that .inc files are also considered header files.
2019-02-13 17:59:04 -06:00
Cruz Monrreal 2e9d6d2938
Merge pull request #9645 from AriParkkila/cellular-netsocket
Change TESTS/netsocket/ for cellular testing
2019-02-13 17:28:35 -06:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Ari Parkkila 56badd8616 Change TESTS/netsocket/ for cellular testing 2019-02-13 01:30:42 -08:00
Cruz Monrreal II b59bb465ba Removed decode since deeper tools always return strings 2019-02-12 12:05:28 -06:00
Cruz Monrreal II 8c10cb0b8d Prefixed string to properly be parsed as bytes 2019-02-12 12:05:28 -06:00
Martin Kojtal 26751eeaa9
Merge pull request #9658 from alekla01/patch-1
REALTEK_RTL8195AM binary timestamp
2019-02-12 09:51:34 +01:00
Cruz Monrreal f04d51b2cd
Merge pull request #9652 from kfnta/tools_fixes
Fix minor bugs in secure targets file filtering
2019-02-11 16:41:05 -06:00
Brian Daniels 3ff0ca4b23 Do not provide a default Pelion host address.
This moves the default pelion host address to be assigned by the cloud
sdk. It also cleans up the logic a bit to be shorter.
2019-02-11 16:11:43 -06:00
Cruz Monrreal 760aadf36d
Merge pull request #9657 from ARMmbed/revert-9496-Add_MXRT_IAR_Support
Revert "MIMXRT1050_EVK: Add IAR support in the exporter"
2019-02-11 16:10:30 -06:00
Nicolas Graziano e85bbdd767 Vscode export: replace obsolete ${workspaceRoot}
Replace with ${workspaceFolder}
2019-02-11 19:05:25 +01:00
Nicolas Graziano 4b1789de22 Vscode export: remove path separator conversion
VSCode handle "/" and it is easier to read.
2019-02-11 19:05:14 +01:00
Nicolas Graziano e682807bf5 Fix IntelliSense in VSCode export
Allow to use default intelliSenseEngine in visual studio code.
Add of compilerPath and forcedInclude of mbed_config header in the
created c_cpp_properties.json file.
2019-02-11 19:05:04 +01:00
Martin Kojtal 36df2aa868
Merge pull request #9633 from orenc17/update_delivery
Improvement to artifact delivery method
2019-02-11 17:54:51 +01:00
Aleksi Klasila 3e88cf7e83 REALTEK_RTL8195AM daplink timestamp from os.environ 2019-02-11 18:11:07 +02:00
Jimmy Brisson f331d9e94e Add SPDX identifier for new file 2019-02-11 08:49:18 -06:00
Jimmy Brisson 5b96cbfa34 Fix typo in config schema definitons 2019-02-11 08:45:35 -06:00