mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
A MOD char is really needed for the Extra Rotary Encoders Mod!
This commit is contained in:
parent
46e7f90b34
commit
f59d7a3836
1 changed files with 10 additions and 10 deletions
20
src/Makefile
20
src/Makefile
|
@ -92,7 +92,7 @@ PPM16 = NO
|
||||||
# DSM2 (Spektrum) protocol
|
# DSM2 (Spektrum) protocol
|
||||||
DSM2 = NO
|
DSM2 = NO
|
||||||
|
|
||||||
# SOMO-14D module
|
# SOMO-14D module (V4 board only)
|
||||||
SOMO = NO
|
SOMO = NO
|
||||||
|
|
||||||
# TRANSLATIONS
|
# TRANSLATIONS
|
||||||
|
@ -103,8 +103,8 @@ TRANSLATIONS = EN
|
||||||
# Values = YES, NO
|
# Values = YES, NO
|
||||||
EEPROM_PROGRESS_BAR = NO
|
EEPROM_PROGRESS_BAR = NO
|
||||||
|
|
||||||
#enable extra rotary encoders
|
# Enable extra rotary encoders (V4 board only)
|
||||||
#applicable on V4 board only
|
# Values = YES, NO
|
||||||
MOD_EXTRA_ROTARY_ENCODERS = NO
|
MOD_EXTRA_ROTARY_ENCODERS = NO
|
||||||
|
|
||||||
# DEBUG mode
|
# DEBUG mode
|
||||||
|
@ -212,12 +212,6 @@ ifeq ($(NAVIGATION), POTS)
|
||||||
CPPDEFS += -DNAVIGATION_POT1 -DNAVIGATION_POT2 -DNAVIGATION_POT3
|
CPPDEFS += -DNAVIGATION_POT1 -DNAVIGATION_POT2 -DNAVIGATION_POT3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PCB), V4)
|
|
||||||
ifeq ($(MOD_EXTRA_ROTARY_ENCODERS), YES)
|
|
||||||
CPPDEFS += -DMOD_EXTRA_ROTARY_ENCODERS
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(SPLASH), YES)
|
ifeq ($(SPLASH), YES)
|
||||||
CPPDEFS += -DSPLASH
|
CPPDEFS += -DSPLASH
|
||||||
endif
|
endif
|
||||||
|
@ -281,6 +275,7 @@ ifeq ($(PCB), ARM)
|
||||||
EXTRAINCDIRS += ersky9x
|
EXTRAINCDIRS += ersky9x
|
||||||
BOARDSRC = board_ersky9x.cpp
|
BOARDSRC = board_ersky9x.cpp
|
||||||
EXTRABOARDSRC = ersky9x/core_cm3.c ersky9x/board_lowlevel.c ersky9x/crt.c ersky9x/vectors_sam3s.c
|
EXTRABOARDSRC = ersky9x/core_cm3.c ersky9x/board_lowlevel.c ersky9x/crt.c ersky9x/vectors_sam3s.c
|
||||||
|
# ersky9x/ff.c ersky9x/diskio_sam3s.c ersky9x/Media.c ersky9x/ccsbcs.c ersky9x/MEDSdcard.c
|
||||||
EEPROMSRC = eeprom_arm.cpp
|
EEPROMSRC = eeprom_arm.cpp
|
||||||
PULSESSRC = pulses_arm.cpp
|
PULSESSRC = pulses_arm.cpp
|
||||||
CPPSRC += audio.cpp
|
CPPSRC += audio.cpp
|
||||||
|
@ -301,7 +296,6 @@ ifeq ($(PCB), V4)
|
||||||
CPPSRC += gruvin9x/ff.cpp
|
CPPSRC += gruvin9x/ff.cpp
|
||||||
CPPSRC += gruvin9x/diskio.cpp
|
CPPSRC += gruvin9x/diskio.cpp
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(NAVIGATION), RE1)
|
ifeq ($(NAVIGATION), RE1)
|
||||||
CPPDEFS += -DNAVIGATION_RE1
|
CPPDEFS += -DNAVIGATION_RE1
|
||||||
endif
|
endif
|
||||||
|
@ -316,6 +310,12 @@ ifeq ($(PCB), V4)
|
||||||
CPPSRC += gruvin9x/somo14d.cpp
|
CPPSRC += gruvin9x/somo14d.cpp
|
||||||
CPPDEFS += -DSOMO
|
CPPDEFS += -DSOMO
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(MOD_EXTRA_ROTARY_ENCODERS), YES)
|
||||||
|
CPPDEFS += -DMOD_EXTRA_ROTARY_ENCODERS
|
||||||
|
MODS:=${MODS}X
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PCB), STD)
|
ifeq ($(PCB), STD)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue