comparison 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
comparison
equal deleted inserted replaced
266:160a5b3a076c 267:10b3a6876273
232 #define RF_SER_OFF 0 232 #define RF_SER_OFF 0
233 233
234 #define TEST_TX_ON 0 234 #define TEST_TX_ON 0
235 #define TEST_RX_ON 0 235 #define TEST_RX_ON 0
236 236
237 #if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_ESAMPLE) || \ 237 #ifdef CONFIG_TARGET_LEO_RFFE
238 defined(CONFIG_TARGET_TANGO)
239 238
240 // 4-band config (E-sample, P2, Leonardo) 239 // 4-band config (E-sample, P2, Leonardo)
241 #define FEM_7 BIT_2 // act2 240 #define FEM_7 BIT_2 // act2
242 #define FEM_8 BIT_1 // act1 241 #define FEM_8 BIT_1 // act1
243 #define FEM_9 BIT_4 // act4 242 #define FEM_9 BIT_4 // act4