summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/STEMCELL/configs/halconf.h
diff options
context:
space:
mode:
authorMega Mind <68985133+megamind4089@users.noreply.github.com>2022-08-14 19:27:26 +0800
committerGitHub <noreply@github.com>2022-08-14 21:27:26 +1000
commitfce99f38757d7ddbcaada0f5f0157ca24b6162b7 (patch)
tree1164212f57f73c9b85d06b3713527ad4809fe735 /platforms/chibios/boards/STEMCELL/configs/halconf.h
parentba04ecfabd4f254bb89ccd7d1de9ac7fb228ce5b (diff)
[Controller] Added board config for custom controller STeMCell (#16287)
Co-authored-by: Mariappan Ramasamy <947300+Mariappan@users.noreply.github.com> Co-authored-by: Mariappan Ramasamy <maari@basis-ai.com> Co-authored-by: Sadek Baroudi <sadekbaroudi@gmail.com>
Diffstat (limited to 'platforms/chibios/boards/STEMCELL/configs/halconf.h')
-rw-r--r--platforms/chibios/boards/STEMCELL/configs/halconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/platforms/chibios/boards/STEMCELL/configs/halconf.h b/platforms/chibios/boards/STEMCELL/configs/halconf.h
new file mode 100644
index 0000000000..f38949e626
--- /dev/null
+++ b/platforms/chibios/boards/STEMCELL/configs/halconf.h
@@ -0,0 +1,11 @@
+// Copyright 2022 Mega Mind (@megamind4089)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define PAL_USE_WAIT TRUE
+#define PAL_USE_CALLBACKS TRUE
+#define HAL_USE_I2C TRUE
+#define HAL_USE_SERIAL TRUE
+
+#include_next <halconf.h>