Transplantation of Uclinux-2008r1-rc8 (bf561) to VDSP5 (62)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.