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.
工具与软件:
大家好、我新加入了使用 MSPM0G3507在 CCS 中进行编码的行列。 我想用外部按钮和电阻创建一个简单的 LED 闪烁程序,但我无法创建.out,project.o 和 project.d 文件以及 ticlang.d 和 ticlang.o: Zou 可以帮我创建 mz 第一个程序吗? 下面是 mz 代码。
#include "ti_msp_dl_config.h" #include <C:/Users/ta/workspace_v12/test1/Debug/include/msp/m0p> extern volatile uint32_t interruptVectors[]; int main(void) { SYSCFG_DL_init(); /* * Turn OFF LED if SW is open, ON if SW is closed. * LED starts OFF by default. */ NVIC_EnableIRQ(GPIO_SWITCH_INT_IRQN); DL_GPIO_clearPins(GPIO_LEDS_PORT, GPIO_LEDS_PIN_0_PIN); while (1) { __WFI(); } } void GROUP1_IRQHandler(void) { switch (DL_Interrupt_getPendingGroup(DL_INTERRUPT_GROUP_1)) { case GPIO_SWITCH_INT_IIDX: /* If SW is high, turn the LED off */ if (DL_GPIO_readPins( GPIO_SWITCH_PORT, GPIO_SWITCH_PIN_1_PIN)) { DL_GPIO_clearPins(GPIO_LEDS_PORT, GPIO_LEDS_PIN_0_PIN); } /* Otherwise, turn the LED on */ else { DL_GPIO_setPins(GPIO_LEDS_PORT, GPIO_LEDS_PIN_0_PIN); } break; }
您好!
但我无法创建.out、project.o 和 project.d 文件以及 ticlang.d 和 ticlang.o
是否遇到构建故障? 如果是、请在生成控制台中提供确切的错误。
谢谢
Ki