From 673001ec153931652201244ce9c82f96af353462 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Wed, 18 Feb 2015 21:06:08 +0100 Subject: [PATCH] Re #1937: added TARANIS_INTERNAL_PPM option to Makefile (this change was not ported from master in commit 76937ea566ca3236c41fe7588107d362b5848317) --- radio/src/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/radio/src/Makefile b/radio/src/Makefile index 6ad838ec2..02d848de0 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -335,6 +335,12 @@ TRACE_AUDIO = NO # Values = NO, YES LCD_DUAL_BUFFER = NO +# Enable internal module PPM mode for Taranis +# Notice: enabling this only enable code in the driver, +# the menu selection is still not possible. +# Values = NO, YES +TARANIS_INTERNAL_PPM = NO + #------- END BUILD OPTIONS --------------------------- # Define programs and commands. @@ -811,6 +817,9 @@ ifeq ($(PCB), TARANIS) ifeq ($(DEBUG_TRACE_BUFFER), YES) CPPDEFS += -DDEBUG_TRACE_BUFFER endif + ifeq ($(TARANIS_INTERNAL_PPM), YES) + CPPDEFS += -DTARANIS_INTERNAL_PPM + endif LDSCRIPT = targets/taranis/stm32_flash_bl.ld TRGT = arm-none-eabi- MCU = cortex-m3