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.

[参考译文] TI RSLK 使用 MSP432 MSPDRIVERLIB 时出现问题

Guru**** 2378650 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/993662/problem-with-ti-rslk-using-msp432-mspdriverlib

主题中讨论的其他器件:MSP432P401R

我收到以下错误消息:

Cortex_M4_0:GEL:加载文件时遇到问题:/Users/paolalondono/Desktop/lab3/Debug/lab3.out 无法打开文件

我编写的代码未显示任何语法错误。 它显示错误来自库。 我删除了库、下载了新的副本、并多次将其添加到我的程序中、以查看是否会修复它。 当我运行编译系统时、我检查了编译显示的特定文件中的错误、但我找不到任何错误。 那么、此时我不知道我还应该做什么。

这是我的代码:

/*包含头文件*/

#include "driverlib.h"

#include "mechrev.h"

/*根据需要定义宏和函数原型*/

#define LED1         GPIO_PORT_P1、GPIO_PIN0

#define LEDR         GPIO_PORT_P2、GPIO_PIN0

#define Ledg         GPIO_PORT_P2、GPIO_PIN1

#define LEDB         GPIO_PORT_P2、GPIO_PIN2

#define BTN1         GPIO_PORT_P1、GPIO_PIN1

#define BTN2         GPIO_PORT_P1、GPIO_PIN4

define BMP0         GPIO_PORT_P4、GPIO_PIN0

#define BMP1         GPIO_PORT_P4、GPIO_PIN2

#define BMP2         GPIO_PORT_P4、GPIO_PIN3

#define BMP3         GPIO_PORT_P4、GPIO_PIN5

#define BMP4         GPIO_PORT_P4、GPIO_PIN6

#define BMP5         GPIO_PORT_P4、GPIO_PIN7

/*根据需要声明全局变量和易失性变量*/

/*主程序*/

void main (void)

  /*停止看门狗计时器*/

  MAP_WDT_A_HOLDTimer();

  /*调用 mechrev.h 头文件中包含的 mechrev_setup 函数*/

  mechrev_setup();

  /*初始化按钮(S1和 S2开关)的 GPIO P1.1和 P1.4 */

  MAP_GPIO_setAsInputPinWithPullUpResistor (BTN1);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BTN2);

  /*初始化 LED1和 LED2的 GPIO P1.0、P2.0、P2.1和 P2.2 */

  MAP_GPIO_setAsOutputPin (LED1);

  MAP_GPIO_setAsOutputPin (LEDR);

  MAP_GPIO_setAsOutputPin (Ledg);

  MAP_GPIO_setAsOutputPin (LEDB);

  MAP_GPIO_setOutputLowOnPin (LED1);

  MAP_GPIO_setOutputLowOnPin (LEDR);

  MAP_GPIO_setOutputLowOnPin (Ledg);

  MAP_GPIO_setOutputLowOnPin (LEDB);

  //初始化凸点传感器的 GPIO P4.0、P4.2、P4.3、P4.5、P4.6和 P4.7

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP0);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP1);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP2);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP3);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP4);

  MAP_GPIO_setAsInputPinWithPullUpResistor (BMP5);

   /*为凸点传感器的 GPIO 启用中断*/

  MAP_GPIO_enableInterrupt (BMP0);

  MAP_GPIO_enableInterrupt (BMP1);

  MAP_GPIO_enableInterrupt (BMP2);

  MAP_GPIO_enableInterrupt (BMP3);

  MAP_GPIO_enableInterrupt (BMP4);

  MAP_GPIO_enableInterrupt (BMP5);

  MAP_GPIO_interruptEdgeSelect (BMP0、GPIO_HIGH_TO_LOW_TRANSITION);

  MAP_GPIO_interruptEdgeSelect (BMP1、GPIO_HIGH_TO_LOW_TRANSITION);

  MAP_GPIO_interruptEdgeSelect (BMP2、GPIO_HIGH_TO_LOW_TRANSITION);

  MAP_GPIO_interruptEdgeSelect (BMP3、GPIO_HIGH_TO_LOW_TRANSITION);

  MAP_GPIO_interruptEdgeSelect (BMP4、GPIO_HIGH_TO_LOW_TRANSITION);

  MAP_GPIO_interruptEdgeSelect (BMP5、GPIO_HIGH_TO_LOW_TRANSITION);

  Interrupt_enableInterrupt (INT_Port4);

  /*根据需要声明局部变量*/

  /*调用初始化分级宏*/

  MACROL_LAB3_init();

  while (1)

  

    /*设计一个轮询过程来检测按下的按钮并相应地打开或关闭 LED1 */

    if (MAP_GPIO_getInputPinValue (BTN1)=GPIO_INPUT_PIN_LOW || MAP_GPIO_getInputPinValue (BTN2)=GPIO_INPUT_PIN_LOW)

    

      MAP_GPIO_setOutputHighOnPin (LED1);

    

    其他

    

      MAP_GPIO_setOutputLowOnPin (LED1);

    

      /*注意:打开 LED1后调用事件分级宏*/

      MACROL_LAB3_EVENT ();

  

//端口4处理凸点传感器的中断服务例程*/

Port4_IRQHandler ()

  /*检查中断状态*/

  uint32_t status;

  STATUS = MAP_GPIO_getEnabledInterruptStatus (GPIO_PORT_P4);

  /*验证中断是否由 P4.0或 P4.7触发*/

  if (status & GPIO_PIN0!= 0 || status & GPIO_PIN7!= 0)

  

    /*将 LED2的颜色更改为红色*/

    GPIO_setOutputHighOnPin (GPIO_PORT_P2、GPIO_PIN0);//红色打开

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN1);//绿色关闭

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN2);//蓝色关闭

    //生成分级输出时调用此处的分级宏:

    MACROL_LAB3_EVENT ();//

  

  /*验证中断是否由 P4.2或 P4.6触发*/

  否则、如果(status & GPIO_PIN2!= 0|| status & GPIO_PIN6!= 0)

  

    /*将 LED2的颜色更改为绿色*/

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN0);//红色关闭

    GPIO_setOutputHighOnPin (GPIO_PORT_P2、GPIO_PIN1);//绿色亮起

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN2);//蓝色关闭

    //生成分级输出时调用此处的分级宏:

    MACROL_LAB3_EVENT ();

  

  /*验证中断是否由 P4.3或 P4.5触发*/

  否则、如果(status & GPIO_PIN3!= 0|| status & GPIO_PIN5!= 0)

  

    /*将 LED2的颜色更改为蓝色*/

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN0);//红色关闭

    GPIO_setOutputLowOnPin (GPIO_PORT_P2、GPIO_PIN1);//绿色关闭

    GPIO_setOutputHighOnPin (GPIO_PORT_P2、GPIO_PIN2);//蓝色打开

    //生成分级输出时调用此处的分级宏:

    MACROL_LAB3_EVENT ();

  

  /*清除 Port4中断标志*/

  MAP_GPIO_clearInterruptFlag (GPIO_PORT_P4、状态);

(二

当我运行"Build"时、我将得到:

****项目 Lab3的配置调试构建****

/Applications/ti/ccs1000/ccs/utils/bin/gmake -k -j 7 all -O  

 

构建文件:"../MSP432P4xx/AES256.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_remote_code.come_p432p_abp=-mpi_ature=msp432xx-mp_ature=msp4xx/ateg_ab-us_remote_remote_remote_ature=msp432xx-msp4xx-msp4256_decure-board-code.g_ab-code.g_ab-code.com_ab-code.com_ab_ab_ab_ateg_ab_ab_ateg_ab-code.com_prob_prob_prob_tr-code.g_prob_ab-code.g_ab-ateg_ab  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/AES256.obj'的配方失败

"./MSP432P4xx/AES256.c"、第37行:致命错误#1965:无法打开源文件"AES256.h"

1在编译"../MSP432P4xx/AES256.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/AES256.obj]错误1.

"./MSP432P4xx/comp_e.c"、第37行:致命错误#1965:无法打开源文件"comp_e.h"

1在编译"../MSP432P4xx/comp_e.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/comp_e.obj]错误1.

"./main.c"、第2行:致命错误#1965:无法打开源文件"driverlib.h"

1在编译"./main.c"时检测到灾难性错误。

编译已终止。

gmake:***[main.obj]错误1.

"./MSP432P4xx/adc14.c"、第42行:致命错误#1965:无法打开源文件"adc14.h"

1在编译"../MSP432P4xx/adc14.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/adc14.obj]错误1

"./MSP432P4xx/CPU .c"、第37行:致命错误#1965:无法打开源文件"cpu.h"

1在编译"./MSP432P4xx/CPU .c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/CPUM.obj]错误1.

"./MSP432P4xx/c"、第41行:致命错误#1965:无法打开源文件"cs.h"

1在编译"../MSP432P4xx/cs.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/cs.obj]错误1.

"./MSP432P4xx/dma.c"、第39行:致命错误#1965:无法打开源文件"debug.h"

1在编译"../MSP432P4xx/dma.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/dma.obj]错误1.

"./MSP432P4xx/flash.c"、第41行:致命错误#1965:无法打开源文件"flash.h"

1在编译"../MSP432P4xx/flash.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/flash.obj]错误1.

"./MSP432P4xx/FPU.c"、第37行:致命错误#1965:无法打开源文件"FPU.h"

1在编译"./MSP432P4xx/FPU.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/FPU.obj]错误1.

"./MSP432P4xx/i2c.c"、第37行:致命错误#1965:无法打开源文件"i2c.h"

1在编译"../MSP432P4xx/i2c.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/i2c.obj]错误1.

"./MSP432P4xx/GPIO.c"、第41行:致命错误#1965:无法打开源文件"GPIO.h"

1在编译"../MSP432P4xx/GPIO.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/GPIO.obj]错误1.

"./MSP432P4xx/MPU.c"、第37行:致命错误#1965:无法打开源文件"Debug.h"

1在编译"../MSP432P4xx/MPU.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/MPU.obj]错误1.

"./MSP432P4xx/interrupt.c"、第41行:致命错误#1965:无法打开源文件"debug.h"

1在编译"./MSP432P4xx/interrupt.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/interrupt.obj]错误1.

"./MSP432P4xx/pmap.c"、第37行:致命错误#1965:无法打开源文件"debug.h"

1在编译"./MSP432P4xx/pmap.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/pmap.obj]错误1.

"./MSP432P4xx/PCM.c"、第41行:致命错误#1965:无法打开源文件"PCM.h"

1在编译"./MSP432P4xx/PCM.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/PCM.obj]错误1.

"./MSP432P4xx/reset.c"、第37行:致命错误#1965:无法打开源文件"reset.h"

1在编译"../MSP432P4xx/reset.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/reset.obj]错误1.

"./MSP432P4xx/ref_a.c"、第37行:致命错误#1965:无法打开源文件"ref_a.h"

1在编译"../MSP432P4xx/ref_a.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/ref_a.obj]错误1.

"./MSP432P4xx/PSS.c"、第41行:致命错误#1965:无法打开源文件"PSS.h"

1在编译"../MSP432P4xx/PSS.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/PSS.obj]错误1.

"./MSP432P4xx/RTC_c.c"、第37行:致命错误#1965:无法打开源文件"RTC_c.h"

1在编译"../MSP432P4xx/RTC_c.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/RTC_c.obj]错误1.

"./MSP432P4xx/SPI.c"、第37行:致命错误#1965:无法打开源文件"SPI.h"

1在编译"../MSP432P4xx/SPI.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/SPI.obj]错误1.

构建文件:"../MSP432P4xx/comp_e.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_display_guides="p32xx_abp_code.4xx_code-comb_code.4p_code.4xx_comprudp_code.4xx_code.com_code.4xx_code.com_code.4xx_code.com_ab_code.4xx_prob_code.com_code.4p_prob_code.4xx_code.com_prob_code.4xx_code.com_prob_code.4p_code.4xx_code._code.com_code.com_code.4xx_code._code.com_codest_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/comp_e.obj'的配方失败

"./MSP432P4xx/SysTick .c"、第37行:致命错误#1965:无法打开源文件"Debug.h"

1在编译"./MSP432P4xx/SysTick .c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/SysTick.obj]错误1.

"./MSP432P4xx/timer32.c"、第37行:致命错误#1965:无法打开源文件"timer32.h"

1在编译"../MSP432P4xx/timer32.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/timer32.obj]错误1.

"./MSP432P4xx/sysctl.c"、第42行:致命错误#1965:无法打开源文件"sysctl.h"

1在编译"./MSP432P4xx/sysctl.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/sysctl.obj]错误1.

"./MSP432P4xx/timer_a.c"、第37行:致命错误#1965:无法打开源文件"timer_a.h"

1在编译"../MSP432P4xx/timer_a.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/timer_a.obj]错误1.

"./MSP432P4xx/UART.c"、第37行:致命错误#1965:无法打开源文件"UART.h"

1在编译"../MSP432P4xx/UART.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/UART.obj]错误1.

"./MSP432P4xx/WDT_a.c"、第41行:致命错误#1965:无法打开源文件"WDT_a.h"

1在编译"../MSP432P4xx/WDT_a.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/WDT_a.obj]错误1.

编译文件:"../main.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --advice:power-define=_csp432p=main_remonuse-ctrature=gproc-pred_code.comprication_proc-ma-tr-g_prob_remote_remote_remote_remote_remote_remote_remote_remote_remote_remote_remote_trage=-trage=g.cc=-tranag-tran.cc=g.cc=g.tran.tran.tran.tran.tran.trab  

 

>>编译失败

subdir_rules.mk:7:目标'main.obj'的配方失败

构建文件:"../MSP432P4xx/adc14.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_code.com/support/prob_prob_trab_code.com/support/p32xx_prob_prob_code.com_prob_prob_prob_prob_trab-p432p_code.14 -code.com_prob_prob_prob_prob_prob_prob_trab_code.14 -code.com_prob_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_trab_trab-code.14 -code.com_code.com_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/adc14.obj'的配方失败

构建文件:"../MSP432P4xx/CPU .c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_support="p32xx"--usb_prev_cpuature-board=msp432xx_cp_code-board_code.comprudp4p_cp_tr-code.g_ab_cp_code.com_prob_prob_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_4p432p_code.p_prob_prob_prob_tr-  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/CPU。obj'的配方失败

编译文件:"../MSP432P4xx/cs.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=us_support="p32xx"--usb_pred_code.com/support/prob_prob_prob_trab_code.com/support/p32xx_prob_prob_prob_code.com/support/prob_prob_prob_prob_prob_prob_prob_trab_code.c -p432p432p_code.c -code.c -code.com_ab_ab_prob_prob_prob_prob_prob_prob_prob_prob_prob_trab_prob_code.c -code.c -code.c -  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/cs.obj'的配方失败

构建文件:"../MSP432P4xx/dma.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--com/support/dma="p32xx_predma="p32xx_ab_code.com/support/dma="p32xx_prob_ab_prob_trab_code.com/support/dma-code.com/support/dma-code.com_prob_prob_prob_prob_prob_prob_prob_prob_4p32xx/pred_code.com_prob_prob_prob_prob_prob_prob_code.com_prob_prob_prob_prob_4p432p_prob_ab_trab_code.com_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/dma.obj'的配方失败

构建文件:"../MSP432P4xx/flash.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_support="p32xx"--usb_pred_decurity=msp432p_code-board_ab-mp_trab-code.come-board_code.trab_ab_trab_code.com/support/p32xx/pred_ab_prob_code.com_prob_prob_prob_prob_prob_romage=mp_prob_code.g_trab_code.g_prob_trab_code.com_prob_prob_prob_prob_trab_prob_prob_trab-code.com_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/flash.obj'的配方失败

编译文件:"../MSP432P4xx/FPU.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=us_support="pccs=us_pre32xx"--msp4pbature=mpu_decure-com_code.comprature-4p4p_code.p_ab_code.com_proc-mp="-mpu_code.p4p4p_code.p4p_code.com_code.com_ab_code.p_code.p_ab_code.com_ab_ab_code.com_prob_prob_prob_prob_code.p_prob_prob_code.p=mp="-code.p_code.p_code.p_ab  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/FPU.obj'的配方失败

"./MSP432P4xx/CRC32.c"、第39行:致命错误#1965:无法打开源文件"Debug.h"

1在编译"../MSP432P4xx/CRC32.c"时检测到灾难性错误。

编译已终止。

gmake:***[MSP432P4xx/CRC32.obj]错误1

构建文件:"../MSP432P4xx/i2c.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_display_guides:power-define="p432p_ip_decuration="-mp_ipotr="p4xx/ip_decuration="p432xx"--ipotrus_ab-mp-ipotr_ature=mp-ipt_ature=mp-mp-iptide-4xx/ipt_ature_ature_ateg-mp-mp-mp-mp-mp_ecnature_ature_guide-p432p432p_ab-mp-mp-mp-mp-mp-ature_guidec_dec_dec_decnature=mp-  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/i2c.obj 的配方失败

构建文件:"../MSP432P4xx/GPIO.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_code.come_p32xx_prob_prob_prob="-p432p_trab_code.gp_code.gp_code.gp_code.gp_trab_code.com_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_prob_prob_prob_trab_code.gp432p_prob_code.gp_prob_prob_prob_prob_prob_trab_prob_code.g_prob_trab_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/GPIO.obj'的配方失败

构建文件:"../MSP432P4xx/MPU.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=power-define="p432p_supert="-msp4xx/pred_decurity=msp432p_code.com_prob="-mp4xx/pred_code.comb_ab-mp4xx/pred_decurity=mp4xx/mp4xx/pred_code.p32p_ab_code.com_code.com_probulation="-mp4xx/mp4xx/pred_code.p32p_ab_code.com_ab_ab_ab_code.p_ab_code.p_code.com_ab_prob_code.p432p  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/MPU.obj'的配方失败

生成文件:"../MSP432P4xx/interrupt.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_support="p32xx"--us_pred_about_trendation="msp432p_display_ab_trab-us_trab-code.com/support/directory=msp4p32xx/pred_ab_directory=mp_ab_ab_ab-us-us-us_ab_ab_remote_display_ab-us-us-us_trab-us_trag_ab_trag_tranag-us_ab-us_ab-out_ab-out_trendag_ab-us_ab-us_tranag_tranag-cored.  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/interrupt.obj'的配方失败

构建文件:"../MSP432P4xx/pmap.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_map_prevature=p32xx-msp4xx_prob_code.comprudp432p_tr-p_code.com_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_trab-p432p432p_directory=-us-code.com_prob_prob_prob_prob_prob_prob_prob_code.p432p4xx/pred_prob_prob_prob_prob_code.p432p4p_directory=-code.p_ab  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/pmap.obj'的配方失败

构建文件:"../MSP432P4xx/PCM.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usbp432p_remote_display-mpctr-code.come_p32xx-mpccs_pre4xx-mpccs_code.comprudp432p_code.g_code.com_ab_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_code.p432p_code.p_tr-code.com_prob_prob_prob_prob_prob_prob_prob_prob_prob_prob_prob_code.com_prob_prob.  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/PCM.obj'的配方失败

编译文件:"../MSP432P4xx/reset.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_remote_p32xx --msp432p_reature=msp4xx_code.comprudp4p_code.com_ab_tr-code.com_proc-remote_remote_p32xx-msp4p_prob_code.com_prob_prob_prob_trab_code.com_prob_prob_trab-code.com_prob_prob_prob_prob_prob_trab_code.com_prob_prob_prob_trab-code.com_prob_prob_prob_code.  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/reset.obj'的配方失败

构建文件:"../MSP432P4xx/ref_a.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_display_guides:power-define="p432p_abp_tr-code-com/support/prob_code-board_pred=msp432p_trab_ateg-code-board_ab-code.com_trab_code.com_proc-trab_trab_code.com_proc-pg_prob_prob_trab_code.com/support/prob_trab_code.p32xx/pred_ab_prob_ab_code.com_prob_prob_prob_prob_prob_trab_code.com_prob_prob_prob_tr  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/ref_a.obj'的配方失败

构建文件:"../MSP432P4xx/PSS.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=power-define="p32xx_super-p32xx/prob="p32xx_prep_code.cc_ptrus_code.com/support/p32xx_prob_prob_trus_ab_code.com/support/p32xx_prob_prob_prob_prob_prob_prob_trus-code.p432p_trus_ab_code.p432p_ab_trus_ab_code.p4p_code.p_trus_trus_ab_trus=-code.p32xx/pred_prob_prob_prob_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/PSS.obj'的配方失败

构建文件:"../MSP432P4xx/RTC_c.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=ctrab_prev_code.com/support/p32xx_trab_prud_cp_trab_code.com/support/p32xx_ab_trab_code.com_trab_trat_code.com/support/p32xx_ab_trat_ab_prob_trab_code.com_trab_prob_trab_prob_code.com_trab_prob_prob_code.com_prob_prob_prob_prob_prob_prob_trab_trab_trab_code.com_prob_code.com_prob_prob_prob_tr  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/RTC_c.obj'的配方失败

构建文件:"../MSP432P4xx/SPI.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_remote_p32xx --spi_decurity=spi_code.4p32xx-spi_ab_code.comprudp_spi_code.c -spi_code.c -spi_trab_code.com/support/p432p4xx_ab_code.com_ab_prob_ab_code.com_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_code.com_prob_prob_prob_prob_prob_prob_4p_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/SPI.obj'的配方失败

构建文件:"../MSP432P4xx/SysTick .c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_remote_display="p32xx_pred="p32xx"--msp432p_trab_code-comb_decurity-code.come_remote_display-msp4xx-mccs_trab-code.come_display_trab_trab-code.com/support/system32xx-code.trab_trab_trab_code.com/support/us_code.com/support/us_code.com/support/us_code.com/support/us_code.com/support/system_trab_prob_prob_trab_trab_code.com/support/us_code.com/support/system32xx/index_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/SysTick .obj'的配方失败

构建文件:"../MSP432P4xx/timer32.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--com/support/timerabi="p32xx_pred=MSP432_ab_trateg-timer4xx/timerature=msp32xx_ab_trab-code.com_trab_code.com/support/system_prob_prob_code.com/support/system_prob_prob_prob_trab-timer32_ab_ab_code.com-code.com/support/system_prob_prob_prob_prob_trab_code.com_prob_trab_code.com/support/system_prob_prob_prob_code.com/support/system_prob_prob_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/timer32.obj'的配方失败

编译文件:"../MSP432P4xx/sysctl.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_code.com/support/prob_trab_code.com/support/p32xx_prob_prob_code.com/support/system32b_prob_prob_prob_prob_code.com/support/system_prob_prob_prob_prob_prob_trab_code.com/support/system_prob_prob_prob_prob_trab_code.com/support/us_prob_prob_code.com/support/system_prob_prob_prob_prob_prob_prob_prob_prob_code.com/support/us_trab_code.com/support/us_prob  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/sysctl.obj'的配方失败

构建文件:"../MSP432P4xx/timer_a.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=use_remote_display_guides=msp432p_tratem-code-comb_decurity=mp-mp_code.4xx-mp_code.come_p32xx-mp_ab_code.comprudp4xx/pg_code.comprudp432p-timer_ature-proc-mp_ab_ab_code_remotr_debr_debr_code.com_ature-directory=-mp_ab-mp_ab-mp_ab-mp-mp_code.4xx/pre32xx-mp_ab_code.tag_ab_ab-mp4.  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/timer_a.obj'的配方失败

构建文件:"../MSP432P4xx/UART.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=usb_code.com/support/p32xx_prob_prob_code.c --us_prob_trab_code.com_prob_prob_prob_trab_code.com_prob_prob_prob_prob_prob_4p32xx-code.com_prob_prob_prob_prob_prob_prob_prob_trus_code.g_prob_prob_prob_trab_prob_code.com_prob_prob_prob_prob_prob_prob_prob_prob_trab_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/UART.obj'的配方失败

构建文件:"../MSP432P4xx/WDT_a.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=us_support="p32xx_pred=msp432p_ature-comb_ab_ateg_tr-us_ab-code.4p32xx/pred_ab_ab_trab_code.com_ab_trab_code.com_ab_prob_prob_prob_prob_trab_code.com_prob_prob_trab_trab_code.com_ab_prob_trab_code.p32xx/pred_prob_ab_prob_ab_trab_code.com_prob_prob_prob_prob_trab_code.com_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/WDT_a.obj'的配方失败

构建文件:"../MSP432P4xx/CRC32.c"

调用:ARM 编译器

"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include --include_path="/Applications/ti/ccs1000/ccs/ccs_base/arm/include/CMSIS --include_path="/Users/paolalondono/Desktop/lab3 --include_path="--include_path="/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/include --include_path="--us=ccs=_pre32b_trab_code-com/support/p32xx_prob_prob_prob_code.com_prob_prob_prob_prob_prob_trab_code.com_prob_prob_prob_prob_prob_trab_code.com_prob_prob_prob_prob_prob_trab_trab_code.com_prob_prob_prob_prob_prob_prob_trab_code.32 -code.com_prob_prob_prob_prob_prob_trab_prob_  

 

>>编译失败

MSP432P4xx/subdir_rules.mk:7:目标'SP432P4xx/CRC32.obj'的配方失败

gmake:目标"全部"不会由于错误而重新生成。

****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您使用的是 CCS 吗? 如果是、最好从 TI Resource Explorer 导入现有的 DriverLib 项目、而不是手动添加所有内容。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 James! 谢谢! 我从 TI Resource Explorer 中添加了 DriverLib、现在当我调试代码时、我仍然会收到相同的消息:

    Cortex_M4_0:GEL:加载文件时遇到问题:/Users/paolalondono/Desktop/lab3/Debug/lab3.out 无法打开文件

    但是、当我按 Build 时、我现在得到的结果是:

    ****项目 Lab3的配置调试构建****

    /Applications/ti/ccs1000/ccs/utils/bin/gmake -k -j 7 all -O  

     

    构建文件:"../msp432_driverlib_3_21_00_05/packages/ti/msp432/driverlib/product/package/build.cfg"

    调用:XDCtools

    "/Applications/ti/ccs1000/xdctools_3_61_00_16_core/xs "--xdcpath= xdc.tools.configuro configPkg -r debug -c "/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS ""./msp432_driverlib_3_21_00_05/packages/ti/mcu/msp432/driverlib/product/package/build.cfg"

    msp432_driverlib_3_21_00_05/packages/ti/msp432/driverlib/product/packages/subdir_rules.mk:10:目标'build-28777669-InProc '的配方失败

    JS:"/Applications/ti/ccs1000/xdctools_3_61_00_16_core/packages/xdc/tools/Cmdr.xs、第52行:错误:xdc.tools.configuro:错误:没有命名的目标:请使用-t、-b 或-cb

    gmaking[1]:***[Build-28777669-InProC]错误1.

    gmake:***[build-287776689]错误2.

    msp432_driverlib_3_21_00_05/packages/ti/msp432/driverlib/product/packages/subdir_rules.mk:7:目标'build-287776689'的配方失败

    gmake:目标"全部"不会由于错误而重新生成。

    ****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="483954" URL"~/support/tools/ccs/f/code-composer-studio-forum/993662/problem-with-ti-rslk-using-msp432-mspdriverlib/3670952 #3670952"]我从 TI Resource Explorer 中添加了 DriverLib

    您能描述一下您是如何做到这一点的吗?

    我尝试复制您的问题、但未遇到构建错误。 在 CCS 中、我转到了 TI Resource Explorer >软件> SimpleLink MSP432P4 SDK (3.40.01.02)>示例>开发工具> MSP432P401R LaunchPad -红色2.x (红色)> DriverLib、并将两个项目导入到了我的工作区中:

    • GPIO_TOGGLE_OUTPUT MSP_EXP432P401R_nortos_CCS
    • adc14_single_channel_temperature_sensor_MSP_EXP432P401R_nortos_ccs

    两个工程均构建无错误。 在对代码进行任何更改之前、您可以在您的一侧尝试一下吗?