DSP: CCS V6 uses the printf function, ccstms320f2812

Source: Internet
Author: User

DSP: CCS V6 uses the printf function, ccstms320f2812

Use Code Composer Studio Version: 6.1.1.00022 to create the 2017121.000 project.

1/* 2 * main. c3 */4 # include <stdio. h> 5 6 int main (void) {7 printf ("Hello DSP! \ R \ n "); 8 return 0; 9}

I have added the printf function and want to test it. Then, an error occurs during compilation.

1 # 10099-D </a> program will not fit into available memory. placement with alignment/blocking fails for section ". text "size 0x1be0 page 0. available memory ranges: 2812_RAM_lnk.cmd/2812 Test line 86 C/C ++ Problem

For more information, adjust the size of-stack and-heap, and select rts2800_ml.lib instead of rts2800.lib. However, the modified-stack and-heap are invalid.

Changing the Project Library file to rts2800_ml.lib is also invalid. Finally, under Project-Properties-Build-Advanced Options-Library Function Assumptions, select minimal for Level of printf/scanf support required (-- printf_support, for example. Compiled.

 

Related Article

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.