NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

Arduino IDE ext_nimble_config.h: No such file or directory

Open IRGLMC opened this issue 1 year ago • 10 comments

Arduino IDE ext_nimble_config.h: No such file or directory NimBLE-Arduino.zip included Arduino library which does not have the file in it.

IRGLMC avatar Dec 27 '23 08:12 IRGLMC

i've been experiencing the same issue. I've also tried un/re install the lib on Arduino IDE2 or use a previous version.

Alcalzard avatar Dec 28 '23 16:12 Alcalzard

What board are you building this for? If not building for and esp32 then you need to use the n-able platform.

h2zero avatar Dec 29 '23 05:12 h2zero

Facing the same issue when building for an NRF52480

cvanelteren avatar Jan 03 '24 14:01 cvanelteren

Please check your environment, you need to be using the n-able core for this file to be found.

h2zero avatar Jan 09 '24 01:01 h2zero

Please check your environment, you need to be using the n-able core for this file to be found.

I have same problem, I have a Arduino Uno R4 WiFi. Does this library work with this board?

OscarSheng avatar Feb 21 '24 19:02 OscarSheng

This library will support the S3 that is on the UNO R4 WiFi, however the build environment doesn't see to have the chip defined in the config. You'll want to add these definitions to your environment somewhere:

ESP_PLATFORM
CONFIG_IDF_TARGET_ESP32S3

h2zero avatar Feb 21 '24 19:02 h2zero

This library will support the S3 that is on the UNO R4 WiFi, however the build environment doesn't see to have the chip defined in the config. You'll want to add these definitions to your environment somewhere:

ESP_PLATFORM
CONFIG_IDF_TARGET_ESP32S3

Sorry for bothering. I'm new to this. I couldn't figure this out myself. Can you give me a more specific instruction?

OscarSheng avatar Feb 23 '24 17:02 OscarSheng

Happy to help but I need to know more about your build environment. Are you using Arduino IDE or Platformio? If Arduino IDE I don't think there is much I can say, but in platformio you can add this:

build_flags = 
  '-DESP_PLATFORM'
  '-DCONFIG_IDF_TARGET_ESP32S3'

h2zero avatar Feb 25 '24 00:02 h2zero

Happy to help but I need to know more about your build environment. Are you using Arduino IDE or Platformio? If Arduino IDE I don't think there is much I can say, but in platformio you can add this:


build_flags = 

  '-DESP_PLATFORM'

  '-DCONFIG_IDF_TARGET_ESP32S3'

I'm using Arduino IDE. I thought the config should be already setup by the IDE?

OscarSheng avatar Feb 26 '24 17:02 OscarSheng

I'm not sure how the Arduino IDE handles this board since it has 2 chips on it. I believe you would need to change the board to an esp32s3 in the IDE to compile this and upload it differently than you normally do for the main chip on this board.

h2zero avatar Feb 26 '24 20:02 h2zero

HI!

I'm trying to add this to TTGO Lilygo T-Echo which is NRF52840 using platformio and I'm getting the:

In file included from .pio/libdeps/ttgo_t_echo/NimBLE-Arduino/src/NimBLEDevice.h:18:0, from src/ble_utils.cpp:1: .pio/libdeps/ttgo_t_echo/NimBLE-Arduino/src/nimconfig.h:6:10: fatal error: ext_nimble_config.h: No such file or directory

you mentioned using

Please check your environment, you need to be using the n-able core for this file to be found.

but I dont get how to add this and keep on going with this....

richonguzman avatar May 17 '24 22:05 richonguzman

If you're using this library with an nRF device then you need to use the n-able Arduino core which will set the environment correctly.

h2zero avatar May 21 '24 02:05 h2zero

on the n-able Arduino are there examples of how to do this?

richonguzman avatar May 21 '24 02:05 richonguzman

@richonguzman Please refer to the in instructions in the readme here: https://github.com/h2zero/n-able-Arduino

h2zero avatar May 22 '24 00:05 h2zero

@richonguzman Please refer to the in instructions in the readme here: https://github.com/h2zero/n-able-Arduino

on the readme it appears:

platform = https://github.com/h2zero/platform-n-able.git#1.0.0

should this replace the

platform = nordicnrf52

i have on platformio?

richonguzman avatar May 22 '24 02:05 richonguzman

Yes, that is how you change the core to be able to use this library.

h2zero avatar May 22 '24 03:05 h2zero

Yes, that is how you change the core to be able to use this library.

thanks will test it tomorrow ! ;)

richonguzman avatar May 22 '24 03:05 richonguzman

Hi, I'm trying to connect an xbox controller to an arduino nano with the XboxSeriesXControllerESP32_asukiaaa library. And when I run the example program vibration , I get the same error: Arduino\libraries\NimBLE-Arduino\src/nimconfig.h:6:10: fatal error: ext_nimble_config.h: No such file or directory

Any thoughts?

https://github.com/asukiaaa/arduino-XboxSeriesXControllerESP32/blob/main/examples/vibration/vibration.ino

Faydhax07 avatar May 29 '24 18:05 Faydhax07

Hi, I'm trying to connect an xbox controller to an arduino nano with the XboxSeriesXControllerESP32_asukiaaa library. And when I run the example program vibration , I get the same error: Arduino\libraries\NimBLE-Arduino\src/nimconfig.h:6:10: fatal error: ext_nimble_config.h: No such file or directory

Any thoughts?

https://github.com/asukiaaa/arduino-XboxSeriesXControllerESP32/blob/main/examples/vibration/vibration.ino

Which Arduino Nano do you have? The basic Arduino Nano is a different chip from the ESP32 and is not compatible with the NimBLE library, unfortunately.

thorrak avatar May 29 '24 18:05 thorrak

I've a Nano Character3.0. Actually, I don't think it's even made by Arduino... But I bought it here : https://fr.aliexpress.com/item/1005006075009172.html?spm=a2g0n.order_detail.order_detail_item.3.2d467d56OqErJx&gatewayAdapt=glo2fra

If it is not compatible with the nimble library, can't I just install an emulator or buy a physical converter or something like that ?

Faydhax07 avatar May 30 '24 08:05 Faydhax07

I've a Nano Character3.0. Actually, I don't think it's even made by Arduino... But I bought it here : https://fr.aliexpress.com/item/1005006075009172.html?spm=a2g0n.order_detail.order_detail_item.3.2d467d56OqErJx&gatewayAdapt=glo2fra

If it is not compatible with the nimble library, can't I just install an emulator or buy a physical converter or something like that ?

That is an ATMega 328-based Nano which is not compatible with this library. Those devices do not have any radios whatsoever, and thus cannot work with Bluetooth devices.

thorrak avatar May 30 '24 20:05 thorrak

Closing this as I believe it to be answered.

h2zero avatar Jun 05 '24 15:06 h2zero