Commit 2f7d13840f introduced FLASH_CODE_PARTITION_ADDRESS_INVALID
config symbol that emits a "warning: Deprecated symbol ..." build
message when enabled. However, this warning is not applicable when
flash load address is not fetched from the DT, which happens when
CONFIG_USE_DT_CODE_PARTITION is disabled. Add a dependency so prevent
the non-applicable warning message to be emitted.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Unify the drivers/*/Kconfig menuconfig title strings to the format "<class>
[(acronym)] [bus] drivers".
Including both the full name of the driver class and an acronym makes
menuconfig more user friendly as some of the acronyms are less well-known
than others. It also improves Kconfig search, both via menuconfig and via
the generated Kconfig documentation.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Change m7 variant of stm32h745i_disco, stm32h747i_disco and
stm32h757i_eval boards to use unique flash nodes units and prevent
build warning trace messages like the extracted one below:
.../build/zephyr/zephyr.dts:1967.37-1992.6:
Warning (unique_unit_address_if_enabled):
/soc/spi@52005000/qspi-nor-flash-1@0:
duplicate unit-address (also used in node
/soc/spi@52005000/qspi-nor-flash-2@0)
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Remove nucleo_l552ze_q DTS overlay file from arm_thread_swap_tz tests
since it is not applicable: The platform is explicitly excluded
in the testcases.yaml file and the overlay file uses partition
labels that are not relevant when TF-M is embedded (e.g. slot0_partition
instead of slot0_secure_partition).
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Remove leading zeros in node units leading to build warning like
the extracted one below:
.../build/zephyr/zephyr.dts:1319.37-1322.8: Warning (unit_address_format):
/soc/spi@a0001000/ospi-nor-flash@0/partitions/partition@000:
unit name should not have leading 0s
While at it, simplify the reg address address to plain 0.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Do not assume MCUBoot should be embedded for other variants than
the normal variant for stm32n6570_dk board. Indeed fsbl and sb
variant are not designed to embed MCUBoot and current fail (RAM too
small) when built with sysbuild unless BOOTLOADER_MCUBOOT is
explicitly disabled.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add FSL_FEATURE_SOC_*_COUNT preprocessor guards to protect peripheral
clock instances that may not exist in all MCXE device derivatives.
Some MCXE device variants have fewer peripheral instances than others:
- MCXE316/315 have 3 FlexCAN vs 6 in MCXE317
- MCXE316/315 have 4 LPUART vs 8 in MCXE317
- MCXE316/315 have 1 LPCMP vs 2 in MCXE317
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
This change renames the Infineon BT-HCI UART driver source
and binding file to allow reuse across all Infineon AIROC
connectivity chips that use HCI UART transport.
No functional changes
Signed-off-by: Merin George <merin.george@infineon.com>
Adds routines to remove a range of nodes from one list and either
prepend them or append them to another. This can be more efficient
than moving them one by one.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
Added arduino_serial, arduino_i2c, arduino_spi and arduino_header node
labels to EK-RA2L1 device tree board definition, allowing compatible
shield boards to be used.
Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
Remove uart00 specific test configuration and use a single configuration
approach with test running on two instances.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This check was asserting on the wrong struct size and was not taking in
the architecture configured cache line size. The build assert now checks
the right struct size and takes into account the configured cache line
size or sets a default.
Additional makes the check entire opt in.
Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
OP_DELAY requires embedding in the submission queue entry a _timeout
struct which can push the struct size over the specified 64 byte (cache
line) limit.
Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
spi0 node removed in recently Microchip driver update
Update sample code to fix build error.
Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add CONFIG_PMP_UNLOCK_ROM_FOR_DEBUG option to conditionally disable
the lock bit (L=0) for the ROM region PMP entry. This allows debuggers
running in machine mode to access ROM for setting breakpoints and
reading instructions while preserving userspace protection.
When PMP lock bits are set, they restrict access even in machine mode,
causing "unable to halt hart" errors with hardware debuggers like
OpenOCD. This option provides a surgical fix that only affects the ROM
region - NULL pointer guards and stack guards remain locked to catch
critical bugs during development.
The option integrates with existing PMP_NO_LOCK_GLOBAL configuration
using nested COND_CODE_1 macros and defaults to disabled for production
builds.
Fixes: zephyrproject-rtos/zephyr#82729
Signed-off-by: Alex Lyrakis <alex_gfd@hotmail.com>
Format registers are intended for the display but are also
required to format the data when the data transfer
doesn't align with 4 bytes. A follow-up PR will come later
for display support with configuration in devicetree.
Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
zsock_send() does not necessarily have to send the entire data. Use the
recently introduced function zsock_send_all().
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Depending on the server, functions, and client application, we may
get out of transfers very quickly. To throttle here may allow
submitted transfers to be finished.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
UHC transfer handling and assignment of completed transfers to URB
sequences relies on the buf->size. For that, we can just use variable
net_buf pools instead of fixed. Perhaps it gives us also better
utilization of the buffer.
Add Kconfig optons to configure pool size and number of buffers
and use large default pool size for native_sim platform.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Make request completion handling a bit more robust when, for whatever
reason, the connection has been closed. Do not implicitly clear the USB
device pointer on client disconnect, to allow the completion callback to
clean up. Before handling USBIP_RET_SUBMIT, check whether the device is
still exported, and if not, just drop completed transfer.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Update the PBP version support to 1.0.2. There are no
functional changes needed by the stack for this update.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Replace remaining ll_func_* by ll_* for LL function redefinitions in the
STM32 SPI driver.
Fixes: 938fe74aae
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
menuconfig ETH_PHY_DRIVER is already inside a
`if ETH_DRIVER`, meaning it already depends on it,
therefore the condition for the default y is not needed.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Use the DEVICE_API_GET() macro for obtaining a pointer to the
can_driver_api struct from the device struct.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Add GPIO_PULL_UP and GPIO_PULL_DOWN handling in pin_configure
and enable LP_IO wakeup source in pin_interrupt_configure via
rtcio_ll_wakeup_enable(). Both rtcio_ll_intr_enable() and
rtcio_ll_wakeup_enable() are required for LP_IO wakeup to
function, as clk_en must be set for the interrupt status
register to update.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.
Make the function void and drop the unused error handling.
Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
codec_configure_filters () never reports errors and always returns
0.
The error check at the call site is therefore dead code.
Make the function void and drop the unused error handling.
Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
The sample is set to be built and run both for native_sim and
native_sim//64, but lacks an overlay for the 64 bit variant, and
fails at runtime. Let's add an overlay for it which just refers to
the 32bit variant.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Use the DEVICE_API macro to make sure the device API is in the respective
API linker section.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
The mutex should be held when calling dns_resolve_init_locked as mentioned
in a comment above the function.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
I am very interested in this domain and currently work in it.
I have participated in PR reviews, fixed bugs in this domain,
and enabled related features for it. I am applying to become
a collaborator for this domain and commit to participating in
domain-related activities in the future.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Use target_include_directories() for test-local headers instead of
zephyr_include_directories(). Global inclusion of relative paths can
cause name conflicts with common names like common.h, utils.h etc.
and break builds, or can even cause wrong inclusion.
Also this is a better practise to not expose local directories in
global scope and have build hygiene.
Signed-off-by: alperen sener <alperen.sener@nordicsemi.no>
Add the `ranges` property to the flash node on RP2040-based boards to
correctly specify the base address and size for child nodes. This aligns
the board device trees with expected Zephyr DT conventions and ensures
proper address translation for flash partitions and other child nodes.
Signed-off-by: David Schneider <schneidav81@gmail.com>