diff src/cs/layer1/tpu_drivers/source0/tpudrv12.h @ 267:10b3a6876273

fc-target.h preprocessor symbols: introduce CONFIG_TARGET_LEO_RFFE Out of our currently existing supported targets, Leonardo and Tango use TI's classic Leonardo RFFE wiring. However, we would like to use the same quadband RFFE with the same classic wiring on our FreeCalypso Libre Dumbphone handset, and also on the planned development board that will serve as a stepping stone toward that goal. Therefore, we introduce the new CONFIG_TARGET_LEO_RFFE preprocessor symbol, and conditionalize on this symbol in tpudrv12.h, instead of a growing || of different targets.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 09 Jun 2021 07:26:51 +0000
parents 4e78acac3d88
children
line wrap: on
line diff
--- a/src/cs/layer1/tpu_drivers/source0/tpudrv12.h	Wed Jun 02 02:12:14 2021 +0000
+++ b/src/cs/layer1/tpu_drivers/source0/tpudrv12.h	Wed Jun 09 07:26:51 2021 +0000
@@ -234,8 +234,7 @@
 #define TEST_TX_ON    0
 #define TEST_RX_ON    0
 
-#if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_ESAMPLE) || \
-	defined(CONFIG_TARGET_TANGO)
+#ifdef CONFIG_TARGET_LEO_RFFE
 
   // 4-band config (E-sample, P2, Leonardo)
   #define FEM_7         BIT_2     // act2