Hello, I'm not sure what you mean by "ignored during code generation". Synergy configurator should generate code for all drivers you place in your project, regardless of where they're placed. Some modules are common (blue tag) - this means that they are generated only once per project as they can be used by multiple instances of other drivers. In this case, I don't see why code for g_i2c_eeprom would not be generated. For the framework, you create new instance of sf_i2c_device for each device you have in your system. sf_i2c_bus will be added automatically and shared between your devices. Naturally, you can also replace the shared sf_i2c_bus module with another one, if you plan to use different i2c channel. There's no restriction on how many driver/framework modules you can have in one thread. Regards
↧