Commit Graph

29445 Commits (aec63034378f652b76b6b7fd74b4b3e40da8342c)

Author SHA1 Message Date
Jaeden Amero c447278727 cypress: psoc64: Add TF-M compatibility
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>
2020-04-03 15:48:58 +01:00
Devaraj Ranganna cc8cc5903a cypress: psoc64: Reserve timer channels used by TF-M
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>
2020-04-03 15:48:58 +01: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
Arto Kinnunen 64d879b540 Update Atmel 802.15.4 RF driver
Update to version v3.1.0.
2020-04-03 16:02:05 +03:00
Arto Kinnunen 78abc43c32 Update S2LP 802.15.4 RF driver
Update driver to version 1.0.2
2020-04-03 16:01:08 +03:00
Arto Kinnunen 185db1333e Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..89a497a386
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
2020-04-03 14:57:23 +03:00
Arto Kinnunen 6275f710bf Merge commit '185db1333ed41be03e3a565e0f0171cad90857a1'
* commit '185db1333ed41be03e3a565e0f0171cad90857a1':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from fb7413b846..89a497a386
2020-04-03 14:57:23 +03:00
Arto Kinnunen 54f3465e45 Merge commit '9cb63ab0e4b525c8d067ea94d7e4302203ba835a'
* commit '9cb63ab0e4b525c8d067ea94d7e4302203ba835a':
  Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
2020-04-03 14:56:53 +03:00
Arto Kinnunen 9cb63ab0e4 Squashed 'features/nanostack/coap-service/' changes from e5e0c138e6..5aa54b8e62
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
2020-04-03 14:51:33 +03:00
George Beckstein 6baab6cd33 Changed pin names in example to be more universal 2020-04-03 06:10:53 -04:00
Gavin Liu 288946a226 targets:MIMXRT1050: Update link file for application
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>
2020-04-03 17:48:46 +08:00
Gavin Liu 1d1e69a4a2 targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
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>
2020-04-03 17:46:55 +08:00
George Beckstein 2a2295c0b3 Fixed typo in target.json 2020-04-03 05:43:17 -04:00
Gavin Liu 2be0790c4a targets:TARGET_IMX: Fix the memset issue for FLASHIAP
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>
2020-04-03 17:41:34 +08:00
Gavin Liu f8a8401a13 targets:TARGET_IMX: Fix the flash init risk
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>
2020-04-03 17:41:07 +08:00
Gavin Liu b53d40b269 targets:MIMXRT1050: Add QSPI Flash boot support
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>
2020-04-03 17:40:39 +08:00
George Beckstein 8b264fd821 Attmpted to fix astyle of I2CSlave example 🤞 2020-04-03 05:38:23 -04:00
George Beckstein d8727510e7 Remove unused internal state enum 2020-04-03 05:38:23 -04:00
George Beckstein 0dbc2606be Improved I2CSlave example with code for both Mbed master and slave to test with 2020-04-03 05:38:23 -04:00
George Beckstein 907ae1b67e Implement I2CSLAVE in the i2c_api for nRF52 targets 2020-04-03 05:38:21 -04:00
George Beckstein 85a17293d3 Enable I2CSLAVE for nRF52 targets 2020-04-03 05:01:22 -04:00
George Beckstein e1178be65e Applying changes to only specific targets for stop-gap. 2020-04-03 04:45:43 -04:00
George Beckstein 382a55487f Added object extensions configuration parameter to HAL 2020-04-03 04:38:21 -04:00
Martin Kojtal c8ab263388
Merge pull request #12701 from dustin-crossman/pr/custom-bt-firmware
Add custom BT Firmware image for CYW9P62S1_43012EVB_01
2020-04-03 09:09:46 +02:00
Martin Kojtal 8376303092
Merge pull request #12698 from hugueskamba/hk-remove-armc5-support-drivers
Drivers: Remove support for ARM Compiler 5
2020-04-03 09:00:49 +02:00
Martin Kojtal 5539d65017
Merge pull request #12638 from tymoteuszblochmobica/testall
Enable storage tests to all targets
2020-04-03 09:00:18 +02:00
Martin Kojtal 74ace63eaa
Merge pull request #12729 from AnttiKauppila/mbedtls_fixes
Mbedtls fixes
2020-04-03 08:59:14 +02:00
Martin Kojtal 548e1c6766
Merge pull request #12676 from LDong-Arm/ble_deprecation_cleanup
Remove deprecated BLE:: APIs and unsupported services
2020-04-03 08:36:38 +02:00
Volodymyr Medvid b61cf5bdd6 PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
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.
2020-04-02 17:44:37 +01:00
Ryan Morse f060b6afd7 Add custom BT Firmware image for CYW9P62S1_43012EVB_01 2020-04-02 09:30:17 -07:00
Martin Kojtal ded879daed
Merge pull request #12603 from dustin-crossman/pr/add-cysbsyskit_01
Add target CYSBSYSKIT_01
2020-04-02 18:18:11 +02:00
Martin Kojtal 38b1d2fa9c
Merge pull request #12743 from 0xc0170/fix_mergify_5.15
mergify: Add 5.15 rule
2020-04-02 15:18:25 +02:00
Hugues Kamba 467305f374 Fix build failure due to C lib selected
Allow target.c_lib to be set to small when Mbed 5 is supported.
2020-04-02 14:02:40 +01:00
Martin Kojtal b7664fa78c
Merge pull request #12680 from dustin-crossman/pr/qspi_partial_fix
QSPI driver also acquires ownership upon initialization now.
2020-04-02 13:59:40 +02:00
heejungPark 7cb2344f42
Update PeripheralPinMaps.h
Add SPDX identifier
2020-04-02 20:08:42 +09:00
JojoS62 a4d5186f39 add config option for phy media interface 2020-04-02 12:16:57 +02:00
Martin Kojtal a7cac10916 mergify: add 5.15 branch rule 2020-04-02 07:29:47 +01:00
heejungPark e87e2f4770 Change files in TARGET_SDT64B 2020-04-02 11:36:34 +09:00
Martin Kojtal 6e46e2ddd3
Merge pull request #12639 from rajkan01/ethernethal_remove_deprecated
Remove the deprecated ethernet hal APIs
2020-04-01 20:28:17 +02:00
Martin Kojtal c60ec041a9 mergify: remove spaces 2020-04-01 15:53:21 +01:00
Martin Kojtal 00fef8346e
Merge pull request #12733 from 0xc0170/fix_odin_removal
odin targets: remove release version
2020-04-01 14:41:11 +02:00
Martin Kojtal 66bf7e85a6
Merge pull request #12547 from amq/update-emlib
EFM32: update emlib to 5.9.1
2020-04-01 14:19:10 +02:00
Martin Kojtal 62cac3b640
Merge pull request #12712 from jamesbeyond/lto-printf
Fix LTO issue with minimal-printf
2020-04-01 12:22:52 +02:00
Martin Kojtal 6678efe571
Merge pull request #12696 from 0xc0170/fix_boot_iar_vector
rtos: declare vector table type as in Technical Note 11578
2020-04-01 12:22:21 +02:00
Tymoteusz Bloch 2ca832c673 Enable storage tests to all targets 2020-04-01 12:04:36 +02:00
Kimmo Vaisanen 6ca66e23df Lora: Fix line endings 2020-04-01 12:50:24 +03:00
Kimmo Vaisanen 9bb7e9a605 Add 'components/lora/' from commit '0f7efe3ad17c6c619843b8391b3035149f358260'
git-subtree-dir: components/lora
git-subtree-mainline: a6ef9db8dc
git-subtree-split: 0f7efe3ad1
2020-04-01 12:50:10 +03:00
Kimmo Vaisanen 949856d967 Replace unique_ptr::reset() call with "= nullptr"
This is a workaround for IAR library bug.
2020-04-01 12:13:49 +03:00
Martin Kojtal a6ef9db8dc
Merge pull request #12626 from jeromecoutant/PR_F4
STM32F4 update drivers version to CUBE V1.25.0
2020-04-01 10:50:32 +02:00
Martin Kojtal e8208c062b
Merge pull request #12719 from jeromecoutant/PR_FPGA_JSON
FPGA CI TEST SHIELD: add test config json file
2020-04-01 08:58:44 +02:00