esp32-cam-micropython icon indicating copy to clipboard operation
esp32-cam-micropython copied to clipboard

No rule to make target 'extmod/modbluetooth_nimble.c'

Open hxp2git opened this issue 5 years ago • 2 comments

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?

hxp2git avatar May 16 '20 05:05 hxp2git

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.

hoffberg avatar May 31 '20 01:05 hoffberg

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

hoffberg avatar Jun 06 '20 23:06 hoffberg