forked from platformio/platformio-core
31 lines
630 B
Python
31 lines
630 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 Timsp430Platform(BasePlatform):
|
||
|
|
|
||
|
|
PACKAGES = {
|
||
|
|
|
||
|
|
"toolchain-timsp430": {
|
||
|
|
"path": join("tools", "toolchain"),
|
||
|
|
"default": True
|
||
|
|
},
|
||
|
|
|
||
|
|
"tool-mspdebug": {
|
||
|
|
"path": join("tools", "mspdebug"),
|
||
|
|
"default": True,
|
||
|
|
},
|
||
|
|
|
||
|
|
"framework-energiamsp430": {
|
||
|
|
"path": join("frameworks", "energia"),
|
||
|
|
"default": False
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
def get_name(self):
|
||
|
|
return "timsp430"
|