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

ESP_ERROR_CHECK failed on platformio, [email protected] #643

Open
Darmandran opened this issue Mar 4, 2024 · 2 comments
Open

ESP_ERROR_CHECK failed on platformio, [email protected] #643

Darmandran opened this issue Mar 4, 2024 · 2 comments

Comments

@Darmandran
Copy link

Darmandran commented Mar 4, 2024

Hi, since beginning of the year i been having issues with the platformio,

[env:esp32dev]
platform = [email protected]
board = esp32dev 
framework = arduino
board_build.filesystem = littlefs 
monitor_speed = 115200
08:54:35.508 > ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40094b70
08:54:35.514 > file: ".pio/libdeps/esp32dev/NimBLE-Arduino/src/NimBLEDevice.cpp" line 879
08:54:35.519 > func: static void NimBLEDevice::init(const string&)
08:54:35.525 > expression: esp_bt_controller_init(&bt_cfg)
08:54:35.527 > 
08:54:35.527 > abort() was called at PC 0x40094b73 on core 1
08:54:35.533 > 
08:54:35.533 > 
08:54:35.533 > Backtrace: 0x40084105:0x3ffced50 0x40094b7d:0x3ffced70 0x4009a8e1:0x3ffced90 0x40094b73:0x3ffcee10 0x400f2236:0x3ffcee30 0x400d3775:0x3ffcee80 0x400d602b:0x3ffceec0 0x40105fda:0x3ffcef20
08:54:35.550 >

the code in use is from the example beacon scan

BLEDevice::init("");
 pBLEScan = BLEDevice::getScan(); 
 pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
 pBLEScan->setActiveScan(false); // set it to false for scan_evt error 
 pBLEScan->setInterval(100);
 pBLEScan->setWindow(80); 
 pBLEScan->setMaxResults(0);

for
platform = [email protected] has no issues

@h2zero
Copy link
Owner

h2zero commented Jun 4, 2024

No idea what the problem with this would be but 6.7.0 has no such issue. Have you resolved this?

@Darmandran
Copy link
Author

for now i have been sticking with platform = [email protected], and its been good.

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