Added Kconfig that allows enabling nRF91 anomaly 36
workaround. Added translation to MDK-based symbol
in mdk_config.h.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Adding mdk_config header which will work as
a glue layer between nrfx-based MDK and Kconfig
symbols.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Prevent gen_periphconf_entries.py from generating duplicate entries
in the C output. This can happen when a resource is used multiple
places in the devicetree, for example.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Add support for hardware-generated periodic compare events using
the GRTC interval feature. Once configured, the hardware generates
compare events at a fixed interval without CPU intervention.
The feature is available only on channels defined as
"extended-channels" in the devicetree.
Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
The DAVE2D hardware require data buffer alignment setting so that
hardware can work properly, so this add LV_ATTRIBUTE_MEM_ALIGN_SIZE glue
config to lvgl config
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Remove instance specific Kconfigs (CONFIG_NRFX_GPIOTEx) as they are no
longer used. Cleanup in all places.
Add prompt to CONFIG_NRFX_GPIOTE to allow enabling the driver.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
CMSIS-DSP f16 sources use _Float16 arithmetic, which requires MVE float
on Cortex-M processors. So far, CONFIG_CMSIS_DSP_FLOAT16 only depended
on CONFIG_FP16, which controls the storage format and is enabled on
all ARM targets. This caused build failures on Cortex-M55 without MVE
when -mfpu=fpv5-sp-d16 is used.
Making CONFIG_CMSIS_DSP_FLOAT16 depend on the newly introduced
CONFIG_FP16_ARITHMETIC ensures that the hardware instructions for
arithmetic operations used by the DSP library are present.
Signed-off-by: Martin Jäger <martin.jaeger@a-labs.io>
Add the MCUX QDC (Quadrature Decoder) driver component to the
drivers.cmake build configuration. This enables the QDC HAL driver
to be included when CONFIG_QDC_MCUX is enabled.
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
Add support for upgrading TF-M applications built from Zephyr v4.0 to
v4.2 to version v4.3 and beyond.
Signed-off-by: Jordan Yates <jordan@embeint.com>
The UART async callback was incorrectly using the base buffer address
without considering the offset provided by the UART event data.
This resulted in data corruption or missed bytes during
high-throughput transfers.
Additionally, replaced SYS_FOREVER_MS with a 100ms RX timeout. This
allows the driver to trigger the UART_RX_RDY event for packets smaller
than the total buffer size, preventing data from being stalled in the
hardware FIFO until the buffer fills.
Signed-off-by: Michele Sardo <msmttchr@gmail.com>
Add support for dynamic allocation and freeing of DPPI connections
on nrf54h20. It is not longer required to use devicetree to allocate
specific channels that will be used by the application. nrfx_gppi on
nrf54h20 cpuapp behaves in almost the same way as on other targets.
The main difference is that allocating PPI connection requires
communication with Ironside through IPC.
It means that:
- allocation and freeing can only be done from the thread context
- allocation and freeing is slower
Currently, there is no support for controlling PPI connections in
global domain on other cores. It is expected that cpuapp will
setup PPI for VPR (ppr, flpr) as such approach reduces the need for
nrfx_gppi driver being present on ppr/flpr and those cores are
memory constrained.
Regarding cpurad, it is expected that PPI connections are static so
they can be setup manually, using DT and HAL. During initialization
nrfx_gppi on cpuapp gets the information about all PPI resources that
are statically allocated (using the devicetree) and they are excluded
from the pool of available channels.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Extend bindings for dppic and ppib to include channels and groups property.
Set channels and groups property in devices with DPPI.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Ciphersuites using RSA encryption were removed from Mbed TLS 4.0. As a
consequence this commit removes
MBEDTLS_CIPHERSUITE_TLS_RSA_WITH_AES_256_CBC_SHA256 and
MBEDTLS_KEY_EXCHANGE_RSA_ENABLED.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Move the following Kconfig options, which depend on
MBEDTLS_BUILTIN, from Kconfig to Kconfig.mbedtls:
- MBEDTLS_SSL_MAX_CONTENT_LEN
- MBEDTLS_MEMORY_DEBUG
- MBEDTLS_DEBUG_C
- MBEDTLS_ZEROIZE_ALT
Move MBEDTLS_SSL_DTLS_CONNECTION_ID within Kconfig.mbedtls to a more
suitable place.
Move MBEDTLS_INSTALL_PATH within Kconfig to a more suitable place too.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Only depend on MBEDTLS_BUILTIN, not MBEDTLS_CFG_FILE.
We can have scenarios where MBEDTLS_BUILTIN is used but with a different
configuration file that still leverages the existing Kconfig options.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
It was just used to decide whether to make CONFIG_MBEDTLS_CFG_FILE
promptless.
We can just leave the prompt always enabled; the Kconfig option is
always visible anyway and has a sensible default value.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
It was not a standard Mbed TLS configuration.
Replace it by the underlying macros it used to enable:
MBEDTLS_PEM_PARSE_C, MBEDTLS_PEM_WRITE_C and MBEDTLS_BASE64_C
indirectly.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
To match its Mbed TLS configuration counterpart
(MBEDTLS_SSL_SERVER_NAME_INDICATION).
Also add its prerequisite as a Kconfig condition.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Add a dedicated Kconfig option for this previously hidden and
automatically enabled Mbed TLS configuration.
Make the relevant key exchange Kconfig options depend on it.
Enable it explicitly where needed.
Fix the condition for defining MBEDTLS_X509_USE_C (based on
mbedtls_config.h).
Check for CONFIG_MBEDTLS_X509_CRT_PARSE_C instead of
MBEDTLS_X509_CRT_PARSE_C now that we have a Kconfig option for it.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Replace it by the standard Mbed TLS configuration.
The enabling of MBEDTLS_SELF_TEST is removed too as it's gone with
Mbed TLS 4.0.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
It's a standard Mbed TLS configuration. It should not
depend on CONFIG_MBEDTLS_BUILTIN.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Use sl_rail_util_pa_conversions on Series 2 SoCs.
Modules still use legacy pa_conversions.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Switch from OS timer-only approach to dual-timer strategy for improved
low power timing precision, especially for connectivity applications.
The previous approach used OS timer for both system ticks and low power
wakeup. With low tick rates, sleep time calculations lacked
precision, causing premature wakeups before BLE events, increasing power
consumption.
This rework uses high-precision SYSTICK during operation and switches
to OS timer for low power wakeup and coordination with link layer
event scheduling.
Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
Add WEP security support in Wi-Fi mgmt ops.
Need to enable Kconfig CONFIG_WIFI_NM_WPA_SUPPLICANT_WEP.
Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
Align to use the same pattern.
Mostly intended to verify the changes in the checkpatch script.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Update the return type of the ICMP callback handler to enum net_verdict.
This fixes an issue where currently all ICMP handler are passed the same
pkt. Handlers could have modified the passed packet resulting in undefined
behavior.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add an option for calling the MPCCONF service from RAM, by plugging in
the `__ramfunc` attribute via IronSide SE support package's glue layer.
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
Integrate support for a minimal driver for IronSide SE IPC which is
thread-unsafe, uses busy waiting, and assumes that the IPC region
is uncached. The driver is included in the IronSide interface code
itself, and is enabled by defining IRONSIDE_SE_CALL_MINIMAL.
This is primarily intended to be used by MCUboot but can be used by
e.g. resource constrained single-threaded firmware.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Add support to the UICR generator image for the new features
in the IronSide support package:
Split blob generation options like GEN_UICR_PERIPHCONF
into GEN_UICR_PERIPHCONF and GEN_UICR_GENERATE_PERIPHCONF to
allow configuring the blob address independently from generating
the blob itself.
Add support for generating a UICR MPCCONF blob by extracting a table of
entries from an image ELF file. The mechanism works mostly the same
as the UICR PERIPHCONF blob generation. When the UICR generator image
finds another image that has CONFIG_NRF_MPCCONF_SECTION=y, it will
extract the data from the section named 'mpcconf_entry' and include it
in build/uicr/zephyr.hex and either build/uicr/mpcconf.hex
or build/uicr/secondary_mpcconf.hex.
Add support to the UICR generator image for setting the
POLICY_MPCCONFSTAGE field via Kconfig. Setting this to INIT is
required to make use of the new ironside_se_mpcconf_write() API
added with IronSide SE v23.4.0+27, which is used to configure
global domain MPCs.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Updates the build system within the BT stack integration layer to
identify and include the Bluetooth controller firmware images for the
CYW55513 connectivity module.
Signed-off-by: Merin George <merin.george@infineon.com>
Update the module dependency for hal-infineon to
include updates from PR 43.
The new folder structure requires an update in the
CMakeList file for zephyr-ifx-cycfg.
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
RAIL depends on the LDMA and TIMER peripherals when Bluetooth Channel
Sounding support has been enabled, so be sure to include those in the
build for such configurations.
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>