Issues using esp idf 3.0.3 library (maybe)

Issue Type: Bug

#include <…/…/driver/spi_master.h>

this is what the esp idf library says is in there under 3.0.3, but in platformio it is showing spi_master.cpp
Am i missing something?

VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:21:18.328Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel® Core™ i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.93GB (5.30GB free)
Process Argv C:\Users\wegun\AppData\Local\Programs\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
gc-excelviewer Gra 2.1.26
vscode-clang mit 0.2.2
anaconda-extension-pack ms- 1.0.0
python ms- 2018.8.0
cpptools ms- 0.18.1
platformio-ide pla 1.1.0
vscode-yaml red 0.0.15

Please file an issue here Issues · platformio/platform-espressif32 · GitHub