Esphome framework-espidf use component xtensa

Hi all,

I’m trying to get fastled-idf (GitHub - bbulkow/FastLED-idf: FastLED port to the ESP-IDF 4.0 development environment) going on the esp-idf framework and am struggling with how to tell esphome to tell platformio to tell framework-espidf to include the xtensa component.

Snippet from the esphome yaml file:

esphome:
  name: test
  platformio_options:
    board_build.flash_mode: dio
    board_build.variant: esp32c3
    board_build.f_cpu: 160000000L
    board_build.f_flash: 40000000L
  includes:
    - fastled_idf_esphome_light.h
  libraries:
    - file://C:\Users\Dennis\workspace\FastLED-idf\components\FastLED-idf

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: esp-idf
    version: latest

Now somewhere deep down inside the (modified) fastled-idf code I do an include
#include <xtensa/xtensa_api.h>

This file is available in the platformio packages’ framework-espidf package:
C:\Users\Dennis.platformio\packages\framework-espidf\components\xtensa\include\xtensa\xtensa_api.h

However I’ve not yet found out how to tell esphome to use that framework-espidf component. I’ve tried various approaches from changing the LDF mode to deep+, various platformio_options like lib_deps_builtin etc.

Any hints appreciated!