The issue was pointed out also in https://github.com/espressif/esp-idf/issues/4092
1. avoid including rom headers directly in examples 2. add common API interface for CRC calculation in esp_common component
include