Skip to content

Commit 7f43251

Browse files
committed
modified: arc_design_contest/2019/HUST_electrical_load_identification/appl_mem_config.h
modified: arc_design_contest/2019/HUST_electrical_load_identification/input_buffer.c modified: arc_design_contest/2019/HUST_electrical_load_identification/input_buffer.h modified: arc_design_contest/2019/HUST_electrical_load_identification/makefile modified: arc_design_contest/2019/HUST_electrical_load_identification/model/load_identification_coefficients.c modified: arc_design_contest/2019/HUST_electrical_load_identification/model/load_identification_model.c modified: arc_design_contest/2019/HUST_electrical_load_identification/oled_display.h modified: arc_design_contest/2019/HUST_electrical_load_identification/process.c modified: arc_design_contest/2019/HUST_electrical_load_identification/process.h modified: arc_design_contest/2019/HUST_electrical_load_identification/ssd1306_app_config.h
1 parent e8bf31b commit 7f43251

File tree

10 files changed

+7
-43
lines changed

10 files changed

+7
-43
lines changed

arc_design_contest/2019/HUST_electrical_load_identification/appl_mem_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#define REGION_MLI_XDATA REGION_XCCM
1313
#define REGION_MLI_YDATA REGION_YCCM
1414

15-
#endif /* _APPL_MEM_CONFIG_H_ */
15+
#endif /* _APPL_MEM_CONFIG_H_ */

arc_design_contest/2019/HUST_electrical_load_identification/input_buffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ void input_buffer_push_data(float* data)
5353

5454

5555

56+

arc_design_contest/2019/HUST_electrical_load_identification/input_buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ extern uint8_t one_frame_finish_flag;
4040

4141
extern void input_buffer_push_data(float *data);
4242

43-
#endif /* _INPUT_BUFFER_H_ */
43+
#endif /* _INPUT_BUFFER_H_ */

arc_design_contest/2019/HUST_electrical_load_identification/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OLEVEL = O0
1717
#
1818
# root dir of embARC
1919
#
20-
EMBARC_ROOT = ../../
20+
EMBARC_ROOT = ../../../..
2121

2222
# use -Hpurge option to optimize the code size
2323
ifeq ($(TOOLCHAIN), gnu)

arc_design_contest/2019/HUST_electrical_load_identification/model/load_identification_coefficients.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ const w_type _W2 L3_fc_wt_buf[FC3_W_ELEMENTS] = {
5757
const w_type _W2 L3_fc_bias_buf[FC3_B_ELEMENTS] = {
5858
L3_BQ(0.110076368),L3_BQ(0.099999987),L3_BQ(0.100000001),L3_BQ(0.089923650),L3_BQ(0.100000001),L3_BQ(0.100000001)\
5959
};
60-

arc_design_contest/2019/HUST_electrical_load_identification/model/load_identification_model.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,3 @@ static inline mli_status fully_connected(
358358
return mli_krn_fully_connected_fx8w16d(in, weights, bias, out);
359359
}
360360
#endif
361-

arc_design_contest/2019/HUST_electrical_load_identification/oled_display.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@ void display_result(u8g_t *u8g_t, uint8_t res);
1414

1515

1616

17-
18-
19-
20-
#endif
17+
#endif

arc_design_contest/2019/HUST_electrical_load_identification/process.c

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -136,35 +136,3 @@ RESULT Cnn_Net_Classify(void){
136136

137137
return get_result(pred_data,output_elements);
138138
}
139-
140-
141-
142-
143-
144-
145-
146-
147-
148-
149-
150-
151-
152-
153-
154-
155-
156-
157-
158-
159-
160-
161-
162-
163-
164-
165-
166-
167-
168-
169-
170-

arc_design_contest/2019/HUST_electrical_load_identification/process.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ extern RESULT Cnn_Net_Classify(void);
5151

5252

5353

54-
#endif /* _PREPROCESS_H_ */
54+
#endif /* _PREPROCESS_H_ */

arc_design_contest/2019/HUST_electrical_load_identification/ssd1306_app_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
#define SSD1306_I2C_ID DFSS_IIC_0_ID
3939
#define SSD1306_RST_GPIO DFSS_GPIO_4B2_ID
4040
#define SSD1306_RST_PIN 0
41-
#endif /* _SSD1306_APP_CONFIG_H_ */
41+
#endif /* _SSD1306_APP_CONFIG_H_ */

0 commit comments

Comments
 (0)