Firmware2/buildroot/share/PlatformIO/scripts/pioutil.py
2021-10-19 13:00:02 -05:00

9 lines
241 B
Python

#
# buildroot/share/PlatformIO/scripts/pioutil.py
#
# Detect that 'vscode init' is running
def is_vscode_init():
from SCons.Script import COMMAND_LINE_TARGETS
return "idedata" in COMMAND_LINE_TARGETS or "_idedata" in COMMAND_LINE_TARGETS