Add disk names for zephyr,ftl-dhara disks to FF_VOLUME_STRS, so that
they are available for mounting.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Zephyr has currently no flash translation layer implemented. This commit
adds the basic possibility to use Dhara as FTL in Zephyr. It is
implemented as disk driver that can be placed between a filesystem and a
flash driver.
Signed-off-by: Pascal Linder <pascal.linder@zuehlke.com>
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Add the TSI v6 driver component (driver.tsi_v6) to the MCUX SDK build
system when CONFIG_INPUT_MCUX_TSI is enabled.
Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
Add display driver for NXP i.MX LCDIFV2 controller.
The driver supports:
- RGB565, RGB888, and ARGB8888 pixel formats
- Configurable framebuffer allocation (0-2 buffers)
- Partial display updates when driver framebuffers are enabled
- Display blanking control
- Backlight GPIO control
- Pinctrl integration
- Cache coherency support via MCUX cache API
Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
Replaces usage of these deprecated macros with ones that support
fixed and mapped partition compatibles. Also includes an update to
hal_espressif which also (rightly or wrongly) has zephyr specific
code in it
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
The MCUX ELCDIF display driver requires 8-byte alignment for the
display buffer address. Set the LVGL rendering buffer alignment to
8 bytes when DISPLAY_MCUX_ELCDIF is enabled.
Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
These macros are private to the net subsystem, let's not use them in
modules.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The SDK has gratuitously moved all gcc toolchains to a subdirectory; adapt
to that by adding 'gnu/' when necessary
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Added Kconfig option to allow using nrfx-based
Time Division Multiplexed audio interface driver.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Add Kconfig option enabling nrfx KMU driver
so that it can be used.
Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
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>