fixed angle and cos generation. Problem was in diffrent declaration of DATA_L and other defines in different files. Solution: fixed include tree
This commit is contained in:
@ -38,8 +38,8 @@
|
||||
//*/
|
||||
|
||||
#include "FFT_FP_realisation.h"
|
||||
volatile int64_t twiddle_re[TWIDDLE_L] __attribute__((section(".sdram_noinit")));
|
||||
volatile int64_t twiddle_im[TWIDDLE_L] __attribute__((section(".sdram_noinit")));
|
||||
int64_t twiddle_re[TWIDDLE_L] __attribute__((section(".sdram_noinit")));
|
||||
int64_t twiddle_im[TWIDDLE_L] __attribute__((section(".sdram_noinit")));
|
||||
|
||||
|
||||
volatile uint32_t TX_buff[TX_BUFF_SIZE] __attribute__((section(".sdram_noinit")));
|
||||
|
||||
@ -9,12 +9,32 @@
|
||||
пользователем для написания своих алгоритмов обработки данных и реализации
|
||||
пользовательских команд.
|
||||
******************************************************************************/
|
||||
#define FFT_INP_DATA_L (1<<10)
|
||||
#include "l502_cmd.h"
|
||||
#ifndef L502_USER_PROCESS_H_
|
||||
#define L502_USER_PROCESS_H_
|
||||
|
||||
#ifndef FFT_FP_EXTERNAL_TWIDDLES
|
||||
#define FFT_FP_EXTERNAL_TWIDDLES 1
|
||||
#endif
|
||||
#ifndef FFT_INP_DATA_L
|
||||
#define FFT_INP_DATA_L (1 << 10)
|
||||
#endif
|
||||
#ifndef DATA_L
|
||||
#define DATA_L FFT_INP_DATA_L
|
||||
#endif
|
||||
#ifndef TWIDDLE_L
|
||||
#define TWIDDLE_L (DATA_L / 2)
|
||||
#endif
|
||||
|
||||
/* остальной код заголовка */
|
||||
|
||||
//#endif /* L502_USER_PROCESS_H_ */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//#define FFT_FP_EXTERNAL_TWIDDLES
|
||||
#define DATA_L (1<<10)
|
||||
#define TWIDDLE_L (DATA_L / 2)
|
||||
|
||||
//#define TX_BUFF_SIZE 100000
|
||||
#define RAW_DATA_BUFF_SIZE 1000
|
||||
@ -29,8 +49,8 @@
|
||||
#define TX_BUFF_SIZE 10000
|
||||
|
||||
|
||||
#ifndef L502_USER_PROCESS_H_
|
||||
#define L502_USER_PROCESS_H_
|
||||
//#ifndef L502_USER_PROCESS_H_
|
||||
//#define L502_USER_PROCESS_H_
|
||||
|
||||
|
||||
enum buff_switch{
|
||||
|
||||
Reference in New Issue
Block a user