Search found 4 matches
- Wed Mar 14, 2012 5:41 am
- Forum: General Support
- Topic: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
- Replies: 5
- Views: 3028
Re: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
Finally figured it out ... it wasn't the variadic function. That was never being called. I'd forgotten about this bold optimization that gcc likes to do. Given a static string (eg. printf("hello"); ), gcc optimizes that to a puts invocation. I have my own methods for printf and friends, but I did ...
- Tue Mar 13, 2012 4:43 pm
- Forum: General Support
- Topic: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
- Replies: 5
- Views: 3028
Re: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
chprintf does not exist on 2.2.8 ... in fact, i was using one of my old embedded printfs for debug which is when I first found that that variadic did not work.
I have to do more porting to get 2.4.0 to work on my board, so I cant try it yet.
I have to do more porting to get 2.4.0 to work on my board, so I cant try it yet.
- Tue Mar 13, 2012 3:56 pm
- Forum: General Support
- Topic: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
- Replies: 5
- Views: 3028
Re: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
Thanks, I gave it a quick try but didn't have much luck. I am considering just using 2.2.8 for now (where most everything is working for me). However, I would like to be able to get variadic functions to work on it. I haven't been able to figure out why they don't. I suspect it is something with ...
- Mon Mar 12, 2012 6:04 pm
- Forum: General Support
- Topic: Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
- Replies: 5
- Views: 3028
Trouble with dma vectors on 2.4.0 and variadic on 2.2.8
I've been porting my application from 2.2.8 to 2.4.0. Really, I could use either one, but I never could get variadic functions to work in 2.2.8. It would crash with just va_start and va_end in use. I am using Linaro GCC 4.6-2012.02 & newlib. On 2.4 my app will not link.
The problem is that I've ...
The problem is that I've ...