add stm32 port to workflow

This commit is contained in:
Hierophect 2019-09-04 18:10:37 -04:00
parent fca440fb66
commit e6f8ad65c1
2 changed files with 7 additions and 2 deletions

View File

@ -145,6 +145,7 @@ jobs:
- "trinket_m0_haxpress" - "trinket_m0_haxpress"
- "uchip" - "uchip"
- "ugame10" - "ugame10"
- "stm32f411ve_discovery"
steps: steps:
- name: Set up Python 3.5 - name: Set up Python 3.5

View File

@ -12,7 +12,7 @@ from sh.contrib import git
sys.path.append("adabot") sys.path.append("adabot")
import adabot.github_requests as github import adabot.github_requests as github
SUPPORTED_PORTS = ["nrf", "atmel-samd"] SUPPORTED_PORTS = ["nrf", "atmel-samd", "stm32f4"]
BIN = ('bin',) BIN = ('bin',)
UF2 = ('uf2',) UF2 = ('uf2',)
@ -23,6 +23,7 @@ HEX = ('hex',)
extension_by_port = { extension_by_port = {
"nrf": UF2, "nrf": UF2,
"atmel-samd": UF2, "atmel-samd": UF2,
"stm32f4": BIN,
} }
# Per board overrides # Per board overrides
@ -40,7 +41,10 @@ extension_by_board = {
"makerdiary_nrf52840_mdk_usb_dongle": HEX, "makerdiary_nrf52840_mdk_usb_dongle": HEX,
"pca10056": BIN_UF2, "pca10056": BIN_UF2,
"pca10059": BIN_UF2, "pca10059": BIN_UF2,
"electronut_labs_blip": HEX "electronut_labs_blip": HEX,
# stm32f4
"stm32f411ve_discovery": BIN
} }
aliases_by_board = { aliases_by_board = {