Skip to content

Commit 532dc48

Browse files
committed
arc_design_contest: 2019: fix compile error
modify embarc root path, fix compile error. Signed-off-by: Watson Zeng <[email protected]>
1 parent bbe85d2 commit 532dc48

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

arc_design_contest/2019/HUST_SoundSnake/src/mfcc.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <stdio.h>
55
#include "FFT.h"
66

7+
#define M_PI 3.14159265358979323846
8+
79
static inline float MelScale(float freq)
810
{
911
return 1127.0f * logf (1.0f + freq / 700.0f);

arc_design_contest/2019/NCKU_New_Vision_World/ARC/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BOARD=iotdk
77
#
88
# root dir of embARC
99
#
10-
EMBARC_ROOT = ../../..
10+
EMBARC_ROOT = ../../../../..
1111

1212
MID_SEL = common
1313

arc_design_contest/2019/NTU_iRobot/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TOOLCHAIN = gnu
55

66
APPL_DEFINES = -DUSE_APPL_MEM_CONFIG -DV2DSP_XY -DMODEL_BIT_DEPTH=8
77
# root dir of embARC
8-
EMBARC_ROOT = ../../..
8+
EMBARC_ROOT = ../../../..
99

1010
LIB_SEL = embarc_mli
1111
MID_SEL = common

arc_design_contest/2019/UET_SmartFireFighter/src/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ JTAG ?= usb
2020
#
2121
# root dir of embARC
2222
#
23-
EMBARC_ROOT = ../../../../
23+
EMBARC_ROOT = ../../../../..
2424
MID_SEL = common u8glib
2525

2626

arc_design_contest/2019/XDU_iWheelchair/src/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DEV_INCDIR += $(EMBARC_ROOT)/device/peripheral/adc/ad7991
1212
#
1313
# root dir of embARC
1414
#
15-
EMBARC_ROOT = ../../..
15+
EMBARC_ROOT = ../../../../..
1616

1717
MID_SEL = common
1818

0 commit comments

Comments
 (0)