From 4e5608ef7215da7a83ec73cad187d62030e9f5e8 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Fri, 18 May 2018 15:14:08 +0100 Subject: [PATCH] Allow easy-switch between tag versions for the cc26xx-web-demo --- .../cc26xx/cc26xx-web-demo/project-conf.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/platform-specific/cc26xx/cc26xx-web-demo/project-conf.h b/examples/platform-specific/cc26xx/cc26xx-web-demo/project-conf.h index ccd0bf8fb..36114eeb7 100644 --- a/examples/platform-specific/cc26xx/cc26xx-web-demo/project-conf.h +++ b/examples/platform-specific/cc26xx/cc26xx-web-demo/project-conf.h @@ -53,6 +53,16 @@ */ #define CC26XX_WEB_DEMO_CONF_ADC_DEMO 0 /*---------------------------------------------------------------------------*/ +/* + * Change to 1 if you are using an older CC2650 Sensortag (look for Rev: 1.2 + * printed on the PCB, or for a sticker reading "HW Rev 1.2.0"). + * + * This may be the case if you are getting this error: + * "Could not open flash to load config" + * when your sensortag is starting up. + */ +#define SENSORTAG_CC2650_REV_1_2_0 0 +/*---------------------------------------------------------------------------*/ /* Enable the ROM bootloader */ #define ROM_BOOTLOADER_ENABLE 1 /*---------------------------------------------------------------------------*/