用STM32 CUBE ide添加vl 53 l1库到我的项目,单片机是STM32 G 030 FX 我解压en. STSW-IMG 007到drivers/vl53l1/core and drivers/vl53l1/plattform 在编译项目后,出现错误 16:37:31 **** Build of configuration Debug for project TOF **** make -j2 all arm-none-eabi-gcc "../Drivers/VL53L1/platform/vl53l1_platform.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -c -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/VL53L1/platform/vl53l1_platform.d" -MT"Drivers/VL53L1/platform/vl53l1_platform.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/VL53L1/platform/vl53l1_platform.o" arm-none-eabi-gcc "../Drivers/VL53L1/core/vl53l1_api.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -c -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/VL53L1/core/vl53l1_api.d" -MT"Drivers/VL53L1/core/vl53l1_api.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/VL53L1/core/vl53l1_api.o" In file included from ../Drivers/VL53L1/platform/vl53l1_platform.c:65:0: ../Drivers/VL53L1/platform/vl53l1_platform.h:67:10: fatal error: vl53l1_ll_def.h: No such file or directory #include "vl53l1_ll_def.h"
|