hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12686 Discussions

Compiler/linker option to skip localisation of .bss section

TGucl
Débutant
1 703 Visites

Hello

 

I`m using Quartus Lite 17.1 .with nios-elf-gcc version 5.30

 

We have some static variables which goes to .bss section data segment. When we wanted to increase the size of these static variables we started to get watch dog resets because initialisation of .bss segment started to took longer and there is no piece of code at this level to pad the watch dog.

 

What I wanted to know is if there is way to tell the compiler/linker skip .bss initalisation ?

 

Closest I could get is at

https://gcc.gnu.org/onlinedocs/gcc/Nios-II-Options.html

which mentions use of -G num but not exactly what I `m looking for.

 

 

 

Thanks

 

0 Compliments
1 Répondre
Ahmed_H_Intel1
Employé
1 267 Visites
Hi, Please first check the following two chapters of the "Nios II Software Developer’s Handbook" Chapter 3 and 15: CH3: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52014.pdf CH15: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52016.pdf This chapter provides a complete reference of all available commands, options, and settings for the Nios® II Software Build Tools and useful for developing your own embedded software projects, packages, or device drivers. Regards.
0 Compliments
Répondre