Compilation should be ok now

PORTH_TIMING option now included in DEBUG=YES
This commit is contained in:
bsongis
2012-11-01 06:58:22 +00:00
parent c71ee46e5f
commit d02ef1b603
4 changed files with 14 additions and 28 deletions
+6 -18
View File
@@ -179,7 +179,10 @@ EEPROM_PROGRESS_BAR = NO
# Values = YES, NO
EXTRA_ROTARY_ENCODERS = NO
# DEBUG mode
# Activates the DEBUG Mode (all boards)
# On G9X V4 board, when VOICE=NO:
# PORTH:7 --> Transistion LOW to HIGH = start of setupPulses(). Transistion HIGH to LOW = end of setupPulses().
# PORTH:6 --> LOW->HIGH = start of mixer calcs. HIGH->LOW, end of mixer calcs.
DEBUG = NO
# Flight Phases
@@ -198,17 +201,6 @@ XCURVES = YES
# Values = YES, NO
GVARS = NO
#------- TIMING DEBUG OPTIONS ------------------------
# Enable debug code to output signals on PORTH for logic analyser timing analysis
# G9X V4 board only. **WARNING** Not compatible with TX_CADDY=YES or SOMO14 (VOICE=YES)
#
# PORTH:7 --> Transistion LOW to HIGH = start of setupPulses(). Transistion HIGH to LOW = end of setupPulses().
# PORTH:6 --> LOW->HIGH = start of mixer calcs. HIGH->LOW, end of mixer calcs.
#
# Values = YES, NO
PORTH_TIMING=YES
#------- END BUILD OPTIONS ---------------------------
# Define programs and commands.
@@ -435,8 +427,8 @@ ifeq ($(DEBUG), YES)
CPPDEFS += -DDEBUG
endif
ifeq ($(PORTH_TIMING), YES)
CPPDEFS += -DPORTH_TIMING
ifeq ($(EEPROM_PROGRESS_BAR), YES)
CPPDEFS += -DEEPROM_PROGRESS_BAR
endif
ifeq ($(SDCARD), YES)
@@ -539,10 +531,6 @@ ifeq ($(PCB), GRUVIN9X)
ifeq ($(EXTRA_ROTARY_ENCODERS), YES)
CPPDEFS += -DEXTRA_ROTARY_ENCODERS
endif
ifeq ($(EEPROM_PROGRESS_BAR), YES)
CPPDEFS += -DEEPROM_PROGRESS_BAR
endif
endif
ifeq ($(PCB), STD128)