Hi all,
Recently, I tried to create a new MACRO which one is not exist in bootable named CONFIG_I2C_MULTI_BUS.
I found a file would be created during compile cycle. This file named autoconf.mk. It seems all of the MACRO are organized in this file.
Someone told me this file maybe collect all of the MACRO in header file. So I tried to add CONFIG_I2C_MULTI_BUS in a header file.
During compile is ongoing, I can see this CONFIG_I2C_MULTI_BUS MACRO was been added in autoconf.mk
But after a while, compile tell me error, and I check this file again. CONFIG_I2C_MULTI_BUS MACRO was gone. It makes me confuse.
Is there anyone add MACRO in bootable? I don't know how to add a MACRO in correct file. Please give me some direction to figure out it. Thank you.
Hi,
I do not have experience with that but I would be glad to help. Can you share more details of what you want to do?
Is it a U-boot or linux project? Any special tool you are using? Are trying to add a driver?
Best Regards,
Alejandro