浏览代码

update repo/package names

main
John Robinson 3 年前
父节点
当前提交
f09a61ec0f
找不到此签名对应的密钥
共有 4 个文件被更改,包括 18 次插入18 次删除
  1. +3
    -3
      .piopm
  2. +2
    -2
      builder/frameworks/arduino.py
  3. +12
    -12
      platform.json
  4. +1
    -1
      platform.py

+ 3
- 3
.piopm 查看文件

@@ -1,11 +1,11 @@
{
"type": "platform",
"name": "teensy-gcc",
"name": "teensy-gcc10",
"version": "0.1.0",
"spec": {
"owner": "skepto",
"owner": "visus",
"id": 8021,
"name": "teensy-gcc",
"name": "teensy-gcc10",
"requirements": null,
"url": null
}

+ 2
- 2
builder/frameworks/arduino.py 查看文件

@@ -31,8 +31,8 @@ from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
platform = env.PioPlatform()
FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoteensy-cxx17")
FRAMEWORK_VERSION = platform.get_package_version("framework-arduinoteensy-cxx17")
FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoteensy-cxx20")
FRAMEWORK_VERSION = platform.get_package_version("framework-arduinoteensy-cxx20")
BUILD_CORE = env.BoardConfig().get("build.core")
assert isdir(FRAMEWORK_DIR)

+ 12
- 12
platform.json 查看文件

@@ -1,28 +1,28 @@
{
"name": "teensy-gcc",
"name": "teensy-gcc10",
"title": "Teensy",
"description": "Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard USB cable and a PC or Macintosh with a USB port.",
"homepage": "https://www.pjrc.com/teensy",
"license": "Apache-2.0",
"keywords": [
"dev-platform",
"ARM",
"AVR",
"Cortex-M",
"NXP Semiconductors",
"Microchip"
"dev-platform",
"ARM",
"AVR",
"Cortex-M",
"NXP Semiconductors",
"Microchip"
],
"engines": {
"platformio": "^5"
},
"repository": {
"type": "git",
"url": "https://github.com/platformio/platform-teensy.git"
"url": "https://github.com/visus/platform-teensy-gcc10.git"
},
"version": "4.17.0",
"frameworks": {
"arduino": {
"package": "framework-arduinoteensy-cxx17",
"package": "framework-arduinoteensy-cxx20",
"script": "builder/frameworks/arduino.py"
},
"mbed": {
@@ -40,13 +40,13 @@
"toolchain-gcc-arm-embedded": {
"type": "toolchain",
"optional": false,
"owner": "skepto",
"owner": "visus",
"version": "~0.1.0"
},
"framework-arduinoteensy-cxx17": {
"framework-arduinoteensy-cxx20": {
"type": "framework",
"optional": true,
"owner": "skepto",
"owner": "visus",
"version": "~0.1.0"
},
"framework-mbed": {

+ 1
- 1
platform.py 查看文件

@@ -17,7 +17,7 @@ from platform import system
from platformio.managers.platform import PlatformBase
class TeensygccPlatform(PlatformBase):
class Teensygcc10Platform(PlatformBase):
def configure_default_packages(self, variables, targets):
if variables.get("board"):

正在加载...
取消
保存