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