Forums Search for: Compiler
snprint()
inHi Group, I am using IAR version 3.3. Does anybody know how to use snprintf()? I am getting "function declared implicitly" error from the...
Hi Group, I am using IAR version 3.3. Does anybody know how to use snprintf()? I am getting "function declared implicitly" error from the compiler. Also, compiler cannot open xstdio.h. Thanks Uri
creak for IAR/IMAGECRAFT/HITECH/CODE COMPOSER (TI)/ MSP430c compiler is needed
inHi,Can any boudy have crack for msp430 c compiler or send me link from where I will down load the crack. thank you satish munot
Hi,Can any boudy have crack for msp430 c compiler or send me link from where I will down load the crack. thank you satish munot
Basic compiler for MSP430
inHello, I wanted to ask users for something. Is there any interest in a basic compiler for msp430 series? I want to write a basic or Pascal...
Hello, I wanted to ask users for something. Is there any interest in a basic compiler for msp430 series? I want to write a basic or Pascal compiler for this chip and wanted to know if users really have interest or no. Regards ------------------------------------
How to Auto-generate Unique Labels in C?
inHi All. This is more of a C-centric, rather than MSP430-specific question, but with all the compiler vendors here on-line :) I though I'd ask...
Hi All. This is more of a C-centric, rather than MSP430-specific question, but with all the compiler vendors here on-line :) I though I'd ask ... I think I once saw this done, but I've searched everywhere and can't find it. Is there a way / what is the best way to have the compiler auto-generate lables in C code? In the broadest sense, what I want is to be able to invoke a macro and have
Call for Compiler Samples
inHowdy Y'all, Sitting here in Knoxville, and I find myself pondering the question of which MSP430 compiler was used to generate a particular...
Howdy Y'all, Sitting here in Knoxville, and I find myself pondering the question of which MSP430 compiler was used to generate a particular piece of object code that sits before me. As this is a common question for me, I'd like to automate the process. To that end, I'd be ever so grateful if a few of you would send me a compiled binary of the following C program from your favorite compi...
Good Compiler for the MSP430
inHi all, I am looking for a good and cost effective full compiler for MSP430. Anyone can help..... Rgds, Jerry
Hi all, I am looking for a good and cost effective full compiler for MSP430. Anyone can help..... Rgds, Jerry
MSP340 compiler
inhello guys...I need some advice.. i bought a TI dev kit with IAR kickstart compiler. Did some practice and familiarization with MSP430. Now...
hello guys...I need some advice.. i bought a TI dev kit with IAR kickstart compiler. Did some practice and familiarization with MSP430. Now that i want to make a longer code (more than 4K), i need the comercial version but the commercial version is damn expensive. i got this info from supplier. DESCRIPTION PRICE IAR Embedded WorkBench EW430-LE ...
MSP430 C compilers
inHi. I am looking to purchase a compiler for the MSP430 uC. I would like to hear which compiler you prefer and why. Cost is an issue, but...
Hi. I am looking to purchase a compiler for the MSP430 uC. I would like to hear which compiler you prefer and why. Cost is an issue, but I'm willing to pay for high quality. I think I will avoid msp430-gcc because I want something with an IDE and I need to get up and running quickly. Any general comments you have an MSP430 tools vs. PIC or AVR would be helpful Below are the compilers
Simple printf() example?
inI am a long time PIC user but a 430 newbie. For some quick debugging I want to use printf(). The IAR Kickstart compiler takes my code without...
I am a long time PIC user but a 430 newbie. For some quick debugging I want to use printf(). The IAR Kickstart compiler takes my code without errors or warnings but there is no output. I can put bytes in UCA0TXBUF and they get transmitted fine. I think I need to tell the compiler which serial interface to use for STDOUT, but how? I am using a MSP430F2274. Can someone point me to a simple e...
IAR compiler crashes on optimization
inHallo everybody! I just had first look at the C compiler from IAR included with the FET-tool. Unfortunately it took only 5 Minutes to make...
Hallo everybody! I just had first look at the C compiler from IAR included with the FET-tool. Unfortunately it took only 5 Minutes to make this thing stuff up. The behaviour is somewhat strange, so I hope anybody here knows something about it. - latest Kickstart version from TI's website - blinking LED sample file - C language - everything works fine. But: When I turn on optimization fo
Basic compiler
inHello, Does anyone know of a basic compiler for msp430's? TIA, Guy
Hello, Does anyone know of a basic compiler for msp430's? TIA, Guy
Basic Interpreter/Compiler
inDoes anyone make an interpreter/compiler for the MSP430 in any kind of Basic? Thanks in advance, ...Tim
Does anyone make an interpreter/compiler for the MSP430 in any kind of Basic? Thanks in advance, ...Tim
A compiler optimization puzzle
inI'd like to share an optimization puzzle that I'm stumped with. In the following function, how many times is "logging" printed out if the...
I'd like to share an optimization puzzle that I'm stumped with. In the following function, how many times is "logging" printed out if the compiler can optimize to the fullest. This manufactured example is for illustration. ================================================================ /* A function with the side-effect of output */ static int log_calls(int num_iters) { puts("\nlo...
Bug in IAR for MSP430
inI've come across a bug in IAR (lastest version, latest patches). I have reduced it down to a simple one-line function. It appears at...
I've come across a bug in IAR (lastest version, latest patches). I have reduced it down to a simple one-line function. It appears at every optimization level except "None". I have emailed John Regehr (see his papers on C compiler correctness) and Nigel Jones (http://embeddedgurus.com/stack-overflow/) who concurred that this is a compiler bug and not some C language ambiguity. I hav...
Re: How to force the C-compiler to use registers?
inHello, The AQ430 C compiler allows you to declare global register variables. Although I generally suggest that people avoid this feature, it...
Hello, The AQ430 C compiler allows you to declare global register variables. Although I generally suggest that people avoid this feature, it sounds like you may have a use for it! I should also note that, if you declare global registers in any C source file, then you must make exactly the same declarations in all other C source files in the application. All the best, Preston Gurd (the AQ
Hi-Tech C Compiler
inI'm new to this group and new to the MSP430. I don't want to stir up trouble, but has anyone had good or bad experiences with the Hi-Tech...
I'm new to this group and new to the MSP430. I don't want to stir up trouble, but has anyone had good or bad experiences with the Hi-Tech C Compiler for the MSP430? I didn't see anything in the group guidelines about whether "reviews" of products are encouraged or discouraged. I know some groups discourage this because it can lead to flame wars. The reason I ask is that I noticed
C compiler
inHello, one and all :) I am a new comer to the 430. I need to know if there is a free or really cheap full fledged compiler on the market....
Hello, one and all :) I am a new comer to the 430. I need to know if there is a free or really cheap full fledged compiler on the market. IARs is out of my budged. Do I have to stick to asm ??? Yuk ... TIA Alexander S alex at sandlabs.com http://www.sandlabs.com
IAR - volatile
inDear all, I'd be happy about any kind of comment on this funny behaviour which seems to be new in IAR's C-compiler after version...
Dear all, I'd be happy about any kind of comment on this funny behaviour which seems to be new in IAR's C-compiler after version 2.21... regards, Dirk *IAR C-Compiler V3.30A, maximum optimization on code size. *Documentation (page 116): PROTECTING SIMULTANEOUSLY ACCESSED VARIABLES Variables that are accessed from multiple threads, for example from main or an interrupt, must be pr
re-run of "which compiler are you using?" poll
inFolks, "Which compiler are you using?" was a poll which ran 8 years ago. Preferences may have changed, so I'd like to re-run this poll. I...
Folks, "Which compiler are you using?" was a poll which ran 8 years ago. Preferences may have changed, so I'd like to re-run this poll. I have an interest in this, because I'm retooling to MSP430s from PICs. The 2003 list of compilers includes: IAR TI Code Composer Studio (CCStudio) Imagecraft (ICC) Quadravox IDE430 MSPGCC CrossWorks Other Please let me know the compilers you'd ...
IAR-Compiler: A little ineffective inlining ?!?
inDear all, again I'm wondering a little about my compiler's behaviour. (ICC430 V2.21B) An expression like ...
Dear all, again I'm wondering a little about my compiler's behaviour. (ICC430 V2.21B) An expression like evaluates to if (P1IN & 0x02) BIT.B #0x02, &P1IN This is what I like. ;-) But... if I'm going to write the program a little more modular and rely on inlining to shrink the code... static int function(void) { ret