From 01d6d4f39a0ba19d91353c5bf041689767776521 Mon Sep 17 00:00:00 2001 From: Sam Kent Date: Thu, 27 Sep 2018 12:12:01 +0100 Subject: [PATCH] Added Yotta Glue --- inc/platform/yotta_cfg_mappings.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/platform/yotta_cfg_mappings.h b/inc/platform/yotta_cfg_mappings.h index 816ddef..08ef57f 100644 --- a/inc/platform/yotta_cfg_mappings.h +++ b/inc/platform/yotta_cfg_mappings.h @@ -107,6 +107,18 @@ #define MICROBIT_SD_GATT_TABLE_START YOTTA_CFG_MICROBIT_DAL_GATT_TABLE_START #endif +// Radio Mappings +#ifdef YOTTA_CFG_MICROBIT_DAL_RADIO_DEFAULT_FREQUENCY + #define MICROBIT_RADIO_DEFAULT_FREQUENCY YOTTA_CFG_MICROBIT_DAL_RADIO_DEFAULT_FREQUENCY +#endif + +#ifdef YOTTA_CFG_MICROBIT_DAL_RADIO_LOWER_FREQ_BAND + #define MICROBIT_RADIO_LOWER_FREQ_BAND YOTTA_CFG_MICROBIT_DAL_RADIO_LOWER_FREQ_BAND +#endif + +#ifdef YOTTA_CFG_MICROBIT_DAL_RADIO_UPPER_FREQ_BAND + #define MICROBIT_RADIO_UPPER_FREQ_BAND YOTTA_CFG_MICROBIT_DAL_RADIO_UPPER_FREQ_BAND +#endif //Bluetooth mappings #ifdef YOTTA_CFG_MICROBIT_DAL_BLUETOOTH_PAIRING_MODE