Andes Workshop

It is currently Thu Feb 22, 2024 4:36 am

All times are UTC + 8 hours [ DST ]

Search found 487 matches
Search these results:

Author Message

 Forum: BSP (Board Support Package)   Topic: sag to assign .o file in folder

Posted: Fri Jun 13, 2014 12:22 pm 

Replies: 0
Views: 6542

The syntax to use sag to assign .o file inside a folder ./src/program1.o (+RW, +ZI) LOAD_ROM_1 0x0000 { EXEC_ROM_1 0x0000 { ./src/program1.o SORT (+RO) } DRAM 0x10000 0x8000 { ./src/program1.o (+RW, +ZI) } } LOAD_ROM_2 +0x1000 { EXEC_ROM_2 +0x0 { *(.text) *(+RO) } SRAM 0x18000 0x8000 { * (+RW, +ZI) ...

 Forum: Programming   Topic: Turn off relax optimization

 Post subject: Turn off relax optimization
Posted: Thu Jun 12, 2014 3:42 pm 

Replies: 0
Views: 7394

Turn off relax optimization Linker Option: -mno-relax -mno-relax.png nds32le-elf-gcc -O0 -nostartfiles -static -mno-relax -Toutput/.nds32le-elf-mculib-v3_start0x0.x -Xlinker -defsym -Xlinker _stack=0x1000 -o "mem_test2.adx" ./src/mem_test2.o No relax: 00000000 <main>: 0: 46 0...

 Forum: BSP (Board Support Package)   Topic: Linker order - GCC

 Post subject: Linker order - GCC
Posted: Tue Jun 10, 2014 3:24 pm 

Replies: 0
Views: 6776

This is a good article ... -order-gcc

Why does the order in which libraries are linked sometimes cause errors?

 Forum: Programming   Topic: Read/write memory code for RTL simulation

Posted: Fri Jun 06, 2014 2:49 pm 

Replies: 0
Views: 7300

This program is to observe memory read/write on BUS in RTL simulation. It is quiet simple. The data is at 0x68 0x6c 0x70 00000000 <main>: 0: 46 01 23 45 sethi $r0,#0x12345 4: 58 00 06 78 ori $r0,$r0,#0x678 8: 46 f0 00 00 sethi $r15,#0x0 c: 14 07 80 1a swi $r0,[$r15+#0x68] 10: 46 f0 00 00 sethi $r15,...

 Forum: Announcement   Topic: How to Design Chips to Meet the Demands of Low-Power IoT App

Posted: Fri May 30, 2014 6:20 pm 

Replies: 0
Views: 23384

US webinar
"How to Design Chips to Meet the Demands of Low-Power IoT Applications"

 Forum: Announcement   Topic: Andes Core for IoT WiFi Application (Youtube video)

Posted: Tue May 20, 2014 5:36 pm 

Replies: 0
Views: 22623

Andes Core for IoT WiFi Application

 Forum: BSP (Board Support Package)   Topic: naked function

 Post subject: naked function
Posted: Sat May 17, 2014 12:17 am 

Replies: 0
Views: 6863

From: naked Use this attribute on the ARM, AVR, MCORE, MSP430, NDS32, RL78, RX and SPU ports to indicate that the specified function does not need prologue/epilogue sequences generated by the compiler. It is up to the programmer to provide t...

 Forum: BSP (Board Support Package)   Topic: NDS32 target attribute

 Post subject: NDS32 target attribute
Posted: Sat May 17, 2014 12:16 am 

Replies: 0
Views: 6538

Cool! There are some NDS32 target attribute in gcc online document. On NDS32 target, this attribute is to indicate that the specified function is an interrupt handler. The compiler will generate corresponding sections for use in an interrupt...

 Forum: BSP (Board Support Package)   Topic: always_inline

 Post subject: always_inline
Posted: Sat May 17, 2014 12:07 am 

Replies: 0
Views: 6737

about inline

Reference: ... butes.html

Generally, functions are not inlined unless optimization is specified. For functions declared inline, this attribute inlines the function even if no optimization level is specified.

 Forum: AndeSight MCU/RDS   Topic: enable ex9 optimization

 Post subject: enable ex9 optimization
Posted: Thu May 01, 2014 8:38 pm 

Replies: 1
Views: 8473

The option -mex9 should add in both gcc and ld.

In compiler:
ex9_1.png [ 24.25 KiB | Viewed 8473 times ]

In linker:
ex9_2.png [ 24.08 KiB | Viewed 8473 times ]

Here is a example:
Attachment: [130.31 KiB]
Downloaded 803 times
Sort by:  
Page 5 of 49 [ Search found 487 matches ]

All times are UTC + 8 hours [ DST ]

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group