mega2560 update
option LCD
This commit is contained in:
+6
-1
@@ -610,12 +610,17 @@ ifeq ($(PCB), MEGA2560)
|
|||||||
THR_TRACE = YES
|
THR_TRACE = YES
|
||||||
INCDIRS += targets/mega2560 targets/stock FatFs FatFs/option
|
INCDIRS += targets/mega2560 targets/stock FatFs FatFs/option
|
||||||
BOARDSRC = main_avr.cpp targets/mega2560/board_mega2560.cpp
|
BOARDSRC = main_avr.cpp targets/mega2560/board_mega2560.cpp
|
||||||
EXTRABOARDSRC = targets/mega2560/lcd_driver_ST7565R.cpp targets/common_avr/telemetry_driver.cpp
|
|
||||||
EEPROMSRC = eeprom_common.cpp eeprom_rlc.cpp
|
EEPROMSRC = eeprom_common.cpp eeprom_rlc.cpp
|
||||||
LCDSRC = lcd_common.cpp lcd_default.cpp
|
LCDSRC = lcd_common.cpp lcd_default.cpp
|
||||||
PULSESSRC = pulses/pulses_avr.cpp
|
PULSESSRC = pulses/pulses_avr.cpp
|
||||||
CPPSRC += audio_avr.cpp
|
CPPSRC += audio_avr.cpp
|
||||||
|
|
||||||
|
ifeq ($(PCBREV), ST7565P)
|
||||||
|
EXTRABOARDSRC = targets/stock/lcd_driver.cpp targets/common_avr/telemetry_driver.cpp
|
||||||
|
else
|
||||||
|
EXTRABOARDSRC = targets/mega2560/lcd_driver_ST7565R.cpp targets/common_avr/telemetry_driver.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(SDCARD), YES)
|
ifeq ($(SDCARD), YES)
|
||||||
EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/gruvin9x/diskio.cpp
|
EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/gruvin9x/diskio.cpp
|
||||||
CPPDEFS += -DRTCLOCK
|
CPPDEFS += -DRTCLOCK
|
||||||
|
|||||||
Reference in New Issue
Block a user