No rule to make target 'extmod/modbluetooth_nimble.c'
make: *** No rule to make target 'extmod/modbluetooth_nimble.c', needed by 'build-GENERIC/genhdr/qstr.i.last'。
it's build failing, what can I do for this?
I am having the same issue - were you able to solve this?
I am trying to recompile esp32-cam-1-11-498, but I am really just looking to see that my process works, so I don't really care where I start.
Full error:
make: *** No rule to make target 'extmod/modbluetooth_nimble.c', needed by 'build-GENERIC/genhdr/qstr.i.last'. Stop.
Looking deeper, in the Makefile I see the following. I am assuming that changing MICROPY_PY_BLUETOOTH to '0' will bypass this module. Now to figure out how to do this at the command line... (or change the '?= to 0', which might also work)
Support BLE by default when building with IDF 4.x.
Can be explicitly disabled on the command line or board config.
ifeq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH_V4)) MICROPY_PY_BLUETOOTH ?= 1 ifeq ($(MICROPY_PY_BLUETOOTH),1) SDKCONFIG += boards/sdkconfig.ble MICROPY_BLUETOOTH_NIMBLE = 1 endif endif