summaryrefslogtreecommitdiff
path: root/board/nucleo-g431rb/build.mk
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2020-04-01 11:02:38 -0700
committerCommit Bot <commit-bot@chromium.org>2020-09-24 20:41:25 +0000
commitc91a3801ed810bb13f964a70c323906b187f3cba (patch)
tree4d35fdc195f55f554e732655790fa4d23775f373 /board/nucleo-g431rb/build.mk
parent71b27a53005725f1ec868ea871ad7f46f180ce51 (diff)
downloadchrome-ec-c91a3801ed810bb13f964a70c323906b187f3cba.tar.gz
nucleo-g431rb: Adding support for nucleo-g431rb dev board
This CL renames what was /board/honeybuns to /board/nuclero-g431rb and adds code to blink the user LED (once per second) and enables MCO alt function so that system clocks can be measured. BUG=None BRANCH=None TEST=flashed image to nucleo board using the STM32CubeIDE debugger and verified sysclock frequency, LED, and EC console is accessed via STLINK /dev/ttyACM0 Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: I2b614a0e71f3f15638667f80e80a998ba731d929 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2168433 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/nucleo-g431rb/build.mk')
-rw-r--r--board/nucleo-g431rb/build.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/nucleo-g431rb/build.mk b/board/nucleo-g431rb/build.mk
new file mode 100644
index 0000000000..8140048cdd
--- /dev/null
+++ b/board/nucleo-g431rb/build.mk
@@ -0,0 +1,13 @@
+# -*- makefile -*-
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# Board specific files build
+#
+
+CHIP:=stm32
+CHIP_FAMILY:=stm32g4
+CHIP_VARIANT:=stm32g431xb
+
+board-y=board.o