Open zackdvd opened 5 years ago
I believe part of the issue is that doing a standard git clone
doesn't pull the BME280 driver from the Bosch repository into the /components/bme280/driver folder.
I was able to get further with that in place, but now I am running into a bunch of errors due to undefined and mismatched datatypes in the main.c file.
Regards error "No rule to make target 'driver/bme280.o'" during compiling:
CXX build/asio/asio/asio/src/asio.o AR build/asio/libasio.a make[1]: No rule to make target 'driver/bme280.o', needed by 'libbme280.a'. Stop. ~/esp/esp-idf/make/project.mk:609: recipe for target 'component-bme280-build' failed make: [component-bme280-build] Error 2
Solution:
Copy the files
bme280.c
and
bme280.h
from
https://github.com/BoschSensortec/BME280_driver/tree/cf40d00b0b5139e287b670881c433c0041d98d9f
into
/home/xox/esp/esp-idf/projects/esp32-ota-https/components/bme280/driver
and compile again.
Hi, thanks for your code. I'm having trouble compiling this, is this an issue? If not maybe you can give me a hint please!
Thank you!