Sfoglia il codice sorgente

update repo/package names

main
John Robinson 3 anni fa
parent
commit
f09a61ec0f
Non sono state trovate chiavi note per questa firma nel database
4 ha cambiato i file con 18 aggiunte e 18 eliminazioni
  1. +3
    -3
      .piopm
  2. +2
    -2
      builder/frameworks/arduino.py
  3. +12
    -12
      platform.json
  4. +1
    -1
      platform.py

+ 3
- 3
.piopm Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva