Skip to content
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

Arduino IDE ext_nimble_config.h: No such file or directory #622

Open
IRGLMC opened this issue Dec 27, 2023 · 17 comments
Open

Arduino IDE ext_nimble_config.h: No such file or directory #622

IRGLMC opened this issue Dec 27, 2023 · 17 comments

Comments

@IRGLMC
Copy link

IRGLMC commented Dec 27, 2023

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.

@Alcalzard
Copy link

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

@h2zero
Copy link
Owner

h2zero commented Dec 29, 2023

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

@cvanelteren
Copy link

Facing the same issue when building for an NRF52480

@h2zero
Copy link
Owner

h2zero commented Jan 9, 2024

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

@OscarSheng
Copy link

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?

@h2zero
Copy link
Owner

h2zero commented Feb 21, 2024

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

@OscarSheng
Copy link

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?

@h2zero
Copy link
Owner

h2zero commented Feb 25, 2024

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'

@OscarSheng
Copy link

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?

@h2zero
Copy link
Owner

h2zero commented Feb 26, 2024

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.

@richonguzman
Copy link

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....

@h2zero
Copy link
Owner

h2zero commented May 21, 2024

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.

@richonguzman
Copy link

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

@h2zero
Copy link
Owner

h2zero commented May 22, 2024

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

@richonguzman
Copy link

@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?

@h2zero
Copy link
Owner

h2zero commented May 22, 2024

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

@richonguzman
Copy link

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

thanks will test it tomorrow ! ;)

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

6 participants