From 3fc3d39fd52249dfea490daef2ca6b37767e20e7 Mon Sep 17 00:00:00 2001 From: Cefn Hoile Date: Sun, 18 Feb 2018 20:27:33 +0000 Subject: [PATCH] Standardised platform (chip) names --- python/agnostic.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/agnostic.py b/python/agnostic.py index 2a73347..41022c8 100644 --- a/python/agnostic.py +++ b/python/agnostic.py @@ -8,13 +8,14 @@ try: except: platform = None +# TODO switch name of platform below to be microcontroller if platform is not None: if platform == "esp8266": - board = "huzzah" - elif platform == "Atmel SAMD21": + board = "feather_huzzah" + elif platform == "samd21": board="feather_m0_express" elif platform == "pyboard": - platform="STM32F405RG" + platform="stm32" board="pyboard" else: board = None -- 2.49.0