news aggregator
Re: GEL printf/puts newline optimization
... Yes. ... Also correct. The NUL character for ASCII was also designed for this use. It's a time-eater which is not supposed to change the meaning of any
Categories: Software
Re: GEL printf/puts newline optimization
... The history is all about mechanical teleprinters, which were the main terminals when C was originally written. The mechanical teleprinters, for example the
Categories: Software
Re: GEL printf/puts newline optimization
... [snip] Technically, you are correct in that. In C '\n' refers to the character in the execution character set which represents end of line. Not all
Categories: Software
Re: GEL printf/puts newline optimization
... [...] ... I think it's an example of how incomplete the implementation for GEL. It is just thrown together from some larger libc system, and most of us are
Categories: Software
Re: GEL printf/puts newline optimization
... Huh, something I probably knew years ago but forgot (that '\n' is not appended with fputs() ). BTW I call it "newline" or maybe NL, not LF. Since that only
Categories: Software
Kit advances NXP processor development
Development kit combines all the necessary components and tools to develop a full product based on NXP's ARM7-powered MCU.
Categories: Software
Board hosts STM processor development
The STDV730F is a low-cost development board based on the STR730FZ2T6 processor from STMicroelectronics.
Categories: Software
Debugger changes to configurable core support
Lauterbach now supports Tensilica's Diamond Standard and Xtensa configurable processors with its Trace32 PowerView microprocessor debugger.
Categories: Software
Re: GEL printf/puts newline optimization
... Yes, I meant to say LF (\n) instead of CR. ... I can live with whatever rules, as long as there's some consistency. So, has anyone ever encountered this
Categories: Software
Re: GEL printf/puts newline optimization
puts has to add a newline, fputs must not. Well I'm not sure if this does make sense, it just happens to be the way those functions are defined. ANSI C99:
Categories: Software
Re: GEL printf/puts newline optimization
... Actually, he's exactly right. I spoke incorrectly. Well, not quite exactly right. C knows nothing about CR, but it does know about LF. The specific device
Categories: Software
Re: GEL printf/puts newline optimization
... Jeremy, Are you saying that puts() is supposed to append new line but fputs() is not? That wouldn't make sense. I assume that fputs appends the new line.
Categories: Software
Re: XGATE programming
... Too bad gnu-m68hc11 doesn't support XGate. That would have been a good start. Try another mailing list (68HC12 on Yahoogroups).
Categories: Software
Re: GEL printf/puts newline optimization
... Is it not true that, according to the standard, fputs writes a string with no CR at the end and puts appends the CR? If this is true, then the code for
Categories: Software
Re: GEL printf/puts newline optimization
... You were misinformed, I guess. It seems that it must be done by fputs(.,.), which presumably checks for stdout as its second parameter. Mike --
Categories: Software
Platform jumpstarts basestation development
IDT and TI have developed a robust 3G basestation development platform that speeds customer time to market by jumpstarting mission critical software programming and enabling rapid early prototyping.
Categories: Software
GEL printf/puts newline optimization
I'm aware of the optimization in which printf calls with simple strings become puts calls instead. I noticed that those literal strings were getting their
Categories: Software
XGATE programming
Hi!!! I am new to XGATE(S12X). i hav a program having interrupts handled by S12X CPU. But my requirement is that some interrupts r to be handled by XGATE
Categories: Software
Development kit puts Ethernet core module to work
Kit comprises a complete set of powerful developer hardware, software and tools that enable rapid development of embedded network-enabled products.
Categories: Software
Re: DBUG12 - GCC - How to use and compile C codes
... Maybe you are saying that this does not work with GCC? What does it do instead? I think there is at least one example in GEL about calling a pointer as a
Categories: Software
Recent comments
16 years 37 weeks ago
16 years 37 weeks ago
16 years 37 weeks ago
16 years 37 weeks ago
16 years 37 weeks ago
16 years 37 weeks ago
16 years 42 weeks ago
17 years 1 week ago
17 years 2 weeks ago
17 years 3 weeks ago