build atlas

This commit is contained in:
Matthew Kennedy 2024-02-26 11:47:07 -08:00
parent 367553e83b
commit 8e67e0aadb
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,6 @@
# Atlas is STM32H743
PROJECT_CPU = ARCH_STM32H7
# List of all the board related files.
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
@ -11,8 +14,4 @@ DDEFS += -DFIRMWARE_ID=\"atlas\"
# We are running on Atlas hardware!
DDEFS += -DHW_ATLAS=1
# Atlas needs networking library
LWIP = yes
DDEFS += -DEFI_ETHERNET=TRUE
SHORT_BOARD_NAME = atlas

View File

@ -1 +1,14 @@
#include "pch.h"
Gpio getCommsLedPin() {
return Gpio::B7;
}
Gpio getRunningLedPin() {
return Gpio::B0;
}
Gpio getWarningLedPin() {
// this board has no warning led
return Gpio::Unassigned;
}