mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Improve CMSIS selection for SAMD21 boards
This commit is contained in:
@ -218,7 +218,8 @@ if env.subst("${PLATFORMFW_DIR}")[-3:] == "sam":
|
|||||||
join("$BUILD_DIR", "FrameworkCMSISInc"),
|
join("$BUILD_DIR", "FrameworkCMSISInc"),
|
||||||
join(
|
join(
|
||||||
"$PLATFORMFW_DIR", "system",
|
"$PLATFORMFW_DIR", "system",
|
||||||
"CMSIS%s" % ("_ORG" if "_org" in BOARD_CORELIBDIRNAME else ""),
|
"CMSIS%s" % (
|
||||||
|
"_ORG" if BOARD_CORELIBDIRNAME.endswith("_org") else ""),
|
||||||
"CMSIS", "Include"
|
"CMSIS", "Include"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -226,7 +227,8 @@ if env.subst("${PLATFORMFW_DIR}")[-3:] == "sam":
|
|||||||
join("$BUILD_DIR", "FrameworkDeviceInc"),
|
join("$BUILD_DIR", "FrameworkDeviceInc"),
|
||||||
join(
|
join(
|
||||||
"$PLATFORMFW_DIR", "system",
|
"$PLATFORMFW_DIR", "system",
|
||||||
"CMSIS%s" % ("_ORG" if "_org" in BOARD_CORELIBDIRNAME else ""),
|
"CMSIS%s" % (
|
||||||
|
"_ORG" if BOARD_CORELIBDIRNAME.endswith("_org") else ""),
|
||||||
"Device", "ATMEL"
|
"Device", "ATMEL"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user