Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A1 MLX90614 d7a_1x wizzi-utils
Fork of D7A_1x_demo_sensors_OS5 by
Diff: files.h
- Revision:
- 10:3d3dfc12f674
- Parent:
- 8:01f0225408cf
diff -r 25180d6a4c3a -r 3d3dfc12f674 files.h
--- a/files.h Mon Feb 06 10:05:25 2017 +0000
+++ b/files.h Fri Feb 17 12:53:06 2017 +0000
@@ -5,7 +5,6 @@
#include "d7a.h"
enum {
-
// Alarm
ALARM_FILE_ID = 224,
SIMUL_FILE_ID,
@@ -18,14 +17,14 @@
// New cfg
LIGHT_CFG_FILE_ID = 230,
- RFU_CFG_FILE_ID_231,
+ VOLT_CFG_FILE_ID,
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,
+ VOLT_VALUE_FILE_ID,
RFU_VALUE_FILE_ID_237,
RFU_VALUE_FILE_ID_238,
RFU_VALUE_FILE_ID_239,
@@ -82,14 +81,8 @@
// Firmware revision for the Dash7board
GENERIC_FILE(dev_rev, d7a_revision_t rev;);
GENERIC_FILE(simul, uint32_t divider;);
-GENERIC_FILE(mag_cfg, sensor_config_t cfg;);
-GENERIC_FILE(acc_cfg, sensor_config_t cfg;);
-GENERIC_FILE(gyr_cfg, sensor_config_t cfg;);
-GENERIC_FILE(pre_cfg, sensor_config_t cfg;);
-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;);
+GENERIC_FILE(volt_cfg, sensor_config_t cfg;);
uint32_t fs_write_file(const uint8_t file_id,
const uint16_t offset,
