chenlh
2025-09-18 ab07ada908b82340e7acd899e85a9802cf8a9057
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//#ifndef CORE_CONFIG_H_
//#define CORE_CONFIG_H_
 
//#pragma once
 
#include "../drv/board.h"
 
//È«¾Öºê¶¨Òå.
#define MP_OFFSET  0x28000000
#define SPI_BUFFER_SIZE (1024)
 
//#define SAMPLE_RATE 48000
//process block sample size.
//extern unsigned int SAMPLE_RATE;
//extern unsigned int SAMPLE_NUM;
 
//f2f.c use physical input & output
#define PHY_INPUT_NUM 64
#define PHY_OUTPUT_NUM 64
 
#define LEVEL_REPORT_TIME(x) \
        (x*SAMPLE_RATE/(1000*SAMPLE_NUM))
 
 
//#endif