Simon Hawe / D7_MLX_AND_BAT

Dependencies:   X_NUCLEO_IKS01A1 MLX90614 d7a_1x wizzi-utils

Fork of D7A_1x_demo_sensors_OS5 by WizziLab

Revision:
8:01f0225408cf
Parent:
7:8de29807f970
Child:
10:3d3dfc12f674
--- a/files.h	Thu Feb 02 17:30:47 2017 +0000
+++ b/files.h	Fri Feb 03 14:36:58 2017 +0000
@@ -5,13 +5,36 @@
 #include "d7a.h"
 
 enum {
-    ALARM_FILE_ID = 224,
+    
+    // Alarm
+    ALARM_FILE_ID       = 224,
     SIMUL_FILE_ID,
-        
-    MAG_CFG_FILE_ID = 240,
+    
+    // RFU
+    RFU_FILE_ID_226, 
+    RFU_FILE_ID_227, 
+    RFU_FILE_ID_228, 
+    RFU_FILE_ID_229, 
+
+    // New cfg
+    LIGHT_CFG_FILE_ID   = 230,
+    RFU_CFG_FILE_ID_231, 
+    RFU_CFG_FILE_ID_232, 
+    RFU_CFG_FILE_ID_233, 
+    RFU_CFG_FILE_ID_234, 
+
+    // New value
+    LIGHT_VALUE_FILE_ID = 235,
+    RFU_VALUE_FILE_ID_236, 
+    RFU_VALUE_FILE_ID_237, 
+    RFU_VALUE_FILE_ID_238, 
+    RFU_VALUE_FILE_ID_239, 
+
+    // Nucleo-64 default list
+    MAG_CFG_FILE_ID     = 240,
     ACC_CFG_FILE_ID,
     GYR_CFG_FILE_ID,
-    PRE_CFG_FILE_ID,  // 243
+    PRE_CFG_FILE_ID,   // 243
     HUM_CFG_FILE_ID,
     TEM1_CFG_FILE_ID,
     TEM2_CFG_FILE_ID,
@@ -21,7 +44,7 @@
     PRE_VALUE_FILE_ID, // 250
     HUM_VALUE_FILE_ID,
     TEM1_VALUE_FILE_ID,
-    TEM2_VALUE_FILE_ID, // 253
+    TEM2_VALUE_FILE_ID,// 253
 };
 
 #define GENERIC_FILE(name,data)         TYPEDEF_STRUCT_PACKED{\
@@ -66,6 +89,7 @@
 GENERIC_FILE(hum_cfg, sensor_config_t cfg;);
 GENERIC_FILE(tem1_cfg, sensor_config_t cfg;);
 GENERIC_FILE(tem2_cfg, sensor_config_t cfg;);
+GENERIC_FILE(light_cfg, sensor_config_t cfg;);
 
 uint32_t fs_write_file(const uint8_t file_id,
                         const uint16_t offset,