mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Rename "sam" development platform to "atmelsam"
This commit is contained in:
@ -550,7 +550,7 @@
|
|||||||
"ldscript": "sam3x8e.ld"
|
"ldscript": "sam3x8e.ld"
|
||||||
},
|
},
|
||||||
"name": "Arduino Due (Programming Port)",
|
"name": "Arduino Due (Programming Port)",
|
||||||
"platform": "sam",
|
"platform": "atmelsam",
|
||||||
"upload": {
|
"upload": {
|
||||||
"disable_flushing": true,
|
"disable_flushing": true,
|
||||||
"maximum_ram_size": 524288,
|
"maximum_ram_size": 524288,
|
||||||
|
@ -19,7 +19,7 @@ BOARD_BUILDOPTS = env.get("BOARD_OPTIONS", {}).get("build", {})
|
|||||||
# Atmel SAM platform
|
# Atmel SAM platform
|
||||||
#
|
#
|
||||||
|
|
||||||
if env.get("BOARD_OPTIONS", {}).get("platform", None) == "sam":
|
if env.get("BOARD_OPTIONS", {}).get("platform", None) == "atmelsam":
|
||||||
env.VariantDir(
|
env.VariantDir(
|
||||||
join("$BUILD_DIR", "FrameworkCMSISInc"),
|
join("$BUILD_DIR", "FrameworkCMSISInc"),
|
||||||
join("$PLATFORMFW_DIR", "system", "CMSIS", "CMSIS", "include")
|
join("$PLATFORMFW_DIR", "system", "CMSIS", "CMSIS", "include")
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
from platformio.platforms.base import BasePlatform
|
from platformio.platforms.base import BasePlatform
|
||||||
|
|
||||||
|
|
||||||
class SamPlatform(BasePlatform):
|
class AtmelsamPlatform(BasePlatform):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
An embedded platform for Atmel SAM microcontrollers
|
An embedded platform for Atmel SAM microcontrollers
|
Reference in New Issue
Block a user