Hello World

This commit is contained in:
rusefillc 2023-12-04 09:47:45 -05:00
parent 7f0b2e8686
commit 3e9cd063e7
3 changed files with 21 additions and 0 deletions

7
board.mk Normal file
View File

@ -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

13
board_configuration.cpp Normal file
View File

@ -0,0 +1,13 @@
#include "pch.h"
Gpio getCommsLedPin() {
return Gpio::Unassigned;
}
Gpio getRunningLedPin() {
return Gpio::Unassigned;
}
Gpio getWarningLedPin() {
return Gpio::Unassigned;
}

1
connectors/readme.md Normal file
View File

@ -0,0 +1 @@
See https://github.com/chuckwagoncomputing/interactive-pinout for documentation