Good News About FreeRTOS, MC9S12 (they call "HCS12"), and GCC I finally have got the real Demo completed for FreeRTOS GCC/HCS12. The port has been partially...
Hey yall, I've searched high and low and can't quite figure out how to copy #defines into the namespace of the assembler. Rather than defining the same symbol...
... [snip] ... You certainly are mixing levels of the language quite thoroughly. The preprocessor doesn't know about sizeof(), so there is no way a macro has a...
Mike McCarty
Mike.McCarty@...
May 3, 2006 9:23 pm
8102
... I mistakingly thought the preprocessor did this. Is there a means of determining the size of a structure, since that information is known at compile time?...
... Well, the preprocessor handles the *string* "sizeof(...)" ok. And when the compiler sees that string, it knows what to do with it. But to the preprocessor,...
Mike McCarty
Mike.McCarty@...
May 3, 2006 10:27 pm
8104
... Ok, this may seem quite bizarre, but I'll try to explain the larger picture. We have designed an HCS-12 board, and we have a mature, well developed kernel...
... Well, IMO, Forth is bizarre. But what you describe is in principle no more bizarre than other things I've seen done. And it's certainly reasonable to try...
Mike McCarty
Mike.McCarty@...
May 4, 2006 4:00 am
8106
Will this gcc compiler work for the Freescale HCS08 core such as in the MC13213 and MC13214?...
IMO: No. ... Von: gnu-m68hc11@yahoogroups.com [mailto:gnu-m68hc11@yahoogroups.com] Im Auftrag von griglack Gesendet: Donnerstag, 4. Mai 2006 17:13 An:...
Haase Bjoern (PT-BEU/...
bjoern.haase@...
May 4, 2006 4:15 pm
8108
Hi All I just had an enlightening experience.. or maybe should I say surprising... I have always been coding initialised static arrays in routines using the...
The first example you gave is probably because macros don't expand inside quotation marks (I don't remember for sure). Should look at the GCC docs for passing...
... One might think that the compiler is assuming one loop in memcpy() is less code than 5 individual writes to different indexes. I've seen other places where...
Free Pictures Profiles of Beautiful girls Contact members ,chat Rooms , Create free profile Tones of Features Pictures Profiles of Beautiful Hot girls in...
... If you were actually using static arrays, then no code would be generated at all, but the code would not be thread safe. ... If you don't use static...
Mike McCarty
Mike.McCarty@...
May 8, 2006 9:57 pm
8114
... Isn't it violating the standard to write my own function _memcpy because it starts with '_'? So that would be something stopping me. We can often violate...
... Well, if the compiler is prepending an underscore ("_"), then the routine's name in C is "memcpy", and it is a violation of the Standard for the compiler...
Hi Mike ... I actually came across the issue when working with the CodeWarrior compiler and did a comparison with the GNU compiler to see what it did...
... You are both right, and are agreeing with each other. We should not have to hack our C source code to improve compilation efficiency. GCC is coaxing us to...
... I'm confused about the compiler "prepending an underscore ('_')". How does this become "memcpy" if defining my own function "memcpy" does not generate a...
Referring to Mike's comments... ... Maybe it's just that GCC should have it's lib memcpy() be calling a system function "__memcpy" instead of "_memcpy"? ... ...
... There are two names involved, the one in the C source, and the one in the assembly source. I'm sorry if I wasn't clear about which one I meant at any given...
Mike McCarty
Mike.McCarty@...
May 10, 2006 12:23 am
8122
... Ah, I re-read that, and perhaps you meant something different from what I originally understood. ... Ok, if the compiler does not prepend an underscore,...
Mike McCarty
Mike.McCarty@...
May 10, 2006 1:03 am
8123
hi, at the moment i am interfacing a mc9s12dg256 to a ADC from BurrBrown (ADS8344). What i want to know is how can i view the digital data that is coming out...
... It isn't clear (to me at least) what you mean by "it comes out as blanks". Are you sending raw data without any conversion? IOW, if the ADC converts to a...
... (ADS8344). ... out ... standard ... okay i have no idea what your talking about, but the problem i am having is that i am trying to view the hex data...