From 11a962099ea8735227623443c62c0248b98e4805 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 27 Apr 2017 18:08:05 +0300 Subject: [PATCH] examples/hwapi: Add config for Zephyr port of 96Boards Carbon. --- examples/hwapi/hwconfig_z_96b_carbon.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/hwapi/hwconfig_z_96b_carbon.py diff --git a/examples/hwapi/hwconfig_z_96b_carbon.py b/examples/hwapi/hwconfig_z_96b_carbon.py new file mode 100644 index 0000000000..97fd57a07f --- /dev/null +++ b/examples/hwapi/hwconfig_z_96b_carbon.py @@ -0,0 +1,9 @@ +from machine import Signal + +# 96Boards Carbon board +# USR1 - User controlled led, connected to PD2 +# USR2 - User controlled led, connected to PA15 +# BT - Bluetooth indicator, connected to PB5. +# Note - 96b_carbon uses (at the time of writing) non-standard +# for Zephyr port device naming convention. +LED = Signal(("GPIOA", 15), Pin.OUT)