summaryrefslogtreecommitdiff
path: root/src/telegps-v0.1
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-29 12:13:59 -0700
committerKeith Packard <keithp@keithp.com>2013-03-29 12:13:59 -0700
commit9aeed244879f90b5b6dab1c7ca095cc001b03fe5 (patch)
tree4e8114a4b927d2117cf6a6a24dfdb5e21d38b02e /src/telegps-v0.1
parent86e1039e14304ac13db540f2ee3afd4ff170b8b4 (diff)
altos: Add temporary RF power settings
These expose the raw cc115l and rfpa0133 register settings so that we can calibrate them against measured power outputs. I've tested them to verify that they change how much power the board consumes, so they're clearly doing something... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telegps-v0.1')
-rw-r--r--src/telegps-v0.1/ao_pins.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/telegps-v0.1/ao_pins.h b/src/telegps-v0.1/ao_pins.h
index 01f4a303..09574568 100644
--- a/src/telegps-v0.1/ao_pins.h
+++ b/src/telegps-v0.1/ao_pins.h
@@ -132,6 +132,8 @@
#define AO_RADIO_CAL_DEFAULT 0x10b6a5
+#define HAS_RADIO_POWER 1
+
#define AO_FEC_DEBUG 0
#define AO_CC115L_SPI_CS_PORT (&stm_gpiob)
#define AO_CC115L_SPI_CS_PIN 12
@@ -150,7 +152,7 @@
#define AO_CC115L_MARC_GPIO 0
#define AO_CC115L_MARC_GPIO_IOCFG CC115L_IOCFG0
-#define AO_RADIO_HAS_PA 1
+#define HAS_RADIO_AMP 1
/*
* Power amplifier (RFPA0133)