Skip to content

Conversation

@Brandon-Hurst
Copy link

@Brandon-Hurst Brandon-Hurst commented Oct 23, 2025

Rebase ADIN6310 T1L application against the latest main branch. Also added instruction for setting LIB_ADIN6310_PATH to properly compile the application without arbitrary errors based on missing LIB_ADIN6310.

After running west update cmsis_6 and west update hal_adi, a build test was run for the adin6310 application via the following:

west build -p -b adin6310t1l/max32690/m4 samples/application_development/adin6310 -- -DLIB_ADIN6310_PATH="<path to LIB_ADIN6310>"

When attempting to build without setting LIB_ADIN6310_PATH, the following error is now shown:

CMake Error at CMakeLists.txt:10 (message):
  Please configure LIB_ADIN6310_PATH.  Supply '-- -DLIB_ADIN6310_PATH' at the
  command line.

I tested the application with an EVAL-ADIN6310T1L and an ADIN2111 hanging off of one of the ports. Jumper P7 and S4 configuration are per the User Guide for this board: https://www.analog.com/media/en/technical-documentation/user-guides/eval-adin6310-ug-2299.pdf

image image

As this is a significant rebase, there are quite a few commits and some merge conflicts. Happy to help work on this; any advice is welcome.

ubieda and others added 30 commits October 22, 2025 08:52
Missing packets or overrunning/underrunning the queue should not result
in a system crash.

Signed-off-by: Luis Ubieda <[email protected]>
As it introduces latencies due to switching to the threads pool.
Moreover, this is not required for streaming as it executes in a
non-blocking path.

Signed-off-by: Luis Ubieda <[email protected]>
This induces extra-cycles in the encoding path while streaming, which
make it difficult to achieve high-bandidth performance. The use-case
being dealt with involves cranking the IMU at 8000 ODR in batches of
1.25 ms (10 samples at 800 Hz).

Signed-off-by: Luis Ubieda <[email protected]>
Wait until the trigger or streaming mode is configured. Otherwise,
rebooting in-between runs may cause multiple callbacks invoked when
the trigger may have not been enabled yet.

Signed-off-by: Luis Ubieda <[email protected]>
This patch makes the following improvements:
- Helper APIs for simplifying RTIO transfers.
- Simplify RTIO Streaming implementation to reduce processing time.
- Add streaming mode atomic state, in order to track overruning the
callback events generation.
- Add device pointer address to logging on error-occurrences, as it is
useful when the app has multiple instances of the driver (e.g: NXP's
VMU RT1170 has two).

Signed-off-by: Luis Ubieda <[email protected]>
Update hal revision to fix double defines
and missing bl70x dma defines

Signed-off-by: Camille BAUD <[email protected]>
Adds the DMA node

Signed-off-by: Camille BAUD <[email protected]>
Introduce BFLB's DMA.

Signed-off-by: Camille BAUD <[email protected]>
Guarantees De-gating the peripherals.

Signed-off-by: Camille BAUD <[email protected]>
Adds the dma to supported for testing

Signed-off-by: Camille BAUD <[email protected]>
Add ITM to common device tree and set the correct clock config
when using SWO as a logging backend

Signed-off-by: Henrik Grunmach <[email protected]>
Update commit id for hal_renesas to support Flash driver
for Renesas RZ/A, T, N series

Signed-off-by: Tien Nguyen <[email protected]>
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 <[email protected]>
Add SPIBSC node for RZ/A3UL
Add XSPI node for RZ/T2M, N2L

Signed-off-by: Tien Nguyen <[email protected]>
Add flash memory regions for RZ/A3UL

Signed-off-by: Tien Nguyen <[email protected]>
Add flash support for RZ/A3UL, N2L, T2M

Signed-off-by: Tien Nguyen <[email protected]>
Add Flash driver for RZ/A3UL, T2M, N2L

Signed-off-by: Tien Nguyen <[email protected]>
Add Flash driver for RZ/A3UL, T2M, N2L

Signed-off-by: Tien Nguyen <[email protected]>
Add Flash driver for RZ/A3UL, T2M, N2L

Signed-off-by: Tien Nguyen <[email protected]>
Add a macro to define the 32KB block size in spi_nor.h

Signed-off-by: Tien Nguyen <[email protected]>
Wrapp the 'done:' label with #if DT_ANY_INST_HAS_PROP_STATUS_OKAY
to avoid unused label warnings when reset_gpios is not defined.

Move declaration of 'val' under the corresponding #if block to limit
its scope and prevent “unused variable” warnings.

Signed-off-by: Venkatesh Odela <[email protected]>
Add support NPU driver on Renesas devices

Signed-off-by: Khoa Nguyen <[email protected]>
Select the Ethos-U NPU configuration for RA8P1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support NPU on Renesas ra8p1 SoC dts

Signed-off-by: Khoa Nguyen <[email protected]>
Add support sample app `tflm_ethosu` for Renesas ek_ra8p1 board

Signed-off-by: Khoa Nguyen <[email protected]>
This commit updates register definition for NPCKn variant to match the
datasheet.

Signed-off-by: Tom Chang <[email protected]>
These changes enable SAI1 A & B nodes in STM32F4xx series.

Signed-off-by: Mario Paja <[email protected]>
STM32F4xx series shares several DMA configurations with
the other platforms. These changes aim to enable platform
specific DMA configuration and align them to other platforms.

Signed-off-by: Mario Paja <[email protected]>
Add nucleo_f429zi board in samples/drivers/i2s/output

Signed-off-by: Mario Paja <[email protected]>
For nxp's board.c, the macro used in some places is
'DT_NODE_HAS_STATUS(DT_NODELABEL(<node_label>),okay)', and the
macro used in some places is
'DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(<node_label>))'.
The purpose of this PR is to unify the use of macros
and use the latter.

Signed-off-by: Zhaoxiang Jin <[email protected]>
CiprianRegus and others added 29 commits October 22, 2025 21:34
Each dip switch should "add new functionality" to the existing ones.
Refactor the current example selection logic.

Signed-off-by: Ciprian Regus <[email protected]>
- Reverse the IGMP and LLDP selection bits
- The PoDL supply may be enabled or disabled for any configuration.

Signed-off-by: Ciprian Regus <[email protected]>
Set the MAC address for the ADIn6310 pseudo randomly.

Signed-off-by: Ciprian Regus <[email protected]>
Since the MAC address is randomly generated, we have to pass it to the
timesync() function in order to set the clock idendity.

Signed-off-by: Ciprian Regus <[email protected]>
The ADIN6310 might have a hardware interface configuration other than
SPI, so in this case make sure to probe the LTC4296 first.

Signed-off-by: Ciprian Regus <[email protected]>
Some of these examples are already part of the adin6310 project. Remove
them since they're now duplicate

Signed-off-by: Ciprian Regus <[email protected]>
The current documentation is copied from another example. Update it with
specific information about the switch position and the actual
functionality of the example.

Signed-off-by: Ciprian Regus <[email protected]>
The adin6310 project doesn't have any specific test. In this case, just
set its name in the samples.yml file.

Signed-off-by: Ciprian Regus <[email protected]>
Use Analog Devices copyright.

Signed-off-by: Antoniu Miclaus <[email protected]>
- Allow setting the SCCPI and SCCPO signal on a per port basis.
- Set the SCCP power class and high side sense resistor value for each
  port using the devicetree.
- Change the ADIN6310 sample application so it will attempt the SCCP
  negotiation once per second (after the switch is configured based on
  the dip switches). This allows the PSE to provide power to PD devices
  which were not connected during the initial LTC4296 configuration.
- Misc fixes around the global ADC conversion formula (bias value
  2049 -> 2048).

Signed-off-by: Ciprian Regus <[email protected]>
Add details about the LTC4296 power class configuration method using the
devicetree.

Signed-off-by: Ciprian Regus <[email protected]>
Assign the GPIOs for the LEDs (LED 1, 2, 3) and the user button to match
the schematic of the ADIN6310-T1L field switch board.

Signed-off-by: Ciprian Regus <[email protected]>
Allow setting the LTC4296 power class and hs resistor values from the
project's devicetree overlay. Update the documentation to reflect the
change.

Signed-off-by: Ciprian Regus <[email protected]>
Enhances the formatting of installation directories in the documentation and adds descriptive text detailing how to configure the `ZEPHYR_TOOLCHAIN_VARIANT` variable.

The new text includes:

To configure your environment for Zephyr development, you need to set the `ZEPHYR_TOOLCHAIN_VARIANT` variable. This variable tells Zephyr which toolchain to use.

Option 1 - Temporary Setup

To set the variable for the current terminal session, run the following command:
`export ZEPHYR_TOOLCHAIN_VARIANT=zephyr`

Option 2 - Permanent Setup

Edit the `~/.bashrc` file and add:
`export ZEPHYR_TOOLCHAIN_VARIANT=zephyr`

Then, apply the changes with:
`source ~/.bashrc`

To confirm that the variable is set correctly, you can run:
`echo $ZEPHYR_TOOLCHAIN_VARIANT`
@Brandon-Hurst Brandon-Hurst marked this pull request as draft October 23, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet