ftdi_eeprom: support channel configuration
authorStephan Linz <linz@li-pro.net>
Thu, 13 Aug 2015 10:03:29 +0000 (12:03 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 14 Aug 2015 13:26:00 +0000 (15:26 +0200)
commit190fca12fae231e8015f64953e51205ea3996bdf
tree428f2c9c56df3357a85b7c5932333a36777e2abe
parent9a74ead21248e61eee24165a0a9dd059f9f67a4d
ftdi_eeprom: support channel configuration

Previously, the channels could not be configured and were
hard set to type UART and driver VCP and further to no RS485
functionality on chips with support for this feature.

With the new 'chX_*' config file options the ftdi_eeprom tool
is now abel to change the channel type, set the driver autoload
decision (VCP od D2XX) and enable or disable RS485.

The new config file options are:

 * ch[a,b]_type      - string of: UART, FIFO, OPTO, CPU, FT1284
 * ch[a,b,c,d]_vcp   - bool: true for VCP, false for D2XX
 * ch[a,b,c,d]_rs485 - bool: true for RS485 enabled

Signed-off-by: Stephan Linz <linz@li-pro.net>
ftdi_eeprom/main.c