Uclinux-2008r1-rc8 (bf561) to VDSP5 Transplant (+): Failed to open ' #include ' file ' Bf561.h '
In the Include/asm/mach/blackfin.h file, there are statements such as:
#include "bf561.h"
#include "mem_map.h"
#include "defBF561.h"
#include "anomaly.h"
When this header file is included in the ASM file, the following error is caused:
[Error pp0051] "../../include/asm/mach/blackfin.h":36 Failed to open '#include' file 'bf561.h'
[Error pp0051] "../../include/asm/mach/blackfin.h":37 Failed to open '#include' file 'mem_map.h'
[Error pp0051] "../../include/asm/mach/blackfin.h":39 Failed to open '#include' file 'anomaly.h'
Preprocessor finished with 3 error(s) 0 warning(s)
[Error ea1088] Previous errors in pre-processing prevent assembly.
In fact, the three files that were incorrectly prompted are placed in the same directory as Blackfin.h, because the VDSP assembler does not recognize the included file specified in double quotes, and therefore needs to modify it to:
#include <asm/mach/bf561.h>
#include <asm/mach/mem_map.h>
#include "defBF561.h"
#include <asm/mach/anomaly.h>
This file is included in C, and there is no problem.