mirror of https://github.com/FOME-Tech/fome-fw.git
build atlas
This commit is contained in:
parent
367553e83b
commit
8e67e0aadb
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue