Diff of /e_w_routines.c [57cb8e] .. [8e00c4]  Maximize  Restore

Switch to side-by-side view

--- a/e_w_routines.c
+++ b/e_w_routines.c
@@ -1,10 +1,7 @@
 #include "e_w_routines.h"
 
-
-
-
 int e_w_routine_32k_1_3_size = 304;
-uint8_t e_w_routine_32k_1_3_data[] = {
+char e_w_routine_32k_1_3_data[] = {
 0x5f,0x3f,0x90,0x3f,0x96,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x65,0xb6,0x90,0xe7,
 0x00,0x5c,0x4c,0xb7,0x90,0xa1,0x21,0x26,0xf1,0xa6,0x20,0xb7,0x88,0x5f,0x3f,0x90,
 0xe6,0x00,0xa1,0x20,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x0c,0x3f,0x8a,0xae,
@@ -27,7 +24,7 @@
 };
 
 int e_w_routine_32k_1_2_size = 304;
-uint8_t e_w_routine_32k_1_2_data[] = {
+char e_w_routine_32k_1_2_data[] = {
 0x5f,0x3f,0x90,0x3f,0x97,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x6d,0xb6,0x90,0xe7,
 0x00,0x5c,0x4c,0xb7,0x90,0xa1,0x21,0x26,0xf1,0xa6,0x20,0xb7,0x88,0x5f,0x3f,0x90,
 0xe6,0x00,0xa1,0x20,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x0c,0x3f,0x8a,0xae,
@@ -50,7 +47,7 @@
 };
 
 int e_w_routine_32k_1_0_size = 212;
-uint8_t e_w_routine_32k_1_0_data[] = {
+char e_w_routine_32k_1_0_data[] = {
 0x5f,0x3f,0x90,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x5f,0xb6,0x90,0xe7,0x00,0x5c,
 0x4c,0xb7,0x90,0xa1,0x21,0x26,0xf1,0xa6,0x20,0xb7,0x88,0x5f,0x3f,0x90,0xe6,0x00,
 0xa1,0x20,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x0c,0x3f,0x8a,0xae,0x00,0x80,
@@ -68,7 +65,7 @@
 };
 
 int e_w_routine_128k_2_0_size = 263;
-uint8_t e_w_routine_128k_2_0_data[] = {
+char e_w_routine_128k_2_0_data[] = {
 0x5f,0x3f,0x90,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x87,0xb6,0x90,0xe7,0x00,0x5c,
 0x4c,0xb7,0x90,0xa1,0x82,0x26,0xf1,0xa6,0x81,0xb7,0x88,0x5f,0x3f,0x90,0xe6,0x00,
 0xa1,0x80,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x3f,0xa1,0x81,0x26,0x07,0x3f,
@@ -89,7 +86,7 @@
 };
 
 int e_w_routine_128k_2_1_size = 352;
-uint8_t e_w_routine_128k_2_1_data[] = {
+char e_w_routine_128k_2_1_data[] = {
 0x5f,0x3f,0x90,0x3f,0x9c,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x8c,0xb6,0x90,0xe7,
 0x00,0x5c,0x4c,0xb7,0x90,0xa1,0x82,0x26,0xf1,0xa6,0x81,0xb7,0x88,0x5f,0x3f,0x90,
 0xe6,0x00,0xa1,0x80,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x3d,0xa1,0x81,0x26,
@@ -115,7 +112,7 @@
 };
 
 int e_w_routine_128k_2_2_size = 352;
-uint8_t e_w_routine_128k_2_2_data[] = {
+char e_w_routine_128k_2_2_data[] = {
 0x5f,0x3f,0x90,0x3f,0x9b,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x8a,0xb6,0x90,0xe7,
 0x00,0x5c,0x4c,0xb7,0x90,0xa1,0x82,0x26,0xf1,0xa6,0x81,0xb7,0x88,0x5f,0x3f,0x90,
 0xe6,0x00,0xa1,0x80,0x26,0x07,0x3f,0x8a,0xae,0x40,0x00,0x20,0x3d,0xa1,0x81,0x26,
@@ -142,7 +139,7 @@
 
 
 int e_w_routine_256k_1_0_size = 305;
-uint8_t e_w_routine_256k_1_0_data[] = {
+char e_w_routine_256k_1_0_data[] = {
 0x5f,0x3f,0x90,0x72,0x09,0x00,0x8e,0x16,0xcd,0x60,0x97,0xb6,0x90,0xe7,0x00,0x5c,
 0x4c,0xb7,0x90,0xa1,0x82,0x26,0xf1,0xa6,0x81,0xb7,0x88,0x5f,0x3f,0x90,0xe6,0x00,
 0xa1,0x80,0x26,0x07,0x3f,0x8a,0xae,0x38,0x00,0x20,0x68,0xa1,0x81,0x26,0x07,0x3f,
@@ -165,16 +162,14 @@
 0x81
 };
 
-E_W_ROUTINES e_w_routines[E_W_ROUTINES_NUM] = {
-	{ 32, 0x10, &e_w_routine_32k_1_0_size, e_w_routine_32k_1_0_data },
-	{ 32, 0x12, &e_w_routine_32k_1_2_size, e_w_routine_32k_1_2_data },
-	{ 32, 0x13, &e_w_routine_32k_1_3_size, e_w_routine_32k_1_3_data },
-	{ 128, 0x20, &e_w_routine_128k_2_0_size, e_w_routine_128k_2_0_data },
-	{ 128, 0x21, &e_w_routine_128k_2_1_size, e_w_routine_128k_2_1_data },
-	{ 128, 0x22, &e_w_routine_128k_2_2_size, e_w_routine_128k_2_2_data },
-
-//Bootloader-Version collides with 32k 1_0 !?
-//	{ 256, 0x10, &e_w_routine_256k_1_0_size, e_w_routine_256k_1_0_data }
+E_W_ROUTINES e_w_routines[] = {
+	{ 32, 10, &e_w_routine_32k_1_0_size, &e_w_routine_32k_1_0_data },
+	{ 32, 12, &e_w_routine_32k_1_2_size, &e_w_routine_32k_1_2_data },
+	{ 32, 13, &e_w_routine_32k_1_3_size, &e_w_routine_32k_1_3_data },
+	{ 128, 20, &e_w_routine_128k_2_0_size, &e_w_routine_128k_2_0_data },
+	{ 128, 21, &e_w_routine_128k_2_1_size, &e_w_routine_128k_2_1_data },
+	{ 128, 22, &e_w_routine_128k_2_2_size, &e_w_routine_128k_2_2_data },
+	{ 256, 10, &e_w_routine_256k_1_0_size, &e_w_routine_256k_1_0_data }
 };
 
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks