summaryrefslogtreecommitdiff
path: root/src/telebt-v3.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-19 16:00:24 -0700
committerKeith Packard <keithp@keithp.com>2017-04-19 16:00:24 -0700
commit93983730a6628a2a85b6fc543df236b35d501ee9 (patch)
treea074d0bfbb9c3cddf1a7cb498f6ac9de940964ef /src/telebt-v3.0
parent944d8466a31842c34304b77364d632e259238018 (diff)
altos/telebt-v3.0: Add LCO bits for testing
Add the USB commands for LCO testing to TeleBT v3.0 Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telebt-v3.0')
-rw-r--r--src/telebt-v3.0/Makefile7
-rw-r--r--src/telebt-v3.0/ao_pins.h1
-rw-r--r--src/telebt-v3.0/ao_telebt.c3
3 files changed, 10 insertions, 1 deletions
diff --git a/src/telebt-v3.0/Makefile b/src/telebt-v3.0/Makefile
index a7ef4d64..40d1f6e4 100644
--- a/src/telebt-v3.0/Makefile
+++ b/src/telebt-v3.0/Makefile
@@ -58,7 +58,12 @@ ALTOS_SRC = \
ao_monitor.c \
$(PROFILE) \
$(SAMPLE_PROFILE) \
- $(STACK_GUARD)
+ $(STACK_GUARD) \
+ ao_lco_func.c \
+ ao_radio_cmac.c \
+ ao_aes.c \
+ ao_aes_tables.c \
+ ao_lco_cmd.c
PRODUCT=TeleBT-v3.0
PRODUCT_DEF=-DTELEBT_V_3_0
diff --git a/src/telebt-v3.0/ao_pins.h b/src/telebt-v3.0/ao_pins.h
index 1f7af41b..62dddf2a 100644
--- a/src/telebt-v3.0/ao_pins.h
+++ b/src/telebt-v3.0/ao_pins.h
@@ -80,6 +80,7 @@
#define HAS_TELEMETRY 0
#define HAS_APRS 0
#define HAS_ACCEL 0
+#define HAS_AES 1
#define HAS_SPI_1 1
#define SPI_1_PA5_PA6_PA7 1 /* CC1200 */
diff --git a/src/telebt-v3.0/ao_telebt.c b/src/telebt-v3.0/ao_telebt.c
index 9117863b..8775d993 100644
--- a/src/telebt-v3.0/ao_telebt.c
+++ b/src/telebt-v3.0/ao_telebt.c
@@ -22,6 +22,7 @@
#include <ao_eeprom.h>
#include <ao_profile.h>
#include <ao_btm.h>
+#include <ao_lco_cmd.h>
#if HAS_SAMPLE_PROFILE
#include <ao_sample_profile.h>
#endif
@@ -44,6 +45,8 @@ main(void)
ao_btm_init();
ao_cmd_init();
+ ao_lco_cmd_init();
+
ao_eeprom_init();
ao_usb_init();