HSP Platform firmware evaluating ECG data and hearth rate over PPG data.
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
Revision 4:682a4ebb995a, committed 2021-03-25
- Comitter:
- phonemacro
- Date:
- Thu Mar 25 21:59:17 2021 +0000
- Parent:
- 3:2fe2ff1ca0dc
- Commit message:
- fix compile errors from mbed OS changes.
Changed in this revision
--- a/Drivers/Adafruit_FeatherOLED.lib Mon Jul 29 10:26:58 2019 +0300 +++ b/Drivers/Adafruit_FeatherOLED.lib Thu Mar 25 21:59:17 2021 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/switches/code/Adafruit_FeatherOLED/#a267f00528be +https://developer.mbed.org/users/switches/code/Adafruit_FeatherOLED/#a267f00528be
--- a/Drivers/USBDevice.lib Mon Jul 29 10:26:58 2019 +0300 +++ b/Drivers/USBDevice.lib Thu Mar 25 21:59:17 2021 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/MaximIntegrated/code/USBDevice/#dad310740b28 +https://developer.mbed.org/teams/MaximIntegrated/code/USBDevice/#dad310740b28
--- a/Interfaces/DeviceStudio/DSInterface.cpp Mon Jul 29 10:26:58 2019 +0300 +++ b/Interfaces/DeviceStudio/DSInterface.cpp Thu Mar 25 21:59:17 2021 +0000 @@ -125,6 +125,8 @@ silent_mode = false; pause_mode = false; + algo_report_mode = 1; // sets the mode for report 1/2 + lcd_time_count = 0; memset(sensor_list, 0, DS_MAX_NUM_SENSORCOMMS * sizeof(SensorComm*)); num_sensors = 0;
--- a/Interfaces/DeviceStudio/DSInterface.h Mon Jul 29 10:26:58 2019 +0300
+++ b/Interfaces/DeviceStudio/DSInterface.h Thu Mar 25 21:59:17 2021 +0000
@@ -143,7 +143,7 @@
void stopcommand();
void parse_command_str(const char* cmd );
- uint8_t algo_report_mode = 1; // sets the mode for report 1/2
+ uint8_t algo_report_mode; // sets the mode for report 1/2
// FATFileSystem *logfilesystem;
@@ -188,7 +188,7 @@
bool silent_mode;
bool pause_mode;
char lcd_time_str[30];
- int lcd_time_count=0;
+ int lcd_time_count;
int lcd_time_val;
//buffer to hold string that will be written into the log file
--- a/Platforms/max32630fthr.lib Mon Jul 29 10:26:58 2019 +0300 +++ b/Platforms/max32630fthr.lib Thu Mar 25 21:59:17 2021 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/MaximIntegrated/code/max32630fthr/#9eb360063579 +http://developer.mbed.org/teams/MaximIntegrated/code/max32630fthr/#9eb360063579
--- a/main.cpp Mon Jul 29 10:26:58 2019 +0300
+++ b/main.cpp Thu Mar 25 21:59:17 2021 +0000
@@ -233,6 +233,7 @@
microUSB.printf("micro USB serial port\r\n");
//dsInterface.set_fw_version(FIRMWARE_VERSION);
+#define MAXIM_PLATFORM_NAME "Pegasus"
dsInterface.set_fw_platform(MAXIM_PLATFORM_NAME);
Peripherals::setUSBSerial(µUSB);