Kconfig symbols for selecting HAL content should be part of the
HAL module integration, not defined in the SoC tree. Define the
sleeptimer symbol for WiSeConnect and SiSDK since both use it.
In the future, WiSeConnect should include the SiSDK configuration
and reuse it instead of redefining everything itself. This is a
larger scale refactor that this commit doesn't start tackling.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This driver is based on the XSPI driver for Renesas RZ/T2M and N2L,
and the SPIBSC driver for Renesas RZ/A3UL from the HAL.
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
- create 'mcxe' as family and 'mcxe24x' as series
- add pinctrl_soc.h
- add soc.c/.h to do system initialization
- Support flash boot if CONFIG_MCXE_FLASH_CONFIG==1
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Adds HPPASS SAR ADC driver and HPPASS Analog driver files to support
ADC conversion for the PSOC C3 family of MCUs.
Signed-off-by: John Batch <john.batch@infineon.com>
* Separates HPPASS and HPPASS SAR ADC in the device tree
* Makes HPPASS SAR ADC a child of the HPPASS system to reflect hardware
architecture.
* Adds binding files for HPPASS SAR ADC driver.
Signed-off-by: John Batch <john.batch@infineon.com>
Add board files for nRF54LM20A/ns.
Update existing nRF54LM20A board files to support this.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Instead of user trying to figure out what is the amount of file /
socket descriptors in the system, let the various subsystems etc.
specify their need using a Kconfig option. The build system will
then add these smaller values together and set a suitable file
descriptor count in the system.
This works the same way as the heap size calculation introduced
in commit 3fbf12487c
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Update the Raspberry Pi Pico HAL to be based on the latest release of
the upstream SDK (v2.2.0).
SDK v2.2.0 has new include directory structure, so update the relevant
CMakeLists.txt files accordingly.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Sort some entries alphabetically to improve readability and
maintainability. This commit just reorders existing entries and does not
change any include paths.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
This commit enhances DNS upstream resolver functionality by adding
support to query for PTR and SRV records.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
The macro `NRF_802154_TX_STARTED_NOTIFY_ENABLED` has been removed
from the nRF 802.15.4 Radio Driver.
Setting it in CMakeLists.txt became pointless and is removed.
Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
A Kconfig options for the SiSDK Protocol Crypto library, which provides
accelerated cryptographic primitives using the RADIOAES peripherals for
Series-2 devices.
Signed-off-by: David Boullie <David.Boullie@silabs.com>
Updated CMakeLists.txt to use bins directly with whd-expansion.
Updated Kconfig.airoc to include CYW55513UBG_SM.
Updated west.yml to latest hal_infineon revision.
Signed-off-by: Chaitanya Gaikwad <ChaitanyaSandeep.Gaikwad@infineon.com>
Add a new Kconfig symbol MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS to wrap the
Mbed TLS configuration option with the same name. Built-in key
support enables platforms implementing
mbedtls_psa_platform_get_builtin_key() to use keys derived from a
hardware unique key or stored in a secure element.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
When building with the address sanitizer and size optimizations some of
the mbedtls assembler fails to build, with an error like:
error: ‘asm’ operand has impossible constraints or there are not enough
registers
Avoid this issue by forcing speed optimizations for this problematic
file if any optimization is chosen.
A similar fix was originally introduced in the module:
4f1e8f5a78
but it seems to have stoped working when the content of the file was
moved.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The goal of this patch is to switch from the nwp.c and nwp.h soc files
to the new nwp driver. During this transition, we also renamed
CONFIG_WISECONNECT_NETWORK_STACK to CONFIG_SILABS_SIWX91X_NWP which are
a better naming to let the user knows that the network coprocessor files
will be added to the compilation.
The switch from a soc file to a driver device introduce a notion of nwp
device that allows us to check for good initialization and ressources
allocation.
Before this patch, it is not possible to know if the nwp have booted
successfully or not. We can now check if the device driver is ready
or not before trying to do operation related to the nwp.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
The goal of new Kconfig PSA_CRYPTO_PROVIDER is to automatically enable
any of the PSA Crypto API provider available for the platform without
having the user to manually pick the proper one. This provider can be
either TF-M, if that's enabled in the build, or Mbed TLS otherwise.
PSA_CRYPTO_PROVIDER simplifies also modules/subsystem Kconfigs removing
blocks as:
select MBEDTLS if !BUILD_WITH_TFM
select MBEDTLS_PSA_CRYPTO_C if !BUILD_WITH_TFM
Kconfig PSA_CRYPTO_PROVIDER_CUSTOM is also added to allow the end user
to add a custom implementation of PSA Crypto API instead of TF-M or
Mbed TLS ones.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
The dependency should be PSA_CRYPTO_CLIENT and not
MBEDTLS_PSA_CRYPTO_CLIENT because the former is more generic. TF-M can
indeed provide PSA Crypto API, not only Mbed TLS.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
fixes bugs in setting of correct WCH classification abbreviations.
Required for future CH32V307 support.
Signed-off-by: James Bennion-Pedley <james@bojit.org>
Add DMA nodes for MCXW7X SOC DTS.
This SOC used TRIGMUX instead of DMAMUX.
Enable EDMAv3 for the frdm_mcxw71 and frdm_mcxw72
platforms.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Add Watchdog driver support for Renesas RZ/A3UL, N2L, T2M
Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Not needed on Cortex-A as all code and data is in DDR
memory and there is no quickaccess section in the Cortex-A
linker script.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Instantiate NRF_PLATFORM_LUMOS for all nrf lumos product,
Add NRF_SKIP_CLOCK_CONFIG kconfig to be a general kconfig
in nordic soc Kconfig, so that it can be used by other
lumos product.
Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
Add TF-M directive STM32_FLASH_LAYOUT_BEGIN_OFFSET needed to specify
the gap needed by external boot stage resources at flash beginning.
The offset tells STM32 TF-M firmware the base offset in the flash
where the several TF-M and non-secure image areas shall be located.
The CMake directive was introduced mainline TF-M commit [1] and merged
in Zephyr TF-M repository [2].
Link: fc035b874e [1]
Link: 954dc80541 [2]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Declare stm32wba65i-dk1 and nucleo_wba65ri boards support in TF-M.
Both comply with TF-M integration of platform stm/stm32wba65i-dk.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
I guess a very long time ago, before `stdint.h` was included in the
minimal libc, the SimpleLink module required a full C library.
It's definitely there now, so remove the stale comment and drop the
unnecessary `select REQUIRES_FULL_LIBC`.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Select the `POSIX_SYSTEM_INTERFACES` and `POSIX_SEMAPHORES` options for
the SimpleLink Host WiFi driver to fix a build issue in CI.
Update the stale comment to be more accurate of each required POSIX
Kconfig option.
https://github.com/zephyrproject-rtos/zephyr/actions/runs/18523743005/\
job/52789581990
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Add the lv_arclabel.c source file to modules/lvgl/CMakeLists.txt
so that the Arclabel widget is compiled and available in Zephyr projects.
Previously, the arclabel widget was not included, making it unusable.
Signed-off-by: Yehuda Eisenberg <yehuda@yehudae.net>
Zephyr's TF-M has been aligned with upstream TF-M v2.2.0, which adds
support for Corstone-320 (CS320). The previous commit also updates TF-M
to fix compiler warnings seen with MPS4. So, with this update, enable
build and execution of non-secure variants of MPS4-based boards.
Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Add a warning informing about security issues when
TLS/DTLS is used without providing MBEDTLS access to
time/date functions (enabling CONFIG_MBEDTLS_HAVE_TIME_DATE).
Signed-off-by: Flavio Ceolin <flavio@hubble.com>
Both MCXW2xx and MCXW7xx now share the same SoC family
(CONFIG_SOC_FAMILY_MCXW).
Isolate mcxw7xx-specific module/code from mcxw2xx.
Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
This commits aims to move spinel related variables from heap to global
arrays.
In this way, HEAP_MEM_POOL_ADD_SIZE_ does not need to be defined, or
updated if any change in data structure might occur.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commit introduces a new function to verify the firmware version of
the SiWX917 network coprocessor. It checks the expected version (updated
manually after each bump of Wiseconnect SDK in hal_silabs) against the
actual version retrieved from the device.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Add Clock Control driver support for Renesas RZ/N2L, T2M
Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add Kconfig support for the following OpenThread features:
- OPENTHREAD_MAC_BEACON_PAYLOAD_PARSING
- OPENTHREAD_PLATFORM_USEC_TIMER
- OPENTHREAD_MULTIPLE_INSTANCE_NUM
Modify core configuration to set the number of
short and extended source address table entries to the
maximum number of children, in line with upstream
OpenThread configuration.
Signed-off-by: David Boullie <David.Boullie@silabs.com>