When INPUT_MODE_THREAD is selected, default LV_Z_POINTER_INPUT_MSGQ_COUNT
to INPUT_QUEUE_MAX_MSGS so that the LVGL pointer queue depth matches the
input subsystem queue, preventing dropped touch/pointer events.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Parse DT information regarding NFCT pins and pass it as compiler flags
which are used by the MDK startup code.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Introduce a new Kconfig option, MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS,
to control the corresponding TF-PSA-Crypto configuration macro.
Previously, this option was implicitly enabled whenever
MBEDTLS_PSA_CRYPTO_C was set. This change makes the behavior explicit
and user-configurable through Kconfig.
The default remains 'y' to preserve existing behavior.
This option allows applications to disable the assumption of
non-overlapping input/output buffers when required, at the cost of
additional internal buffer handling.
Part of update-psa-crypto-build-symbols.
Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
Extend the shared BFLB HCI driver with BL60x (BL602) support: BL60x
include paths, controller init macros, IRQ setup, and platform shim
forward declarations.
Kconfig adds BT_BFLB_BL60X with two controller variant choices
(m1s1, m8s1) and smart defaults based on enabled BT roles.
Signed-off-by: William Markezana <william.markezana@gmail.com>
If SD2PPI configuration for GPPI is used, it indicates that
external function for configuring PPIB need to be used.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add Kconfig options to control whether the GRTC timer is stopped
and/or cleared when the driver is uninitialized (e.g. when
sys_clock_disable() is called).
Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
Introduces K_MEM_SLAB_DEFINE_TYPE() and K_MEM_SLAB_DEFINE_STATIC_TYPE()
helpers to allow the user to declare slabs for types without having to
manually ensure the alignment is correct.
Manual slab alignment was very error-prone and this change fixes several
instances of misalignment that would be trapped by the undefined
behavior sanitizer when running on 64-bit targets.
Signed-off-by: Egill Sigurdur <egill@egill.xyz>
Upstream CMSIS_6 is now consumable as a Zephyr module, but does
not provide CMake build files to preserve portability for
non-Zephyr users.
CMSIS Core is header-only, so integration only requires headers.
Drop add_subdirectory() and add the include path via
zephyr_include_directories().
Keep __PROGRAM_START handling in the Zephyr module integration layer.
Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Handle optional `disk-name` for `st,stm32-sdmmc` entries in
FF_VOLUME_STRS to avoid build failures when the property is not present.
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
Update hal_silabs to new HAL versions:
* SiSDK 2025.12.3
* WiSeConnect 4.0.2
This HAL update requires a minor change to the `memc` driver
for SiWx91x because an API has been renamed.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
The uarthci blob contains its own UART transport layer and does not
export bt_onchiphci_* symbols, making it incompatible with the Zephyr
HCI driver.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Extend the shared BFLB HCI driver with BL61x (BL616/BL618) support:
BL61x include paths and RF init routing through bflb_rf_init().
Kconfig adds BT_BFLB_BL61X with four controller variant choices, a
configurable PHY/RF retention memory size, and a 64 KB exchange memory
option for the BR/EDR variant.
Signed-off-by: William Markezana <william.markezana@gmail.com>
It has been deprecated and broken for some time.
CONFIG_MBEDTLS_CUSTOM is its replacement.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
393350fd65 made it so that the `mbedTLS`
library is only created when `CONFIG_MBEDTLS_BUILTIN`.
Before this commit, users of Mbed TLS did the following:
`zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)`
If the `mbedTLS` CMake library doesn't exist but is still linked to
(as is the case when `CONFIG_MBEDTLS && !CONFIG_MBEDTLS_BUILTIN`),
the linker command is populated with `-lmbedTLS` which makes the build
fail because there is no `libmbedTLS.a` in the build.
Make it so that users of Mbed TLS only link to the `mbedTLS` CMake
library when the builtin version is used.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This PR implements support for DNS Private Resource Records (RR)
as defined in RFC 6895, enabling an OpenThread Border Router application
to query and handle DNS records in the private use range
(type codes 65280-65534) on behalf of a Thread node.
Also, fixed an issue where `net_buf_unref` could have been called
with a null pointer argument.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Add new inline function entropy_get_default_device which returns
the "zephyr,entropy" device or the architectural entropy device,
if the former is not set, and use that in all places to query the
entropy device.
This allows using architectural drivers which do not have a DT
node.
Signed-off-by: Christoph Busold <cbusold@qti.qualcomm.com>
Add total heap size and free bytes to the 'mbedtls heap' shell command
output. Also move the entire shell registration inside the
MBEDTLS_MEMORY_DEBUG guard so the 'mbedtls' command is only registered
when the memory debug APIs are available.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
Add a help text to their Kconfig options to warn about that.
In addition, make CONFIG_PSA_WANT_ALG_MD5 select NOT_SECURE but not
CONFIG_PSA_WANT_ALG_SHA_1 because for instance HMAC-SHA1 is still
considered secure, which means SHA-1 usage might not necessarily
be insecure.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Fix the path to TF-PSA-Crypto now that we moved it outside of the Mbed
TLS repo.
Also replace the "Do not edit it manually" note from the Kconfig file
in order to start making manual additions to it.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Make `CONFIG_MBEDTLS_PSA_CRYPTO_C` look for and enable an entropy driver
only when the Mbed TLS PSA Crypto core is used. Others don't necessarily
require entropy unconditionally, it can be an optional feature.
Additionally, make the RNG source default to
`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG` also when some other PSA
Crypto core is used. This allows avoiding code bloat by default
to avoid falling back to `CONFIG_MBEDTLS_PSA_CRYPTO_LEGACY_RNG`
which would enable more features. It may seem a bit silly to have
`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG` enabled even if we don't have
actual entropy but some places assume that if it's not defined then
the legacy path is used.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Add IEEE 802.15.4 radio driver configuration option to set the CSMA CA
backoff attempts from IEEE 802.15.4-2003+ MAC PIB attributes.
Signed-off-by: David Boullie <David.Boullie@silabs.com>
These were only used in 'samples/tfm_integration/tfm_regression_test' and
when that application is built they are both assumed to be enabled, so
it's not really meaningful to have these Kconfigs generally available.
Extra parameters that need to be passed to the TF-M's CMake build are now
added from
'samples/tfm_integration/tfm_regression_test/CMakeLists.txt'.
In this way regression testing is self contained in that folder and it
doesn't pollute the main TF-M build.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
In order to properly build non-regression tests for the TF-M secure side
we need to pass 2 additional parameters:
- tf-m-tests build folder
- secure test configuration file
Previously these values were added from
'samples/tfm_integration/tfm_regression_tests' sample.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
To have a way to tell whether PS rollback protection is enabled and
also possibly to turn it off.
The Kconfig option is put in a new Kconfig file dedicated to the
Protected Storage, just as we have for the Crypto modules.
`if BUILD_WITH_TFM` is moved to the main Kconfig file so that we don't
have it in every subfile.
`Kconfig.tfm.crypto_modules` is renamed to `Kconfig.tfm.crypto` for
consistency with the partition name.
A CMake macro is introduced to more easily pass boolean Kconfig options
to TF-M and is applied to relevant places.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
as the ethernet api already includes
struct net_if as a argument for its
functions also add it to struct wifi_mgmt_ops.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Pass local hal_infineon asset paths to the TF-M build instead
of relying on CMake FetchContent to download them from GitHub.
Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/107215
Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
Introduce CONFIG_NXP_COMPRESSED_WIFI_NB_FW to allow selecting
compressed Wi-Fi or Narrowband firmware images.
Using compressed firmware reduces flash usage at the cost of
additional decompression time during initialization.
Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
Replace CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN with the new
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN and CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN
options across all in-tree .conf files, hostap Kconfig defaults, and
socket subsystem help text.
This completes the deprecation of MBEDTLS_SSL_MAX_CONTENT_LEN in favor
of independent incoming/outgoing buffer size control.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
Include psa/crypto.h in zephyr_init.c when CONFIG_MBEDTLS_PSA_CRYPTO_CLIENT
is enabled to ensure PSA types are available during initialization.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
Move the SHELL_STATIC_SUBCMD_SET_CREATE and SHELL_CMD_REGISTER calls
inside the MBEDTLS_MEMORY_DEBUG guard to avoid registering an empty
shell command set when memory debugging is disabled.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
Add MBEDTLS_SSL_ENCRYPT_THEN_MAC as a dedicated Kconfig option inside
if MBEDTLS_SSL_PROTO_TLS1_2, with default y. Wire it into
config-mbedtls.h replacing the unconditional TLS1_2 && PSA_CRYPTO_C
guard.
Add MBEDTLS_SSL_IN_CONTENT_LEN and MBEDTLS_SSL_OUT_CONTENT_LEN Kconfig
options to allow independent control of incoming and outgoing TLS buffer
sizes. Both default to 1500, with fallback to MBEDTLS_SSL_MAX_CONTENT_LEN
if set. This enables constrained devices to use asymmetric buffer sizes
to save heap.
Deprecate MBEDTLS_SSL_MAX_CONTENT_LEN in Kconfig.deprecated in favor of
the independent IN/OUT buffer size controls.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
Add MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE and MBEDTLS_SSL_EARLY_DATA
as Kconfig options so they can be individually controlled rather than
being unconditionally enabled. Place EARLY_DATA after SESSION_TICKETS
with a depends on, and COMPATIBILITY_MODE after EARLY_DATA with
default y. Wire both into config-mbedtls.h: un-nest
MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE from the TLS1_3 proto guard,
and consolidate MBEDTLS_SSL_EARLY_DATA to a single standalone block.
Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
add driver support for TI MSPM0 AES module
Introduced a hardware accelerated AES driver for the TI MSPM0
enable support for encryption and decryption using ECB and CBC mode
of operation.
Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
CONFIG_SOC_SIWX91X_PM_BACKEND_PMGR adds an unnecessary layer,
as everything can be handled by the CONFIG_PM symbol.
Removing it reduces complexity in the siwx91x SoC files.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Add driver for the NXP RTC analog module found on MCX L series
SoCs. This RTC supports BCD time/date mode with hundredths-of-second
resolution and 3 independent alarms.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Add driver support for TI MSPM0 ADC module.
Add a configurable reference voltage support with vref.
Add this driver in shell.
Signed-off-by: Jackson Farley <j-farley@ti.com>
Signed-off-by: Alexpandi Muniyandi <alexpandi@linumiz.com>
Move PSE84 platform sources from mtb-template-cat1 to
mtb-template-pse8xxgp in a dedicated CMakefile.
Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
Remove in-tree support for the optional CANopenNode module. This will be
provided as an external module instead, as there are no bindings from
Zephyr towards this module.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>