Error[Pe020]: identifier "GPIO_TypeDef" is undefined C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.1.1\foc0628\MCSDK_v5.1.0\MotorControl\MCSDK\MCLib\Any\Inc\digital_output.h 81 Error[Pe020]: identifier "GPIO_TypeDef" is undefined C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.1.1\foc0628\MCSDK_v5.1.0\MotorControl\MCSDK\MCLib\Any\Inc\ntc_temperature_sensor.h 92 Warning[Pe223]: function "MC_Scheduler" declared implicitly C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.1.1\foc0628\MCSDK_v5.1.0\MotorControl\Applications\Test_MotorApp\Src\Timebase.c 88 Warning[Pe223]: function "TSK_SafetyTask" declared implicitly C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.1.1\foc0628\MCSDK_v5.1.0\MotorControl\Applications\Test_MotorApp\Src\Timebase.c 90 Warning[Pe223]: function "UI_Scheduler" declared implicitly C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.1.1\foc0628\MCSDK_v5.1.0\MotorControl\Applications\Test_MotorApp\Src\Timebase.c 98 Error while running C/C++ Compiler Total number of errors: 192 Total number of warnings: 104 采用MotorControl Workbench 5.1.1导出的IAR FOC工程文件编译无法通过,好多错误! |
警告是隐式申明问题,可能是没申明(包含下头文件),可能是条件编译#ifdef
评分
查看全部评分
评分
查看全部评分
从错误代码上看可能是GPIO被屏蔽了或者头文件中没有定义。
评分
查看全部评分