Hey all, I am currently trying to build a standalone application using the driver model functions to interface with the Designware I2C Controller on my SoC. I believe I have correctly used the driver model functions such that I can read and write to an I2C device, but when I try to compile the code with the following configuration options added to socfpga_de10_nano_defconfig I get a few errors from the linker about undefined references to "uclass_get_device_by_seq", "dm_i2c_probe", and "dm_i2c_read".
CONFIG_DM=y CONNFIG_CMD_I2C=y CONFIG_API=y CONFIG_EXAMPLES=y CONFIG_STANDALONE_LOAD_ADDR=0x0c100000 CONFIG_SYS_MMC_MAX_DEVICE=1 My code is located at: https://github.com/jestes15/DE10-Nano_u-boot-socfpga/blob/socfpga_v2024.07/examples/standalone/i2c_test.c What do I need to do that would allow me to compile my standalone application? Is there documentation I can read that explains more of this, I have looked through this "https://docs.u-boot.org/en/latest/" and didn't see anything. Very respectfully, Joshua Estes

