Solution to quota 8's insufficient space

Source: Internet
Author: User

Although function 8 is complete, insufficient space is often used. Either. Text overflow or. BSS overflow can cause headaches. Here we will list some optimization schemes to make full use of the space:

1. Under Project Settings, select customize for C compiler and optimizations.

The focus is to select the split functions.

This means to compile only the functions used. Otherwise, the compiler will be silly enough to compile all the functions in the C file you are using!

2. Go to linker and select input for category.

Check which one is not enough and set the value to a greater value.

For example, if my project shows. BSS overflow (with many Defined variables), I changed Ram from 0x1ff to 0x250.

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.