소스 검색

update repo/package names

main
John Robinson 3 년 전
부모
커밋
f09a61ec0f
No known key found for this signature in database
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"):

Loading…
취소
저장