Introduce macros to define initialization
routines for OpenAMP resource table entries.
This will allow to extend the default OpenAMP
resource table with vendor-specific data structures.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Enhance flexibility by allowing vendors to define their own
resource tables. This is achieved by moving the vdev and vring
functions into the source file, requiring each vendor to
implement these functions within their specific resource
table definitions.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Switching to void allows greater flexibility in supporting
vendor-specific resource tables.
This change reverts commit 39863b66bd, and adds some fixes.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Use new docker with SDK 0.17.2.
SDK 0.17.2 has a new Qemu with improved support for RX architecture.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Seperate the ``ethos_u_common`` for every vendor and
``ethos_u_arm`` for sepcific Arm's boards. Enable vendors
to self-configure the init flow and IRQ handler.
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
- Update to use ETHOS_U config instead of ARM_ETHOS_U
- Update prefix ETHOS_U_ for all configs that use ARM_ETHOS_U_
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Add UART test overlays for Nucleo U385RG-Q board.
Remove non serial boot conf file since they are now unnecessary.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
The bq27xx driver incorrectly uses the 'val' variable in a switch()
statement that should operate on 'chem_id'. This leads to incorrect
behavior for fuel gauges such as the BQ27427, where the chemical ID
determines how properties are interpreted.
This commit replaces 'switch(val)' with 'switch(chem_id)' to ensure
proper handling of fuel gauge behavior across supported devices.
Signed-off-by: Oleksii Shcherbyna <oleksii.shcherbyna@droid-technologies.com>
Disable testing second QDEC instance until the issue with multiple
QDEC instances support is resolved
Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
Use MMIO for device memory mapping, so that the driver can be used
both on MCU and MPU.
Add removed static MMU mapping in some platform accordingly.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Avoid undefined behavior caused by casting floating-point values outside
the int32_t range. The updated implementation explicitly validates input
bounds before performing conversions, ensuring consistent behavior across
platforms.
Added test cases to cover edge conditions near float rounding limits
and INT32 range boundaries.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
RA2L1 doesn't support for SPI Hardware Peripgheral Select.
Disable this config as default in RA2L1
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
Add support for trng, spi, pwm (gpt), counter (agt), i2c (iic_master),
adc and dac for RA2L1.
Add external interrupt for RA2L1.
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
Define the request handler properly within the net mgmt test. This is
required for the alias() attribute to work correctly with clang. Also,
correct the handler signature to use size_t as expected. This resolves a
test failure seen with clang when building the net mgmt test for
native_sim.
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
Fix the following build warnings highlighted in this driver while
building with clang targeting native_sim:
- exp() expects a double, so passing a float would cause type promotion
- variable declarations within C switch statements are a C23 specific
extension
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
Fix memory corruption issue where buffer pointer was not being advanced
properly due to missing dereference.
Fixes Coverity issue CID 434607
Fixeszephyrproject-rtos/zephyr#81957
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Use a local signed variable to store negative return values instead of
unsigned previously so that errors are actually detected/returned.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>