Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hxp2git opened this issue May 16, 2020 · 2 comments
Open

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

hxp2git opened this issue May 16, 2020 · 2 comments

Comments

@hxp2git
Copy link

hxp2git commented May 16, 2020

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?

@hoffberg
Copy link

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
Copy link

hoffberg commented Jun 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants