View previous topic :: View next topic |
Author |
Message |
kam
Joined: 15 Jul 2005 Posts: 59
|
use dynamic_memory? and others?... |
Posted: Sun Oct 16, 2005 8:44 pm |
|
|
Hi all!
What is the "use dynamic_memory" pragma for? I can only guess. And where is this documented? Are there any other pragmas not documented?
~Kam (^8* |
|
|
kam
Joined: 15 Jul 2005 Posts: 59
|
Faq? |
Posted: Tue Oct 18, 2005 11:58 am |
|
|
Hi all,
Is there a definitive FAQ/guide/doc/txt/voice mail etc. that has ALL the CCS compiler pragmas/use etc?
I'm still trying to find the "use dynamic_memory" definition...any pointers where I can find it? I looked in the manual and no go.
Well, there it is.
~Kam (^8* |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Oct 18, 2005 12:39 pm |
|
|
There is no FAQ on undocumented CCS functions (other than what
you can find in the board's archives). |
|
|
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
|
Posted: Tue Oct 18, 2005 1:18 pm |
|
|
Don't know, never used it but, a search reveals this:
Code: |
#pragma USE DYNAMIC_MEMORY // For using malloc or any other dynamic memory functions. |
Also, some posts indicate that dynamic memory operations in embedded systems can cause problems.
Hope this helps,
John |
|
|
|