# HG changeset patch
# User heinrichsweikamp
# Date 1570363671 -7200
# Node ID 591c03a1e68d57be07ecf46f4e304fec5068be3c
# Parent  0756013e43b31ad8934f513f8bb5f7fc8fcfd096
change max. allowed surface pressure to 1030hPa (As in the small OSTC)
Change Firmware to 1.5.1
Change RTE to 2.0
Create install file for testing and release

diff -r 0756013e43b3 -r 591c03a1e68d Current build/OSTC4update_190804.bin
Binary file Current build/OSTC4update_190804.bin has changed
diff -r 0756013e43b3 -r 591c03a1e68d Current build/OSTC4update_191006.bin
Binary file Current build/OSTC4update_191006.bin has changed
diff -r 0756013e43b3 -r 591c03a1e68d Discovery/Src/settings.c
--- a/Discovery/Src/settings.c	Mon Aug 19 11:42:31 2019 +0000
+++ b/Discovery/Src/settings.c	Sun Oct 06 14:07:51 2019 +0200
@@ -55,15 +55,15 @@
 {
     .versionFirst   = 1,
     .versionSecond 	= 5,
-    .versionThird   = 0,
+    .versionThird   = 1,
     .versionBeta    = 0,
 
     /* 4 bytes with trailing 0 */
     .signature = "mh",
 
     .release_year = 19,
-    .release_month = 8,
-    .release_day = 5,
+    .release_month = 10,
+    .release_day = 6,
     .release_sub = 0,
 
     /* max 48 with trailing 0 */
diff -r 0756013e43b3 -r 591c03a1e68d Small_CPU/Src/baseCPU2.c
--- a/Small_CPU/Src/baseCPU2.c	Mon Aug 19 11:42:31 2019 +0000
+++ b/Small_CPU/Src/baseCPU2.c	Sun Oct 06 14:07:51 2019 +0200
@@ -161,8 +161,8 @@
 // SHALL LOAD AT 0x08000000 + 0x00005000 = 0x08005000.
 // See CPU2-RTE.ld
 const SFirmwareData cpu2_FirmwareData __attribute__(( section(".firmware_data") ))= {
-		.versionFirst = 1,
-		.versionSecond = 9,
+		.versionFirst = 2,
+		.versionSecond = 0,
 		.versionThird = 0,
 		.versionBeta = 0,
 
@@ -170,8 +170,8 @@
 		.signature = "mh",
 
 		.release_year = 19,
-		.release_month = 8,
-		.release_day = 5,
+		.release_month = 10,
+		.release_day = 6,
 		.release_sub = 0,
 
 		/* max 48 with trailing 0 */
diff -r 0756013e43b3 -r 591c03a1e68d Small_CPU/Src/pressure.c
--- a/Small_CPU/Src/pressure.c	Mon Aug 19 11:42:31 2019 +0000
+++ b/Small_CPU/Src/pressure.c	Sun Oct 06 14:07:51 2019 +0200
@@ -46,7 +46,7 @@
 #define CMD_ADC_4096 0x08 // ADC OSR=4096
 #define CMD_PROM_RD 0xA0 // Prom read command
 
-#define PRESSURE_SURFACE_MAX_MBAR		(1070.0f)		/* It is very unlikely that pressure at surface is greater than this value => clip to it */
+#define PRESSURE_SURFACE_MAX_MBAR		(1030.0f)		/* It is unlikely that pressure at surface is greater than this value => clip to it */
 #define PRESSURE_HISTORY_SIZE			(8u)
 #define PRESSURE_JUMP_VALID_MBAR	    (500.0f)		/* values are measure several times a second => jumps > 5m very unlikely */