Perhaps this is a stupid question, perhaps not...but does Keil have or considered writing a C++ compiler for the 8051? I have had numerous cases where a peripheral (be it internal or external), the associated API functions I create for it, and xdata/data it requires would fit neatly into a C++ class. This would also simplify software design when integrating/reusing the same peripherals in new designs as well as designs where you have more than one of the same peripheral class...such as in a card rack. Comments?
I asked this question too a couple of months ago. I got two answers: 1. we are working on it but we do not have any idea when we will be ready with that work 2. we are NOT working on EC++ So far I know, the only professional EC++ compiler on the market at this time is from Tasking. They sell it within their standard package for the C166. I haven't seen EC++ for 8051-Family neither. ...Leo
to correct my last reply: there are some other EC++ compilers available on the market: eg. GNU C/C++ ,Version: 3.2 HighTec EDV-Systeme GmbH http://www.spacetools.com/tools3/space/90.htm Supported Controller: C161O-L16M, C165-LM, C165-L25M, C165-LF, C165-L25F, SAB80C166-M, SAB80C166-M25, SAB83C166-5M, SAB83C166-5M25, C167CR-LM, C167CR-L25M, C167CR-4RM, C167CR-16RM I fount >2500 hits at google.de serching "EC++" ...Leo
anyone interested in C++ should read http://www.ganssle.com/tem/tem17.pdf have fun, Erik
Good resource! Embedded C++ Technical Committee: http://www.caravan.net/ec2plus/guide.html - Alex