Browse Source

1、增加浪潮96项目配置

liyuezong 1 year ago
parent
commit
7e9a154414
3 changed files with 22 additions and 2 deletions
  1. BIN
      cust_data/logo/upulsepower.png
  2. 17 1
      pro/config/cfg.h
  3. 5 1
      pub

BIN
cust_data/logo/upulsepower.png


+ 17 - 1
pro/config/cfg.h

@@ -17,6 +17,7 @@
 //#define PRJ_LITECH_AC_I1_O1
 //#define PRJ_LITECH_AC_I3_O1
 //#define PRJ_INSPUR_DC_I_DC_O
+#define PRJ_INSPUR_DC_I_DC_O_NEW_96
 //#define PRJ_ANDERSON_AC_I3_O3
 //#define PRJ_HYPERTEC_AC_I3_O1
 //#define PRJ_SG_I3_O3
@@ -24,7 +25,7 @@
 //#define PRJ_TEST_AC_I1_O1
 //#define PRJ_TEST_AC_I3_O1
 //#define PRJ_GOWONE_125A_AC_I3_O1
-#define PRJ_Malaysia_AC_I3_O1
+//#define PRJ_Malaysia_AC_I3_O1
 //#define PRJ_TEST_AC_I3_O3
 //#define PRJ_ESOUTH_DC_I1_O4_RGB5
 
@@ -193,6 +194,21 @@
     #define CHANNEL_DELAY                       6
 
     #define PROD_POWER_TYPE                     1
+#elif defined PRJ_INSPUR_DC_I_DC_O_NEW_96
+    #define LANGUAGE                            0           //chinese
+    #define SMPLE_TIME                          30          //ms
+    #define SAVE_TIME                           600000       //ms
+    #define CASCADE_CNT                         0
+
+    #define PHASE_GROUP                         24
+    #define CHANNEL_DELAY                       24
+
+    #define PROD_POWER_TYPE                     1
+
+    #define USE_WATCHDOG
+
+    #define BRD_MAX                             15
+
 #elif defined PRJ_SG_I3_O3
     #define LANGUAGE                            0           //chinese
     #define SMPLE_TIME                          30          //ms

+ 5 - 1
pub

@@ -9,6 +9,7 @@
 #PRJS="PRJ_USASL_AC_I3_O3"
 #PRJS="PRJ_HYPERTEC_AC_I3_O1"
 #PRJS="PRJ_INSPUR_DC_I_DC_O"
+PRJS="PRJ_INSPUR_DC_I_DC_O_NEW_96"
 #PRJS="PRJ_RELEASE_DC_I_DC_O"
 #PRJS="PRJ_RELEASE_AC_I1_O1"
 #PRJS="PRJ_RELEASE_AC_I3_O1"
@@ -18,7 +19,7 @@
 #PRJS="PRJ_SG_I3_O3"
 #PRJS="PRJ_ESOUTH_DC_I1_O4_RGB5"
 #PRJS="PRJ_TEST"
-PRJS="PRJ_TEST_AC_I1_O1"
+#PRJS="PRJ_TEST_AC_I1_O1"
 #PRJS="PRJ_TEST_AC_I3_O1"
 #PRJS="PRJ_TEST_AC_I3_O3"
 #PRJS="PRJ_INST2302_DC_OLED"
@@ -141,6 +142,9 @@ function do_copy()
         cp -f $custdir/logo/logo_hypertec.png $appdir/image/logo.png
     elif [ "$1" = "PRJ_INSPUR_DC_I_DC_O" ]; then
         name=dc_in1_out1_inspur
+    elif [ "$1" = "PRJ_INSPUR_DC_I_DC_O_NEW_96" ]; then
+        name=dc_in1_out1_inspur_new_96
+	cp -f $custdir/logo/upulsepower.png $appdir/image/logo.png
     elif [ "$1" = "PRJ_STSC_I3_O3" ]; then
         name=ac_in3_out3_stsc
     elif [ "$1" = "PRJ_SG_I3_O3" ]; then