Add a function to translate the socket address family to the size of the
concrete socket address type.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Bump OpenThread version in order to include fixes that are necessary
to allow the integration of Mbed TLS 4.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
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>
Key exchanges with RSA encryption has been removed from Mbed TLS 4. This
commit replaces them with other ciphersuites.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This reverts commit 72bb0a077545efe65f801704334c753f32ee693b.
- RSA based key exchanges were removed so the corresponding test case is
also removed. It has been replaced with a PSK one, still using TLS 1.2.
- Configuration overlay files were removed because thank to ciphersuite
Kconfig it's now pretty trivial and compact to select what's required
for a connection.
pytest script was updated accordingly.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
The native_sim uses the pthread stack instead of the Zephyr allocated ones.
This adds CONFIG_ARCH_POSIX_UPDATE_STACK_INFO to the posix arch to make the
real stack bounds available in thread info. (CircuitPython uses this to do
it's own stack overflow checking and recovery.)
The original stack values are restored on abort for backwards
compatibility with CMSIS v1.
Signed-off-by: Scott Shawcroft <scott@adafruit.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Align with native_simulator's upstream main
14bbf7010dfcde473f11a6ae5674abc1e72aa488
Which includes:
14bbf70: nct: Add function to get thread stack information
Signed-off-by: Scott Shawcroft <scott@adafruit.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Add prefix 'espressif' to Espressif related snippets.
Update list of supported flash and usage documentation.
Fix names of some configuration files.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
Remove redundant "interface" suffix from stepper groups and
update `@ingroup` references so `stepper.h` appears under the correct
group.
Signed-off-by: Shiven Kashyap <shivenkashyap24@gmail.com>
MRAM programs via direct memory-mapped writes, which the ARM MPU
blocks unless MPU_ALLOW_FLASH_WRITE is enabled. Fixes a Data Access
Violation on ra8x2 when running the flash common test suite.
Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Set register bit GMAC_NCFGR.GBE to configure GMAC for 1000Mbps operation.
Gigabit mode is not supported by SAM E70/S70/V70/V71 family, it is
supported by SAMA7G54.
Signed-off-by: Tony Han <tony.han@microchip.com>
When IPED encryption is enabled, AHB-mapped reads can hang.
Switch flash_flexspi_nor_read() to use FlexSPI IP read
transactions and handle unaligned requests with aligned
chunk reads plus memcpy to the caller buffer.
This removes the SoC-specific workaround and avoids
hangs in encrypted regions.
Signed-off-by: Albort Xue <yao.xue@nxp.com>
Add the additional required busy wait needed when accesseng SPI registers
during setup of a new SPI transaction.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
Rename kconfig.defconfig to Kconfig.defconfig to match the
expected Kconfig naming convention.
Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
Logging a message in PRE_KERNEL with CONFIG_LOG_THREAD_ID_PREFIX=y
triggers a assert in k_current_get() because the current thread is not
yet available.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
When AES is activated in the DT, configure it's register region with
strong ordered, read and write access.
Signed-off-by: Tony Han <tony.han@microchip.com>
Use EDMA instead of DMA0 when CONFIG_SOC_SERIES_MCXE31X is set.
This matches the MCXE31 HAL instance for EDMA_SetModulo().
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Return core clock for MCUX_FLEXIO_CLK in get_rate.
This lets nxp_flexio_get_rate() configure FlexIO LCDIF.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
testcase.yaml filters out platforms that don't have status okay
on node with label watchdog0.
Add label required to run the test.
Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>