altos/telebt-v3.0: Add LCO bits for testing
authorKeith Packard <keithp@keithp.com>
Wed, 19 Apr 2017 23:00:24 +0000 (16:00 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 19 Apr 2017 23:00:24 +0000 (16:00 -0700)
Add the USB commands for LCO testing to TeleBT v3.0

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telebt-v3.0/Makefile
src/telebt-v3.0/ao_pins.h
src/telebt-v3.0/ao_telebt.c

index a7ef4d64bef9e5e9f4b8843870ae0e603246c9ff..40d1f6e472dc9bf2958f42948a56b0d98ec635dc 100644 (file)
@@ -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
index 1f7af41bd2e983e4c28cbae05da00992542b8207..62dddf2a2f8fa7da5ab1acfe9716aaa48196f97a 100644 (file)
@@ -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 */
index 9117863bfa4f86772218c639374de451ea4dc60b..8775d99380312ea92e779bcfd61cbb15ff0c8613 100644 (file)
@@ -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();