Other Parts Discussed in Thread: SYSCONFIG
When adding two EQEP devices, sysconfig generates duplicate sections with the same name:
EQEP_SourceSelect sourceSelect;
sourceSelect.sourceA = EQEP_SOURCE_DEVICE_PIN;
sourceSelect.sourceB = EQEP_SOURCE_DEVICE_PIN;
sourceSelect.sourceIndex = EQEP_SOURCE_DEVICE_PIN;
EQEP_selectSource(CONFIG_EQEP0_BASE_ADDR, sourceSelect);
Compiler error:
generated/ti_drivers_open_close.c:2324:20: error: redefinition of 'sourceSelect'
EQEP_SourceSelect sourceSelect;
^
generated/ti_drivers_open_close.c:2286:20: note: previous definition is here
EQEP_SourceSelect sourceSelect;
^
1 error generated.
makefile:159: recipe for target 'ti_drivers_open_close.obj' failed