Просмотр исходного кода

update repo/package names

main
John Robinson 3 лет назад
Родитель
Сommit
f09a61ec0f
Не найден GPG ключ соответствующий данной подписи
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"):

Загрузка…
Отмена
Сохранить