From 3e9cd063e74b8b68b7035c1960db3c266ad16b8d Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 4 Dec 2023 09:47:45 -0500 Subject: [PATCH] Hello World --- board.mk | 7 +++++++ board_configuration.cpp | 13 +++++++++++++ connectors/readme.md | 1 + 3 files changed, 21 insertions(+) create mode 100644 board.mk create mode 100644 board_configuration.cpp create mode 100644 connectors/readme.md diff --git a/board.mk b/board.mk new file mode 100644 index 0000000..5d5fbe9 --- /dev/null +++ b/board.mk @@ -0,0 +1,7 @@ +BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp + +DDEFS += -DFIRMWARE_ID=\"XXX\" +SHORT_BOARD_NAME=XXX + +# assign critical LED to a non-existent pin if you do not have it on your board +DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::I15 \ No newline at end of file diff --git a/board_configuration.cpp b/board_configuration.cpp new file mode 100644 index 0000000..5e9fd08 --- /dev/null +++ b/board_configuration.cpp @@ -0,0 +1,13 @@ +#include "pch.h" + +Gpio getCommsLedPin() { + return Gpio::Unassigned; +} + +Gpio getRunningLedPin() { + return Gpio::Unassigned; +} + +Gpio getWarningLedPin() { + return Gpio::Unassigned; +} \ No newline at end of file diff --git a/connectors/readme.md b/connectors/readme.md new file mode 100644 index 0000000..4d5b62f --- /dev/null +++ b/connectors/readme.md @@ -0,0 +1 @@ +See https://github.com/chuckwagoncomputing/interactive-pinout for documentation \ No newline at end of file