Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Custom Platform Detection
Description: Manually setting ecl_config parameters for a custom board configuration.Keywords: ecl config custom
Tutorial Level: INTERMEDIATE
Manual Configuration
If ecl can't successfully autodetect your platform implementation, then a a header can be hand customised to tailor for your own schwanky embedded board. To do this simply define the ECL_IS_CUSTOM macro as pointing to a header somewhere on your system before you call any ecl headers in your code. For example:
This will abort usage of the cmake generated header and use your own hand crafted header in its place. The custom header should roughly have the same macros defined as those listed in ecl/config/ecl.hpp.