forked from platformio/platformio-core
37 lines
808 B
Python
37 lines
808 B
Python
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
|
# See LICENSE for details.
|
|
|
|
from os.path import join
|
|
|
|
from platformio.platforms.base import BasePlatform
|
|
|
|
|
|
class TitivaPlatform(BasePlatform):
|
|
"""
|
|
An embedded platform for TI TIVA C ARM microcontrollers
|
|
(with Energia Framework)
|
|
"""
|
|
|
|
PACKAGES = {
|
|
|
|
"toolchain-gccarmnoneeabi": {
|
|
"path": join("tools", "toolchain"),
|
|
"alias": "toolchain",
|
|
"default": True
|
|
},
|
|
|
|
"tool-lm4flash": {
|
|
"path": join("tools", "lm4flash"),
|
|
"alias": "uploader",
|
|
"default": True
|
|
},
|
|
|
|
"framework-energiativa": {
|
|
"path": join("frameworks", "energia"),
|
|
"default": True
|
|
}
|
|
}
|
|
|
|
def get_name(self):
|
|
return "titiva"
|