rbei-etas/busmaster — Issue #76: Modify loading methods of controller and DIL_CAN_<controller> libraries
Author: rbei-ratnadip
Created: 2011-11-09 09:54:02+00:00
State: open

The presenent way the controller DILs (e.g., DIL_ES581, DIL_BOA, DIL_VECTOR_XL etc) are implemented and handled is not fully optimised. They use explicit loading to employ the controller libraries whereas they are used by DIL_CAN.cpp with implicit loading. So the DLL usage from viewpoint of BUSMASTER client is implicit->explicit. This increases the code size and hence complexity.

Please change the usage method to implicit loading. For example - DIL_VECTOR_XL will now use XL driver library with implicit loading method and hence the code size will get reduced to a significant extent. The library DIL_VECTOR_XL can be used with explicit loading and this will export an interface class so that its client can exploit the functionality. Please do the same for all the existing DIL_CAN_ libraries.

This method will retain the nobility of the existing approach, yet simplify the code.