MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / GetSDKPackagePath

Function GetSDKPackagePath

tools/env_utility.py:44–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 return None
43
44def GetSDKPackagePath():
45 env = GetEnvPath()
46
47 if env:
48 return os.path.join(env, "tools", "scripts", "packages")
49
50 return None
51
52# get SDK path based on name
53# for example, GetSDKPath('arm-none-eabi') = '.env/tools/scripts/packages/arm-none-eabi-gcc-v10.3'

Callers 1

GetSDKPathFunction · 0.85

Calls 2

GetEnvPathFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected