Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Pragma attributes for WinAVR

Status
Not open for further replies.

se06745

Junior Member level 3
Joined
Jun 3, 2004
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
313
winavr pragma

Hi,

Does anyone know pragma's definitions for WinAVR gcc compiler??
I need to controll memory areas where the compiler can access, and I know that with #pragma I can to define to copiler this area, but I don't know the parámeter.

Thanks for all.

Best Regards
 

winavr pragmas

Thanks!!! I'll try!!!

Added after 10 minutes:

I haven't find noothiing about the word ".sections"

Where do you see that?

Thanks!!
 

winavr attribute

Thanks I've seen it!!!!

The only problem is I need to change the linker parameters to move memory sections. I thought that was possible to create a new memory section (defined by me) and put it in a specific memory location in run-time (inside C code)

The only solution that I found is create my dinamic variables with mallocs (are saved in HEAP section) and modify in linker options the location of HEAP in external SRAM.

Best Regards!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top