问题
We are starting a new project based on an 8051 microcontroller.
Questions:
- What is the best C compiler to use?
- Are there any open source 8051 compilers and how good are they?
回答1:
Keil is what I have used with this microcontroller in the past. They've got a pretty good set of tools. SDCC is also good and free
回答2:
SDCC is quite good.
回答3:
Keil is very nice but it limits the amount of code space you can use with the free version. I think the full license is over a thousand bucks which could be prohibative for a one man op. I have just started using SDCC for this reason (I like free things!) and the output isn't quite as pretty but so far it's working well.
回答4:
SDCC is the one I usually hear about. I've not used it. http://sdcc.sourceforge.net/
回答5:
One of the companies I worked for uses Keil. All the engineers seem very satisfied with the quality of the assembly code generated by the compiler.
Also, Tasking has some pretty decent tools, but we used it more for the 8051XA family.
回答6:
No one has mentioned IAR Embedded Workbench for 8051.
I'm used to working with IAR for ARM, and I find the debugger quite powerful.
回答7:
Keil is provided by atmel and is one of the compilers widely used... being a student maximumof us into microcontrollers use Keil ...
回答8:
Go For keil . Trail version limits code size to 2kb.
来源:https://stackoverflow.com/questions/978189/what-is-the-best-c-compiler-for-the-8051-family