Initial SAU UART driver support for Renesas RA0 series
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Fixes incorrect CMake substring parsing that caused build failures on SoCs
with non-numeric suffixes (e.g., efr32fg1p). The previous logic extracted
'1p', which broke the linking path for librail_efr32xg1_gcc_release.a and
the protocol directory inclusion.
This adds regex to strip non-numeric characters for the library path and
appends 'x' for the major series wildcard directory.
Signed-off-by: Pavithra CP <cppavithra05@gmail.com>
This commit introduces the Realtek OSIF (Operating System Interface)
layer, which is the standard OS abstraction layer defined for the
Realtek Bee SoC family.
While OSIF is designed to be common across the Bee SoC family, this
specific implementation adapts the layer for the RTL87x2G series
running on Zephyr.
OSIF encapsulates specific RTOS interfaces to provide a unified API.
This enables Realtek-specific modules—such as PHY, Power Manager,
Clock Manager, and BT Controller—to run on different RTOS environments
without modification, significantly enhancing portability.
The OSIF adaptation maps the following fundamental components to their
corresponding Zephyr kernel APIs:
- Task management and Scheduling
- Message queues
- Synchronization (Semaphores, Mutexes)
- Software timers
- Memory management
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Thought MbedTLS is not FIPS compliant, enable FIPS to get rid of broken
crypto algos like MD5, CHAP etc.
This is not made configurable as we want to remove the the code for
those algos from the MbedTLS shim.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
MD5 is deprecated and the security methods that use are not officially
supported in Zephyr (EAP-MD5, TLSv1 etc), so, remove the code related to
MD5 and disable it in hostap.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Updates the OpenThread UART platform shim to support the Zephyr
Asynchronous UART API (DMA-based). This improves performance and
reduces CPU overhead when running the OpenThread stack.
Additionally, introduces new Kconfig symbols:
- CONFIG_OPENTHREAD_COPROCESSOR_UART_ASYNC
to enable UART async API mode.
- CONFIG_OPENTHREAD_COPROCESSOR_UART_RX_BUFFER_SIZE
to allow users to configure the DMA RX buffer size when
OPENTHREAD_COPROCESSOR_UART_ASYNC is enabled.
Signed-off-by: Michele Sardo <msmttchr@gmail.com>
Fix the order of default in the Kconfig LV_Z_BITS_PER_PIXEL
in order to be able to have the value set automatically based
on the COLOR_DEPTH.
Without that since the default 32 was coming first, 32 would
always be selected.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Prevent a possible NULL pointer dereference in
hostapd_ap_reg_domain() when get_hostapd_handle() returns NULL.
Previously, the function continued execution after detecting a NULL
interface pointer, which could lead to dereferencing iface->state.
Return early via a common exit path when errors are detected to
ensure safe execution.
Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
Add a config that can be disabled to keep the PERIPHCONF data in the
firmware binary rather than stripping it. When the option is disabled
for a given image, the UICR generator does not include that image's
PERIPHCONF data in the UICR PERIPHCONF blob, instead it is expected that
it is loaded separately via an IronSide API call.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Use the IRONSIDE_SUPPORT_DIR cmake variable to determine the location
of the UICR generator script location, to allow overriding the location
if needed.
Since the CMake that would normally set this variable in
modules/hal_nordic/ironside/se/CMakeLists.txt is not actually run in the
gen_uicr image, refactor the logic for setting the variable so that it
can be included in the gen_uicr image directly.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
SOC_COMPATIBLE_NRF7120_ENGA was erroneously being used in
KConfig filter and therefore not being applied, since soc configs are
generated at compile time. Created SOC_COMPATIBLE_NRF71 to be used at
KConfig build stage.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
Any leading -D passed to target_compile_definitions on an item will
be removed, here remove them to make code style consistent.
Signed-off-by: Paul He <pawpawhe@gmail.com>
Any leading -D passed to target_compile_definitions on an item will
be removed, here remove them to make code style consistent.
Signed-off-by: Paul He <pawpawhe@gmail.com>
Replace k_sleep() with k_timer and semaphore-based synchronization
in the CANopen SYNC thread for more deterministic wake-up timing.
Add configurable CANOPENNODE_SYNC_THREAD_PERIOD_US Kconfig option
to allow tuning the SYNC processing period.
Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
Pull in updated IronSide SE supporting code and adapt the Zephyr
integration layers:
* Implement the glue function interfaces for doing data cache operations,
which are needed for some of the IronSide SE APIs.
* Add an option to the PERIPHCONF entry generator for not locking
SPU registers. This will be used to enable reconfiguration of
the SPU registers using an IPC call after their initial
configuration at boot.
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Ideally these legacy RSA Kconfigs shouldn't be used anymore, but
Mbed TLS still uses them as guards in TLS code.
When TF-M is disabled there is no need for this trick because Mbed TLS
automatically enables legacy support internally based on PSA_WANT
build symbols.
The problem arises when TF-M is enabled in the build. In this case there
is auto-enablement from PSA_WANT counterparts, so the build fails due
to lack of support.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
added SOC_AMEBA_NP_IMAGE to handle ameba blobs to run a different
architecture CPU inside the SOC.
Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
Oops. #103436 tried to make the bootloader select the correct specs file
using CONFIG_PICOLIBC, but that variable wasn't set while configuring the
bootloader. Pass that from the Zephyr build into the bootloader build.
This also uncovered a gap in the target_compile_options setting when
picolibc is not the default C library -- the bootloader was getting linked
with --specs=picolibc.specs but it wasn't getting compiled with that flag,
so compilation was happening using the default C library headers.
Signed-off-by: Keith Packard <keithp@keithp.com>
Removing cpu0 reference from mcxw72 target
as only cpu0 should be targeted on this device.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
The driver and module now supports nRF70 only, nRF71 support will be
added in the future using a new driver.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Since Zephyr no longer uses deprecated APIs, we no longer need to
disable deprecation warnings.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Point to the last version of Wiseconnect. This new version introduce a few
changes we have to apply to the Zephyr integration.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>