Commit Graph

29925 Commits (aa7a02f0a9d48781614b647599eff874d4ac2a8b)

Author SHA1 Message Date
Jaeden Amero aa7a02f0a9 musca: Mark Musca targets as experimental
TF-M and PSA have experimental APIs. Musca targets must initialize the
tfm_ns_lock, via the experimental API tfm_ns_lock_init(), as part of
their ordinary initialization procedure. Therefore, Musca targets must
have experimental APIs present in order to function. Add the
experimental API feature to Musca targets by default to ease usability
of the Musca targets, rather than requiring all users and CI to manually
enable experimental APIs when using these targets.
2020-05-29 13:19:11 +01:00
Darryl Green 7aadee9ab7 Add experimental feature folder
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
Jaeden Amero 8b5a2ff2d9 psa: Fix style in psa_hrng.c 2020-05-29 13:19:11 +01:00
Jaeden Amero 5d6ec71171 crypto: Move PSA Crypto headers to MBED_PSA_SRV
TF-M provides its own PSA headers for TF-M targets. Single v7-M targets
need to get PSA crypto from Mbed Crypto.

Note that we don't yet move crypto_struct.h to its new location. This is
to avoid breaking v8-M targets for the time being. When TF-M provides
the PSA implementation on v8-M, we will add crypto_struct.h to the
correct place.

Likewise, none of the PSA-implementing source is moved out of
COMPONENT_PSA_SRV_IMPL yet, as still must not be built for PSA NS
targets. When PSA NS targets switch to using TF-M provided
implementations rather than MBED_PSA_SRV, we can take the source out of
COMPONENT_PSA_SRV_IMPL.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-05-29 13:19:11 +01:00
Jaeden Amero 295ff531a4 psa: Pick up code from MBED_PSA_SRV
Make single Armv7-M PSA targets pick up files under TARGET_MBED_PSA_SRV.
We'll be moving the Mbed implementation of PSA to TARGET_MBED_PSA_SRV
folders soon.

Targets (dual-core and Armv8-M) that expect to use TF-M for their PSA
implementation also have MBED_PSA_SRV labels added to them so that they
continue working with the Mbed PSA implementation for the time being.
2020-05-29 13:19:11 +01:00
Darryl Green cf17d7a178 Change unrecognised features to a warning, rather than error
Give a warning rather than error if an unrecognised feature is used.
This will help compatibility when new features are added.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:11 +01:00
Jaeden Amero 4e47c38701 tools: Fix grammar in feature error message
Use "not a supported feature" instead of "not a supported features".
2020-05-27 16:37:59 +01:00
Martin Kojtal 9a8c9e2c29
Merge pull request #12995 from 0xc0170/fix_target_toolchain
build tools: fix target toolchain
2020-05-19 17:51:57 +02:00
Martin Kojtal 1088fa0627 build tools: remove version 6 2020-05-19 14:28:26 +01:00
Martin Kojtal bcfa1f97e0 tools build: add 6 to the version check 2020-05-19 13:03:53 +01:00
Martin Kojtal 12cadc2e91 tools build: remove git diff typo 2020-05-19 12:43:24 +01:00
Martin Kojtal 5a9ad74818 targets: add version 6 to the toolchain 2020-05-19 11:14:18 +01:00
Martin Kojtal 3847373660 targets: add baremetal to some known tested targets 2020-05-19 10:45:43 +01:00
Martin Kojtal ada878122c targets: fix indent 2020-05-19 10:37:13 +01:00
Martin Kojtal 6ca3c42942 targets: profiles remove/add not functional, replace it
It might be a bug as it should work.
2020-05-19 10:34:21 +01:00
Martin Kojtal dd6ed6c968 Revert "targets: enable baremetal by default"
This reverts commit 9b4cddd16a.

Not all targets can be enabled, will need more work.
2020-05-19 10:26:48 +01:00
Martin Kojtal b43fc0cf1a build: target toolchain return
Revert back to the toolchain function. Although it should be refactored (return just list of toolchains from a target).
2020-05-19 10:23:20 +01:00
Qinghao Shi f478a21de2
Merge pull request #12982 from 0xc0170/fix_release_version
build api: fix release version
2020-05-18 22:40:44 +01:00
Martin Kojtal 9b4cddd16a targets: enable baremetal by default
For only baremetal targets, just drop in replace. Don't need to add/remove.
2020-05-18 19:47:38 +01:00
Martin Kojtal d6fbda35d7 targets: add rtos profile by default
Every target is assumed to supported Mbed OS. If its not the case, it supports
only baremetal. Thus removing rtos, and adding bare-metal to the app profile.
2020-05-18 19:39:40 +01:00
Martin Kojtal 07084a5212 tools build: add profile
To select supported_application_profiles attribute from targets
2020-05-18 19:31:22 +01:00
Martin Kojtal e345542b70
Merge pull request #12978 from vmedcy/pr-dev/pdl-1.5.2
Update psoc6pdl to v1.5.2
2020-05-18 13:10:21 +02:00
Martin Kojtal 5df3c91e1d RZ_A1XX: public set to false as its base target 2020-05-18 11:17:29 +01:00
Martin Kojtal 59db9f692f tools build: return empty list for mbed2
We cant afford to raise an exception now. As anyone using this out there do not catch it. Rather
an empty list, as it can work after this fix - won't do anything.
2020-05-18 08:57:07 +01:00
Martin Kojtal 810b0262c1 tools build: fix toolchain tuple, should be list 2020-05-18 08:57:07 +01:00
Martin Kojtal 6e59bdd64d build: fix error syntax 2020-05-18 08:57:07 +01:00
Martin Kojtal caf58a7a44 tools/build_api: fix wording
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-05-18 08:57:07 +01:00
Martin Kojtal c489c213a7 build api: fix release version
This is non trivial fix as the function is being used outside of this repository.
Tools rely on it to return list of targets for 2 or 5. As we removed release_version from many targets,
this broke the logic. To keep the logic as it was, without updating all tools out there now,
lets just return full set of targets - all are supported.

In case for Mbed 2, returning all targets does not make sense, but rather raise an exception here. Not supported. This avoids suprised. If you look at build api functions there are many checks for 2 or 5 so more
clean up needed to actually get release_version out of the tools.
2020-05-18 08:57:06 +01:00
Martin Kojtal 475621ce36
Merge pull request #12984 from MarceloSalazar/dissable_mbed2_only
Disable mbed 2 and unsupported targets
2020-05-18 08:40:09 +02:00
Martin Kojtal f50b35faed
Merge pull request #12981 from mtomczykmobica/IOTSTOR-1044
IOTSTOR-1044 - SPIFBlockDevice is broken in Mbed OS master(6),
2020-05-18 07:52:34 +02:00
MarceloSalazar 40080a8389 Remove MAX32620HSP as unsupported 2020-05-15 20:29:35 +01:00
MarceloSalazar 3ba07baad7 Remove 2 as release_version 2020-05-15 20:27:03 +01:00
Marcin Tomczyk 9a44d01a2b IOTSTOR-1044 - SPIFBlockDevice is broken in Mbed OS master(6), removed incorrect spi.deselect at constructor. 2020-05-15 08:46:43 -07:00
Martin Kojtal 77d5583649
Merge pull request #12977 from jeromecoutant/PR_CLEAN_ARM_MICRO
STM32: remove uARM toolchain
2020-05-15 14:16:05 +02:00
Martin Kojtal 6cbe22dc59
Merge pull request #12623 from toyowata/baremetal_lpc1114
LPC1114: baremetal profile support
2020-05-15 13:17:52 +02:00
Kyle Kearney 0fa5e32c95 Update psoc6pdl to v1.5.2 2020-05-15 11:50:18 +01:00
Anna Bridge 90a8fef7d0
Merge pull request #12942 from kjbracey-arm/chrono-timeout-test
Add Timeout rescheduling test
2020-05-15 11:13:25 +01:00
jeromecoutant c96eb2cd0e STM32 rename TOOLCHAIN_ARM_STD into TOOLCHAIN_ARM 2020-05-15 10:41:28 +02:00
jeromecoutant 303752ad84 STM32 remove all TOOLCHAIN_ARM_MICRO 2020-05-15 09:37:40 +02:00
Martin Kojtal e48a659f81
Merge pull request #12903 from kjbracey-arm/chrono_ns
Nanostack HAL: Convert to Chrono
2020-05-15 08:21:41 +02:00
Martin Kojtal b1071487a3
Merge pull request #12951 from MarceloSalazar/S2LP_cleanup
Clean-up S2LP driver configuration
2020-05-15 08:08:47 +02:00
Martin Kojtal 37ee008b90
Merge pull request #12961 from MarceloSalazar/remove_nrf51
Remove nRF51 targets
2020-05-15 08:08:26 +02:00
Martin Kojtal 1014f8ca72
Merge pull request #12971 from kjbracey-arm/memorypool
MemoryPool fixes
2020-05-15 08:07:38 +02:00
Marcelo Salazar 307cc61b8c Add legacy config support 2020-05-14 17:17:27 +01:00
Marcelo Salazar 149656447d Remove target dep. on S2LP driver 2020-05-14 17:17:27 +01:00
Martin Kojtal 06ff4cfb81
Merge pull request #12960 from jeromecoutant/PR_REMOVE_TARGETS
STM32 code cleaning for MBED-OS6
2020-05-14 18:08:18 +02:00
jeromecoutant 71e82ec3de STM32WB MBED6 supported targets
NUCLEO_WB55RG => MCU_STM32
2020-05-14 13:55:33 +02:00
jeromecoutant d0bf04fbba STM32L5 MBED6 supported targets
NUCLEO_L552ZE_Q => MCU_STM32
DISCO_L562QE    => MCU_STM32
2020-05-14 13:55:33 +02:00
jeromecoutant 1a80cde2da STM32L4 MBED6 supported targets
NUCLEO_L432KC        => MCU_STM32_BAREMETAL
NUCLEO_L433RC_P      => MCU_STM32
NUCLEO_L452RE_P      => MCU_STM32
DISCO_L475VG_IOT01A  => MCU_STM32
NUCLEO_L476RG        => MCU_STM32
DISCO_L476VG         => MCU_STM32
NUCLEO_L486RG        => MCU_STM32
DISCO_L496AG         => MCU_STM32
NUCLEO_L496ZG        => MCU_STM32
NUCLEO_L496ZG_P      => MCU_STM32
NUCLEO_L4R5ZI        => MCU_STM32
NUCLEO_L4R5ZI_P      => MCU_STM32
DISCO_L4R9I          => MCU_STM32
2020-05-14 13:55:33 +02:00