Compare commits
6 commits
master
...
increase-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f33b09ee58 | ||
|
|
92447cbfea | ||
|
|
beec4b65ff | ||
|
|
fa7c86dc81 | ||
|
|
9b963f433b | ||
|
|
4845cdfa8e |
2 changed files with 6 additions and 5 deletions
3
.github/workflows/githubci.yml
vendored
3
.github/workflows/githubci.yml
vendored
|
|
@ -16,5 +16,4 @@ jobs:
|
||||||
run: bash ./actions_install.sh
|
run: bash ./actions_install.sh
|
||||||
- name: test platforms
|
- name: test platforms
|
||||||
run: |
|
run: |
|
||||||
python3 build_platform.py uno leonardo mega2560 zero esp8266 esp32 pico_rp2040
|
python3 build_platform.py metroesp32s2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ ALL_PLATFORMS={
|
||||||
"esp32" : ["esp32:esp32:featheresp32:FlashFreq=80", None],
|
"esp32" : ["esp32:esp32:featheresp32:FlashFreq=80", None],
|
||||||
"magtag" : ["esp32:esp32:adafruit_magtag29_esp32s2", "0xbfdd4eee"],
|
"magtag" : ["esp32:esp32:adafruit_magtag29_esp32s2", "0xbfdd4eee"],
|
||||||
"funhouse" : ["esp32:esp32:adafruit_funhouse_esp32s2", "0xbfdd4eee"],
|
"funhouse" : ["esp32:esp32:adafruit_funhouse_esp32s2", "0xbfdd4eee"],
|
||||||
"metroesp32s2" : ["esp32:esp32:adafruit_metro_esp32s2", "0xbfdd4eee"],
|
"metroesp32s2" : ["esp32:esp32:adafruit_metro_esp32s2:CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default", "0xbfdd4eee"],
|
||||||
# Adafruit AVR
|
# Adafruit AVR
|
||||||
"trinket_3v" : ["adafruit:avr:trinket3", None],
|
"trinket_3v" : ["adafruit:avr:trinket3", None],
|
||||||
"trinket_5v" : ["adafruit:avr:trinket5", None],
|
"trinket_5v" : ["adafruit:avr:trinket5", None],
|
||||||
|
|
@ -168,6 +168,8 @@ def install_platform(platform):
|
||||||
ColorPrint.print_fail("FAILED to install "+platform)
|
ColorPrint.print_fail("FAILED to install "+platform)
|
||||||
exit(-1)
|
exit(-1)
|
||||||
ColorPrint.print_pass(CHECK)
|
ColorPrint.print_pass(CHECK)
|
||||||
|
# print installed core version
|
||||||
|
print( os.popen('arduino-cli core list | grep {}'.format(platform)).read(), end='' )
|
||||||
|
|
||||||
def run_or_die(cmd, error):
|
def run_or_die(cmd, error):
|
||||||
print(cmd)
|
print(cmd)
|
||||||
|
|
@ -318,7 +320,7 @@ def test_examples_in_folder(folderpath):
|
||||||
cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--export-binaries', '--fqbn', fqbn, examplepath]
|
cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--export-binaries', '--fqbn', fqbn, examplepath]
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
r = proc.wait(timeout=60)
|
r = proc.wait(timeout=60*5)
|
||||||
out = proc.stdout.read()
|
out = proc.stdout.read()
|
||||||
err = proc.stderr.read()
|
err = proc.stderr.read()
|
||||||
if r == 0 and not (err and BUILD_WALL == True):
|
if r == 0 and not (err and BUILD_WALL == True):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue