Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
There are two timers, Timer0 and Timer1, available on the PSoC64. Timer0
has 8 channels and Timer1 has 24 channels. TF-M regression tests make
use of Timer0 Channel 0 and Timer0 Channel 1. Therefore, reserve the
timer channels used by TF-M. This approach can be replaced once we have
a way to allocate dedicated timers for TF-M and Mbed OS.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
89a497a386 Merge branch 'release_internal' into release_external
c8cc6601fd Merge pull request #2336 from ARMmbed/sync_with_mbedos
ac5f369d70 MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib
6522a086ef Added missing optimizations based on mbedtls/baremetal.h config
0e8739fae3 Added new global rng, needed for MbedTLS optimisations
d5db37eec8 Prepare for upcoming MbedTLS changes
4271a9dda9 Merge pull request #2335 from ARMmbed/sync_with_mbedos
e2db6ffefb Fixed error of function 'mac_fcf_lenght'
28fc2a9543 Fixed error of structure
194e81beda Fixed spelling mistake of structure
00ea3fb83c Remove test files
d7f7cc582a Merge branch 'release_internal' into release_external
132cd12107 Merge pull request #2333 from ARMmbed/sync_with_mbedos
550a78e544 Fix function spelling mistake in Thread
74c60242e1 Fix function spelling mistake in border_router.c
89830ecf1a Fix function spelling mistake in iphc_decompress.c
1728ae12dc Fix function spelling mistake in lowpan_context.c
ed5d253fcc Fix function spelling mistake in lowpan_context.h
ecbca0a2ed Fixed typo 'thead' in thread_neighbor_class.h
071911b30a Changed nanostack API network size to be a range of values
4756be4766 NEW API for Validation RX Unicast schedule channel.
0b48e5c018 Channel Mask update ,support for excluded Channels and FHSS API pdate
ead1ade5a7 Start sending PAS message after EAPOL parent TX fails.
8de473b245 Implemented 802.15.4 mode setting (#2328)
975b9e670b Added missing configuration api empty functions
f7db06eb1e Added configuration storage (#2283)
e9561f0fe4 Removed mbedTLS internal include file
fe812c3c1f Changed certificate error message wording to be less fatal
97aaf5f613 Add network property API to Nanostack (#2318)
cfd1a4d271 Fixed Route cost calculation
5094614813 Added opeation mode validation for detect unsupported values.
44f85aaf4b Enabled RPL candidate list filtering and only certificate setup accept without limit.
145c7399b3 Wi-sun address registration trigger update
d492575adb Modified ARO registrations timeouts from the address lifetime
b898f04b5b Removed Extra version number update at revocation start.
b9d14097e2 Wi-sun config message consustent filter
dcebff9bb5 Use RPL parent soft filtering only after bootstrap.
523593e014 Fixed Broken new channel mask update.
a3bcc2d2c8 Removed the PAN version change requirement from routers
bc919d8241 Merge pull request #2315 from ARMmbed/merge_release_internal_to_master
git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 89a497a38603e6af4d053c539bd30931006080f2
5aa54b8e62 Merge pull request #127 from ARMmbed/sync_with_mbedos
6fe78412d2 Follow Mbed OS coding style
2b708be451 trace group defiined for shared_rng
d4c2caca41 more error handling added for ctr and hmac
cace1e9c22 Added missing optimizations based on mbedtls/baremetal.h config
2cc7442ba5 Added new global rng, needed for MbedTLS optimisations
f861157576 Prepare for upcoming MbedTLS changes
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 5aa54b8e622ec2b44bdf323cc02bd1cfc5ffd904
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.
In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.
When compiling the OTA application image, please add the
line as below in the mbed_app.json file.
"target.macros_add" : ["MBED_APP_COMPILE"]
This will remove the "flash_config" and "ivt" header in the
final image.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
Update the flash driver to support both Hyper Flash
and QSPI Flash.
In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.
Add the critical section to avoid the risk.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
"target.macros_remove" : ["HYPERFLASH_BOOT"]
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
In case when target.mbed_ram_start and target.mbed_ram_size are not set
neither in targets.json nor in mbed_app.json, the IRAM1 region values
defined in tools/arm_pack_manager/index.json are passed by Mbed CLI as
the linker script preprocessing flags. As a result, wrong addresses of
MBED_RAM_START and MBED_RAM_SIZE are defined in the linker script since
CMSIS DFP pack has no information about RAM split between CM0+ and CM4 applications.
Set the values explicitly in targets.json to ensure the correct RAM layout.
The MBED_ROM_START and MBED_ROM_SIZE provided by CMSIS DFP are already
correct since the linker scripts places CM4 vector table at MBED_APP_START,
taking into account the flash application area of the CM0+ prebuilt application.