added SOC_AMEBA_NP_IMAGE to handle ameba blobs to run a different
architecture CPU inside the SOC.
Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
Oops. #103436 tried to make the bootloader select the correct specs file
using CONFIG_PICOLIBC, but that variable wasn't set while configuring the
bootloader. Pass that from the Zephyr build into the bootloader build.
This also uncovered a gap in the target_compile_options setting when
picolibc is not the default C library -- the bootloader was getting linked
with --specs=picolibc.specs but it wasn't getting compiled with that flag,
so compilation was happening using the default C library headers.
Signed-off-by: Keith Packard <keithp@keithp.com>
Removing cpu0 reference from mcxw72 target
as only cpu0 should be targeted on this device.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
The driver and module now supports nRF70 only, nRF71 support will be
added in the future using a new driver.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Since Zephyr no longer uses deprecated APIs, we no longer need to
disable deprecation warnings.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Point to the last version of Wiseconnect. This new version introduce a few
changes we have to apply to the Zephyr integration.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Add support for separate XI and XO tuning capacitor values for HFXO.
If two values are set, they are used for XI and XO respectively. If
a single value is set, it is used for both.
Add support for enabling internal DC bias on the XI input when using
an external clock source.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
When the application isn't using picolibc, fall back to previous behavior
and use toolchain default along with 'nosys.specs'.
Signed-off-by: Keith Packard <keithp@keithp.com>
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
For P2P provisional discovery make the retries configurable, in case the
peer doesn't respond we can reduce to avoid airtime.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit adds support to handle the case when `otPlatUdpConnect` is
called with either ip address set to any, or port set to 0.
In this case, sa_family is set to `NET_AF_UNSPEC` as per POSIX spec, to
reset socket's peer address.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commits refactors the mDNS socket by:
- splitting the send functions to IPV6 and IPV4 related ones;
- fixing some variable naming convention and minor identation issues
No new functionality is added, this was done to ease code
readability.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Remove experimental symbol for Zephyr Border Router application.
Zephyr OpenThread Border Router sample contains all the mandatory features
required by such an application.
Starting with Zephyr 4.3 release, this sample has been tested in a
Thread Harness setup; the features implemented at that time have been
validated, issues have been identified and fixed.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Configure all nRF70 GPIO pins (BUCKEN, VDDIO_CTRL, SR RF switch) to
OUTPUT_INACTIVE state during driver initialization to prevent floating
pins from accidentally powering the module or affecting RF switch
before the interface is brought up.
This addresses an issue where GPIO configuration was delayed until
the interface was brought up for the first time, leaving voltage control
pins floating which could result in unintended power supply.
Fixes#100993.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
SiWx917 does not support concurrent read and write on the flash.
sli_mv_m4_app_from_flash_to_ram() ensure that requirement. Especially, it
disable the Zephyr scheduler. However, to guaranty the instruction cache
won't access to the flash, this function has to be located in RAM.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
An unknown event key can occur a lot if only a subset of the keys are used
in lvgl. Demote level from warning to debug.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Adding a configuration flag for IPV4 capabilities which defines
dependencies and selects other functionalities.
By default, IPV4 capabilities are enabled for an OpenThread border
router application.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Separating initialization functions at platform level.
Removing IPV4 packet filtering rules when OT NAT64 service is stopped.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commit removes platform code that generated ephemeral key.
Now, OpenThread dedicated API is used to generate and validate an
ephemeral key.
Change related to
https://github.com/openthread/openthread/pull/12188
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
The enumeration was off by 1, fix to align with with the binding.
Also fix an incorrect file name in a comment.
Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
Enable CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA only when
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT is enabled since the former
depends on the latter.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Move ble-controller integration to mcux-sdk-ng to make future release
integration easier. Based on 25.09.00 release, same as the existing
version.
Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
Set CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA enabled by default
meaning that PSA Crypto API are used by default instead of legacy crypto.
Some Kconfigs for EC and RSA keys are also enabled there in order to
allow support of private key management.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Add new Kconfigs which are specific for certain TLS ciphersuite. The idea
is that instead of enabling key-exchanges related Kconfigs and then adding
all possible dependencies/selections there (which is not strictly correct)
the user enables a specific ciphersuite for which is easier and more
accurate to specify dependencies.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Simply move the definition of OPENTHREAD_CRYPTO_PSA Konfig before crypto
configuration related Kconfigs.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Increase heap memory when OpenThread is enabled and either "commissioner"
or "joiner" roles are used.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Select proper PSA_WANT requirements in CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG
in order to enable KDF algorithms.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
crypto_psa.c was missing an implementation for the following functions:
- otPlatCryptoHkdfInit
- otPlatCryptoHkdfExtract
- otPlatCryptoHkdfExpand
- otPlatCryptoHkdfDeinit
which provide support for HKDF using PSA Crypto API.
This commit fill this gap by copying the implementation from upstream
PR 11445.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Allow MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED to work with either legacy
crypto (i.e. MBEDTLS_ECJPAKE_C) or PSA Crypto API
(i.e. PSA_WANT_ALG_JPAKE).
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Make CONFIG_OPENTHREAD_CRYPTO_PSA as enabled by default in order to use
PSA Crypto API instead of legacy Mbed TLS' crypto. This is done with the
final goal to deprecate and remove usage of legacy crypto support in
the near future from Zephyr codebase.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
OpenThread needs a PSA ITS provider when using PSA Crypto API, therefore
we enable Secure Storage in builds without TF-M.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
First separate Mbed TLS' crypto configuration from the "high level" (TLS)
part. CONFIG_OPENTHREAD_MBEDTLS_TLS_CONFIG now only takes care of this high
level part, whereas the newly added
CONFIG_OPENTHREAD_CRYPTO_LEGACY_MBEDTLS_CONFIG takes care of the legacy
crypto configuration.
CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG is added to propose a default crypto
configuration based on PSA Crypto API instead of legacy Mbed TLS.
Both CONFIG_OPENTHREAD_CRYPTO_LEGACY_MBEDTLS and
CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG are promptless and the choice between
the two is based on CONFIG_OPENTHREAD_CRYPTO_PSA.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Rename
- CUSTOM_OPENTHREAD_SECURITY as OPENTHREAD_SECURITY_CUSTOM
- OPENTHREAD_MBEDTLS_CHOICE as OPENTHREAD_SECURITY_DEFAULT_CONFIG
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Enabled CONFIG_MBEDTLS_ECP_C also when CONFIG_OPENTHREAD_SRP is enabled as
this is required by CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Add CONFIG_OPENTHREAD_COMMISSIONER_JOINER and
CONFIG_OPENTHREAD_SRP_CLI_SRV as internal helpers to slightly simplify
depenencies in other Kconfigs that depends on these combinations.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Simply move the definition of OPENTHREAD_CRYPTO_PSA Kconfig closer to
the OPENTHREAD_MBEDTLS one. This will help in following commits.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>