PIC16 C 编译器 [英] PIC16 C compiler

查看:59
本文介绍了PIC16 C 编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 PIC 16 系列寻找一个好的 C 编译器,在 Windows 上工作.

I am looking for a good C compiler for the PIC 16 family, working on Windows.

  • 一些同事使用 bknudc,但有些人似乎不喜欢它.显然你不能有效地使用链接器,事实证明最好的方法是将所有代码设置在包含文件中.

  • A couple of colleagues use bknudc but some seem to dislike it. Apparently you cannot use the linker efficiently, and it turns out that the best is to set all code in include files.

SDCC 看起来不错,但看起来仍处于测试阶段,而且不容易设置或必须处理.

SDCC seems nice, but looks like it is still in beta, and not easy to setup or to have to deal with.

还有很多其他的选择,根据自己的情况,都是最好的.我发现一些论坛讨论这个话题,似乎没有人同意彼此.MikroC, CCS(昂贵),高科技,BoostC.

There are quite some other options, all are the best available according to themselves. I found some forums discussing the topic and no one seem to agree with one another. MikroC, CCS (expensive), HiTech, BoostC.

我想知道什么是好什么是坏的一些真实信息.

I would like to have some real information on what's good and what's bad.

如果我没看错的话,PIC16 架构不是真正的 C 友好型吗?是否有一个编译器可以让程序员在 ANSI C 中工作?以及设置足够好的调试器的方法?

If I got it right, the PIC16 architecture is not really C-friendly? Is there a compiler that lets the programmer work in ANSI C anyway? And a way to setup a nice enough debugger?

推荐答案

您的评估是正确的,即 PIC16 并不是真正的 C 友好型.如果您想用 C 编写代码,最好使用 PIC18.
Microchip 为 PIC18 提供了一个出色的免费 IDE 和编译器 MPLAB.它真的很容易工作.此外,PIC18 系列通常更强大,但有些芯片的占用空间并不比 PIC16 系列大多少.
开始使用 PIC16 开发新产品不是一个好主意.

You're right in your assessment that PIC16 is not really C-friendly. If you want to code in C you are much much better off doing it with PIC18.
Microchip gives out an excellent and free IDE and compiler called MPLAB for the PIC18. Its really easy to work work. Plus the PIC18 family is generally more powerful but has some chips with a not much larger footprint than that of the PIC16 family.
Starting to develop a new product with PIC16 is a not a good idea.

这篇关于PIC16 C 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆