This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请问大侠们都用什么编写程序(不是调试编译)?



例如使用IAR或者CCS,没有智能提示。

看到说有好多用例如Source Insight,ultraedit之类的,但是想问一下,对于本征函数之类的怎么处理的?怎样让这些也智能提示?能不能说全面一点?

  • Source Insight是挺好的工具啊!

  • 谢谢回复

    这个Source Insight以前我用过,不过现在也忘了

    我现在主要是想着完美一点,例如对于msp430的头文件,例如对于IAR编译器的本征函数,Source Insight这类软件认识么?

    例如, __no_operation()这样的方法能提供自动提示么?就是P1OUT这样的可能都提示不了。

    还有,现在IAR的头文件分为io430.h和msp430.h(当然具体对应具体型号),如果直接include,行么?如果不行,我想知道大家一般都采取什么方法解决。网上好像没找到一般性的处理方法呀。大家编程是个长期性的工作,如果能有个规范性的操作方法,也方便一点是吧?

    我还在这里发了个帖子:

    http://bbs.eeworld.com.cn/thread-365008-1-1.html

    还有我在这个帖子中介绍的软件,其中也包含关于头文件的一些解决办法,但是我还是想知道对于io430.h这样的怎么处理:http://bbs.eeworld.com.cn/thread-365043-1-1.html

    在io430xxxxx.h中

    __no_init volatile union
    {
    unsigned char IE1; /* Interrupt Enable 1 */

    struct
    {
    unsigned char WDTIE : 1; /* Watchdog Interrupt Enable */
    unsigned char OFIE : 1; /* Osc. Fault Interrupt Enable */
    unsigned char : 2;
    unsigned char NMIIE : 1; /* NMI Interrupt Enable */
    unsigned char ACCVIE : 1; /* Flash Access Violation Interrupt Enable */
    }IE1_bit;
    } @0x0000;

    这个的声明方法在Source Insight这类软件中认么?和标准的C语言声明方法有点不同吧?__no_init认么?@认么?

  • 对于编辑文件,看个人的喜好了。编译器也就是ti给的哪三种例程的编译器程序。别的没有发现。我习惯ue。