mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Switch Energia's projects to Arduino framework
This commit is contained in:
2
docs
2
docs
Submodule docs updated: fceaa2472a...c25a1c9ec0
2
examples
2
examples
Submodule examples updated: c5aaf70fff...a71564ab46
@ -316,7 +316,7 @@ def BuildFrameworks(env, frameworks):
|
|||||||
env.Exit(1)
|
env.Exit(1)
|
||||||
|
|
||||||
for f in frameworks:
|
for f in frameworks:
|
||||||
if f in ("arduino", "energia"):
|
if f == "arduino":
|
||||||
# Arduino IDE appends .o the end of filename
|
# Arduino IDE appends .o the end of filename
|
||||||
Builder.match_splitext = scons_patched_match_splitext
|
Builder.match_splitext = scons_patched_match_splitext
|
||||||
if "nobuild" not in COMMAND_LINE_TARGETS:
|
if "nobuild" not in COMMAND_LINE_TARGETS:
|
||||||
|
@ -40,14 +40,6 @@ TRANSPORT_OPTIONS = {
|
|||||||
"begin": "pc.baud($baudrate)",
|
"begin": "pc.baud($baudrate)",
|
||||||
"end": ""
|
"end": ""
|
||||||
},
|
},
|
||||||
"energia": {
|
|
||||||
"include": "#include <Energia.h>",
|
|
||||||
"object": "",
|
|
||||||
"putchar": "Serial.write(c)",
|
|
||||||
"flush": "Serial.flush()",
|
|
||||||
"begin": "Serial.begin($baudrate)",
|
|
||||||
"end": "Serial.end()"
|
|
||||||
},
|
|
||||||
"espidf": {
|
"espidf": {
|
||||||
"include": "#include <stdio.h>",
|
"include": "#include <stdio.h>",
|
||||||
"object": "",
|
"object": "",
|
||||||
|
Reference in New Issue
Block a user