Commit Graph

58 Commits (514255f22b768d627c5cb850b84b0a7437b026a5)

Author SHA1 Message Date
Ashok Rao 514255f22b Changing .asytleignore paths 2020-08-05 16:55:44 +01:00
Anna Bridge c85b76ad05
Merge pull request #13298 from ashok-rao/platform-refactor
Refactoring \platform directory
2020-08-05 13:32:42 +01:00
Anna Bridge 1d362c8a7a
Merge pull request #13371 from gpsimenos/gp-lwip-restruct
Restructure lwipstack directory
2020-08-05 11:56:12 +01:00
Ashok Rao a78554ebfa Fixing .astyleignore conflict 2020-07-31 15:50:03 +01:00
George Psimenos bcb5c10d62 Update lwipstack paths 2020-07-31 10:19:52 +01:00
George Psimenos 973c1dc2ff Move drivers unit tests 2020-07-31 10:04:36 +01:00
Ashok Rao 448f609d13 Adding UNITTESTS to .astyleignore 2020-07-28 10:16:47 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj 2add7064ec Update astyleignore and source code comment 2020-07-27 10:04:01 -07:00
Martin Kojtal 1d9c13ed5b
Merge pull request #13307 from rajkan01/storage_kv_dir_resturcture
Restructure storage kvstore directory
2020-07-23 15:59:07 +01:00
Martin Kojtal 7592d702b2
Merge pull request #13284 from LDong-Arm/move_ppp
Refactor PPP library
2020-07-21 14:12:05 +01:00
Rajkumar Kanagaraj d956116c36 Update greentea config, header reference 2020-07-20 07:33:52 -07:00
Anna Bridge ca2f980661
Merge pull request #13273 from rajkan01/storage_rb_dir_restructure
Restructure storage blockdevice directory
2020-07-17 15:56:33 +01:00
Lingkai Dong 804523fec5 Update .astyleignore for PPP source which is mostly imported 2020-07-17 15:31:44 +01:00
Anna Bridge 63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Rajkumar Kanagaraj 3bcb4eb260 Unittests and Astyle:
- Update the header reference and source reference in cmake
- Update astyleignore to ignore blockdevice UNITTESTS
- Removed the redundant debug log
2020-07-17 03:12:03 -07:00
Lingkai Dong 7927ccd0f8 Do not astyle-check mbed-coap which is imported 2020-07-16 17:06:57 +01:00
Rajkumar Kanagaraj 3f080dfd65 update the path in license, readme markdown, astyleignore 2020-07-13 05:24:45 -07:00
Devaraj Ranganna 76e911c5ef psa: Replace Mbed PSA with TF-M
Add TF-M to Mbed OS, replacing the previous PSA implementation for
TF-M-capable targets. This commit adds files imported from TF-M, without
modification. The version of TF-M imported can be found in
`features/FEATURE_PSA/TARGET_TFM/VERSION.txt`.

These changes switch to TF-M as the sole PSA implementation for v8-M and
dual core targets, with TF-M running on the secure side and Mbed OS
running on the non-secure side. Single core v7-M targets will continue
to have PSA implemented via PSA emulation, implemented by Mbed OS.

Move or remove many PSA-implementing files, as PSA will be provided by
TF-M on non-single-v7-M targets. Delete any files that are not relevant
for PSA emulation mode.
 - Remove imported TF-M SPM
 - Remove Mbed SPM and tests
 - Remove Mbed-implemented PSA services and tests
 - Remove PSA_SRV_IMPL, PSA_SRV_IPC, PSA_SRV_EMUL and NSPE.
 - Replace PSA_SRV_EMUL and PSA_SRV_IMPL with MBED_PSA_SRV
 - Remove any files autogenerated by
   "tools/psa/generate_partition_code.py", which no longer exists.

Add new feature `PSA` to support PSA in Mbed OS.

Move the Mbed OS implementation of PSA services for v7-M targets (which
employ PSA emulation, and don't yet use TF-M) to
features/FEATURE_PSA/TARGET_MBED_PSA_SRV. Update the `requires`
attribute in TESTS/configs/baremetal.json to avoid breaking baremetal
testing builds.

Update .astyleignore to match new directory structure

Update Mbed TLS importer to place files into FEATURE_PSA

Create the following generic PSA targets:

* `PSA_Target` (Root level PSA generic target)
* `PSA_V7_M` (Single v7-M PSA generic target)
* `PSA_DUAL_CORE` (Dual-core PSA generic target)
* `PSA_V8_M` (v8-M PSA generic target)

Flatten MUSCA_NS and private MUSCA targets into public MUSCA targets.

Move mcuboot.bin to flat location (removing prebuilt folder)

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:20 +01:00
Darryl Green 0e07dff0a4 Move TARGET_MBED_PSA_SRV to FEATURE_EXPERIMENTAL_API
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:12 +01:00
Darryl Green ccdb76d34f Move components/TARGET_PSA under FEATURE_EXPERIMENTAL_API
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:11 +01:00
Jaeden Amero b44a263729 psa: Put Mbed PSA implementation into MBED_PSA_SRV
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-05-29 13:19:11 +01:00
Veijo Pesonen 62e04f71c3 littlefsv2: solve astyle issues
Adds littlefs-directory under littlefsv2 to .astyleignore as it's an
external component brought to Mbed OS. Issues with the adaption layer
fixed.
2020-05-05 14:24:44 +03:00
Arto Kinnunen 14de0f054d Update astyle filtering rules
Enable astyle for:
-components/802.15.4
-features/nanostack/coap-service

Allow astyle formatting for sal-stack-nanostack, except:
-features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet
2020-04-03 16:29:12 +03:00
Seppo Takalo 333b281000 Add moduletest for SlicingBlockDevice
This uses HeapBlockDevice for providing the underlying storage block.
Check boundaries that slicingblockdevice do not overlow over to unassigned
blocks.
2019-11-04 16:13:32 +02:00
Martin Kojtal e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero dda4c47a4b crypto: Match styles of crypto struct headers
Make crypto_struct_ipc.h (for use with PSA Crypto clients) match style
with the file it is based on, crypto_struct.h (from Mbed Crypto). This
helps to keep the file diff minimal so it's easy to see the meaningful
(non-style) changes.
2019-08-23 17:16:10 +01:00
Mika Leppänen e3f247793a Added PPP directory to astyle ignore and added some spellchecker ignore words 2019-08-20 13:37:12 +03:00
George Psimenos d998c007f7 Update .astyleignore 2019-08-12 17:40:49 +01:00
Kevin Bracey de7e72befe astyle: exclude platform/cxxsupport
As something of a cheat, exclude platform/cxxsupport from astyle.

astyle really can't process the sort of template metaprogramming going
on in there; treat it as a "black box" like the toolchains' own
libraries.
2019-07-18 11:50:13 +03:00
David Saada 732dd36c90 Remove FEATURE_STORAGE and all underlying deprecated features 2019-03-28 23:10:05 +02:00
Cruz Monrreal II 287f28fa75 Replaced './' with '^' in .astyleignore file.
'^' matches start of line, which is what fgrep/grep use to properly ignore start of lines
2019-03-25 13:20:47 -05:00
Cruz Monrreal II da208393c4 Added './' prefix to all directories in .astyleignore
This forces directory searching to not over-exclude files.

Also sorted the list, because it's nice.
2019-03-20 12:57:36 -05:00
Martin Kojtal 17f8bc1088
Merge pull request #9893 from VeijoPesonen/wifi_astyle_unignore
ESP8266: astyle fixes
2019-03-14 09:38:49 +01:00
Veijo Pesonen c9eaa07236 ESP8266: astyle, remove from the .astyleignore-file 2019-03-04 09:38:20 +02:00
Nir Sonnenschein 22e429bdd4 add imported PSA compliance tests to astyle ignore list 2019-03-03 16:17:25 +02:00
Moran Peker ec5c3c163d Update astyleignore
correct file path
2019-02-27 14:14:31 +02:00
Moran Peker 2cccfa1748 Update astyleignore
Ignore attesttaion.h that taken from TFM
2019-02-27 14:14:30 +02:00
Moran Peker d40c25d516 Add newline at end of file 2019-02-27 14:14:25 +02:00
Moran Peker 07520c7cf6 Update astyleignore to ignore qcbor lib folder 2019-02-27 14:14:23 +02:00
Moran Peker 5211a92af7 Revert file permissions changes 100644 to 100755 2019-02-27 14:14:19 +02:00
Moran Peker e2ea743646 Attestation: Update astyle.ignore
Ignore TFM imported code from astyle
2019-02-27 14:14:09 +02:00
Michael Schwarcz 13d05db4f2 Add TF-M sources to .astyleignore 2019-02-19 15:18:55 +02:00
Martin Kojtal 9a0651c7fb astyleignore: add nanostack targets folder
Targets will be styled separately
2018-11-15 07:20:10 +00:00
Martin Kojtal bc4101e5f3 astyle ignore: add lwip-sys 2018-11-08 08:54:40 +00:00
Martin Kojtal f264a41373 astyle ignore: add wifi/rf components
Will be reverted once upstream changes come to Mbed OS
2018-11-08 08:54:32 +00:00
Martin Kojtal 326658a2fc astyle ignore: add pithy code 2018-11-08 08:54:26 +00:00
Martin Kojtal 9238bf223f AStyle ignore: add BLE
BLE will be fixed via separate pull request as changes required are bigger.
We ignore BLE coding style for now.
2018-11-08 08:54:20 +00:00
Martin Kojtal 63160d8c5b netsocket: fix astyle coding style 2018-11-08 08:54:17 +00:00
Martin Kojtal f2d30978e0 astyleignore: update nanostack paths 2018-11-07 08:56:35 +00:00