DSP build helloworld project-no BIOS

Source: Internet
Author: User

 

My development environment is dm6437

1. Project-> New: Create a hello project.

 

2. Add a database related to step 6437. Add:

C:\CCStudio_v3.3\C6000\cgtools\lib\rts6400.lib

Note that c: \ ccstudio_v3.3 \ c6400 \ dsplib \ Lib \ dsp64x. Lib is not added.

 

 

3. Add the source file of the package main. Hello. C:

 

#include <stdio.h>int main(){       printf("hello world\n");        return 0;}

 

 

 

4. Add the CMD file. The cmd of different types of DSPs is different. to modify the CMD, refer

Click Open Link

My CMD is as follows:

MEMORY{    INTMEM:   o = 0x10810000,    l = 000FFC00h                     } SECTIONS{    .cinit      >       INTMEM    .text       >       INTMEM    .stack      >       INTMEM    .bss        >       INTMEM    .const      >       INTMEM    .data       >       INTMEM    .far        >       INTMEM    .switch     >       INTMEM    .sysmem     >       INTMEM    .tables     >       INTMEM    .cio        >       INTMEM}      

 

Build-> load program. The great Hello world is finally displayed.

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.