我用CCS编写程序时,在建立工程时就已经定义了芯片型号,依然报错没有定义芯片型号,何解?谢谢大家啦
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.
我用CCS编写程序时,在建立工程时就已经定义了芯片型号,依然报错没有定义芯片型号,何解?谢谢大家啦
芯片型号c6416,程序如下
#include <csl.h>
#include <csl_pll.h>
#include <csl_chip.h>
#include <csl_gpio.h>
#include <stdio.h>
void Delay(unsigned int i)
{
while(i--)
;
}
void main()
{
GPIO_RSET(GPEN,0x06);
GPIO_RSET(GPDIR,0x06);
while(1)
{
GPIO_RSET(GPVAL,0x06);
Delay(100);
GPIO_RSET(GPVAL,0x06);
Delay(100);
}
}