Commit Graph

42 Commits (80847e958d2423ea677b1c89e34245765a23e6a0)

Author SHA1 Message Date
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Martin Kojtal 21652971a5
Merge pull request #12644 from macronix/macronix_ospi
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal a02ea2f43a
Merge pull request #13623 from rajkan01/refactor_docs
Refactor mbed-os design docs
2020-09-21 16:28:13 +01:00
Rajkumar Kanagaraj f79e2791bf Refactor storage docs 2020-09-17 16:07:22 +01:00
Martin Kojtal 33a538ab6c
Merge pull request #13593 from LDong-Arm/platform_storage_default_requirements
STM32F: skip LittleFileSystem default instance and TDBStore tests
2020-09-17 15:21:40 +01:00
rogeryou 48524f25ae add opsi driver 2020-09-16 11:27:23 +08:00
Lingkai Dong 8910ec6db2 kvstore general_tests_phase_1/2 tests: Skip TDBStore if FlashIAP sector size is non-uniform
By default TDBStore requires blocks to have the same size.
2020-09-11 10:12:58 +01:00
Lingkai Dong 577d450c7b PlatformStorage: skip LittleFileSystem on internal flash with non-uniform sectors 2020-09-11 09:58:22 +01:00
Martin Kojtal 6bfd89e656
Merge pull request #13196 from gbrtth/musca_s1_support_mbed6
Add ARM_MUSCA_S1 as a new target platform
2020-09-10 16:53:14 +01:00
Gabor Toth bdf2306f16 Add platform support to Musca S1
Change-Id: Iebdd4bc402446caba6b7bd894eddb0a85ed884d8
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
Signed-off-by: Gabor Toth <gabor.toth@arm.com>
2020-09-10 14:53:41 +02:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
Martin Kojtal bb618d04cb
Merge pull request #13484 from jeromecoutant/PR_KVSTORE_TESTS
KVSTORE tests: move directories
2020-09-09 09:50:38 +01:00
Martin Kojtal 9767ae8c18
Merge pull request #13552 from LDong-Arm/general_block_device_test_fix
general_block_device test: support non-uniform erase sizes
2020-09-07 13:22:40 +01:00
Martin Kojtal 41f2ee54f9
Merge pull request #13430 from LDong-Arm/refactor_frameworks
Relocated libraries in features/frameworks
2020-09-07 09:10:56 +01:00
Lingkai Dong 3b9335055b general_block_device test: allocate buffers enough for the largest sector
Previously we get the common erase size of the whole flash, which
may or may not exists if there are multiple regions. In this case
the size returned is zero and the test fails.

Fix this by allocating read and write buffers that are large enough
for all sectors. The test itself already supports non-uniform
erase sizes, and the erase size at any address can be smaller
than our buffers.
2020-09-04 16:05:10 +01:00
Lingkai Dong feb1023849 test_program_read_small_data_sizes: get erase size specific to the sector we use
The test case only uses one specific sector, but the erase size
is obtained for the whole block device instead. This doesn't work
if different regions of the flash don't have a common erase size.

Fix the issue by getting the erase size at the address we use.
2020-09-04 16:02:53 +01:00
cyliangtw 1651aa9bc6 Set M252 Flash internal size as 8KB for kv store 2020-09-02 20:21:29 +08:00
Lingkai Dong a88438ce04 Move mbed-trace into platform 2020-09-02 12:30:59 +01:00
jeromecoutant ff76c0193a KVSTORE tests: move directories to make shorter test name
This allows compilation in Windows environment with name length constraint
2020-08-27 10:57:20 +02:00
Anna Bridge 4ba1a5433f
Merge pull request #13433 from LDong-Arm/refactor_device_key
Refactor device_key
2020-08-24 12:56:10 +01:00
Lingkai Dong 61fd872cc3 QSPIF: options to preset reset sequence for legacy SFDP
The first revision (1.0) of SFDP (ref: JESD216) does not include
fields for software reset support. It's only been added in the
second revision (1.5) (ref: JESD216A).

Some Mbed OS targets such as DISCO_F746NG include flashes with
legacy SFDP, thus we add an option to preset the reset mode.
2020-08-21 11:37:47 +01:00
Rajkumar Kanagaraj ef18003588 Rename to more readable include header directory component name 2020-08-18 13:10:50 +01:00
Rajkumar Kanagaraj bf58572c4d Refactor storage COMPONENT_xx directory 2020-08-17 16:44:05 +01:00
Lingkai Dong 3681a874e6 Restruture device_key
Restructure device_key to have
* include/device_key - header
* source - source file
* tests/TESTS - Greentea test
2020-08-14 17:31:11 +01:00
Raymond Ngun 1be0b1f297 CYTFM_064B0S2_4343W: Inital creation of PSA target
Target is similar to CY8CKIT_064B0S2_4343W but with PSA
and TFM enabled.

Signed-off-by: Raymond Ngun <raymond.ngun@cypress.com>
2020-08-07 08:02:01 -07:00
Rajkumar Kanagaraj 8a0ba8f0c2 Refactor storage/system_storage directory 2020-07-23 08:30:49 -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
Rajkumar Kanagaraj ca84e11a22 Fix CI build issue with GCC_ARM and ARMC6 toolchain 2020-07-22 10:23:12 -07:00
Robert Walton 5bdd6abeaf Remove doubly defined symbol from mbed_lib.json 2020-07-22 10:02:53 +01:00
Rajkumar Kanagaraj d956116c36 Update greentea config, header reference 2020-07-20 07:33:52 -07:00
Rajkumar Kanagaraj bb14b9ff8f move greentea and UNITTESTS closure to library 2020-07-20 07:28:53 -07:00
Rajkumar Kanagaraj 72b4a14536 Refactor sub-directories - securestore, direct_access_devicekey, conf 2020-07-20 07:28:53 -07:00
Rajkumar Kanagaraj d05d3471fe Refactore storage/kvstore directory 2020-07-20 07:28:53 -07:00
Rajkumar Kanagaraj 51247d0c4c Update header path reference 2020-07-17 12:42:11 -07:00
Rajkumar Kanagaraj 41f0796484 Move greentea test closure to library 2020-07-17 12:42:11 -07:00
Rajkumar Kanagaraj b340492142 Refactor storage/filesystem directory 2020-07-17 12:42:11 -07:00
Rajkumar Kanagaraj d47689be8e Move storgae unittests 2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj 9aec1012a0 Move storgae greentea test 2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj e92efbd800 Update the header file reference 2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj 036831e172 Refactor storage/blockdevice directory 2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj 3f080dfd65 update the path in license, readme markdown, astyleignore 2020-07-13 05:24:45 -07:00
Rajkumar Kanagaraj 0bcf967870 Storage directory restructure:
- Move mbed-os/features/storage to mbed-os/storage
- Move components/storage/blockdevice to storage/blockdevice/COMPONENT_xxx
2020-07-10 14:59:53 +01:00