Title: Fail to compile for ESP32-C5 · Issue #1154 · h2zero/NimBLE-Arduino · GitHub
Open Graph Title: Fail to compile for ESP32-C5 · Issue #1154 · h2zero/NimBLE-Arduino
X Title: Fail to compile for ESP32-C5 · Issue #1154 · h2zero/NimBLE-Arduino
Description: Hello, I get the following error when trying to compile for the esp32-c5 dev module board. There is no issue when compiling for the esp32 dev module. In file included from /home/alejandro/Arduino/libraries/NimBLE-Arduino/src/nimble/porti...
Open Graph Description: Hello, I get the following error when trying to compile for the esp32-c5 dev module board. There is no issue when compiling for the esp32 dev module. In file included from /home/alejandro/Arduino/l...
X Description: Hello, I get the following error when trying to compile for the esp32-c5 dev module board. There is no issue when compiling for the esp32 dev module. In file included from /home/alejandro/Arduino/l...
Opengraph URL: https://github.com/h2zero/NimBLE-Arduino/issues/1154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fail to compile for ESP32-C5","articleBody":"Hello, I get the following error when trying to compile for the esp32-c5 dev module board. There is no issue when compiling for the esp32 dev module.\n\n```\nIn file included from /home/alejandro/Arduino/libraries/NimBLE-Arduino/src/nimble/porting/nimble/include/syscfg/syscfg.h:9,\n from /home/alejandro/Arduino/libraries/NimBLE-Arduino/src/syscfg/syscfg.h:2,\n from /home/alejandro/.arduino15/packages/esp32/tools/esp32c5-libs/3.3.8/include/bt/include/esp32c5/include/../../../../controller/esp32c5/esp_bt_cfg.h:19,\n from /home/alejandro/.arduino15/packages/esp32/tools/esp32c5-libs/3.3.8/include/bt/include/esp32c5/include/esp_bt.h:17,\n from /home/alejandro/Arduino/libraries/NimBLE-Arduino/src/NimBLEDevice.h:27,\n from /home/alejandro/Arduino/mini_rastreator/mini_rastreator.ino:9:\n/home/alejandro/Arduino/libraries/NimBLE-Arduino/src/nimble/esp_port/port/include/esp_nimble_cfg.h:21:29: error: operator '||' has no left operand\n 21 | #if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3\n | ^~\n/home/alejandro/Arduino/libraries/NimBLE-Arduino/src/nimble/esp_port/port/include/esp_nimble_cfg.h:896:28: error: #if with no expression\n 896 | #if CONFIG_IDF_TARGET_ESP32\n | ^\nexit status 1\n\nCompilation error: exit status 1\n```","author":{"url":"https://github.com/evoke0","@type":"Person","name":"evoke0"},"datePublished":"2026-05-26T20:04:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1154/NimBLE-Arduino/issues/1154"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a0ad6b9-5276-2904-4606-724d15ec706f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCD4:A73B:1FC66F:2B3AD2:6A4C1E51 |
| html-safe-nonce | 6026d6326b05efa042eed56c0ca9e79d9ee4c81975cd5ca675c9f7d248595a97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Q0OkE3M0I6MUZDNjZGOjJCM0FEMjo2QTRDMUU1MSIsInZpc2l0b3JfaWQiOiI3Mzc4NTEyMzMxNzc1MTU1NzkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 36fa1e37b5e9627d4867108dee0f997675ca09b15913362cfa305cd5d3212129 |
| hovercard-subject-tag | issue:4527127879 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/h2zero/NimBLE-Arduino/1154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01b91d3b06b89d6680df750ac488cd639ea35ce80cc6271360539691e2273008/h2zero/NimBLE-Arduino/issues/1154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01b91d3b06b89d6680df750ac488cd639ea35ce80cc6271360539691e2273008/h2zero/NimBLE-Arduino/issues/1154 |
| og:image:alt | Hello, I get the following error when trying to compile for the esp32-c5 dev module board. There is no issue when compiling for the esp32 dev module. In file included from /home/alejandro/Arduino/l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | evoke0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| turbo-cache-control | no-preview |
| go-import | github.com/h2zero/NimBLE-Arduino git https://github.com/h2zero/NimBLE-Arduino.git |
| octolytics-dimension-user_id | 32826625 |
| octolytics-dimension-user_login | h2zero |
| octolytics-dimension-repository_id | 244276348 |
| octolytics-dimension-repository_nwo | h2zero/NimBLE-Arduino |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 244276348 |
| octolytics-dimension-repository_network_root_nwo | h2zero/NimBLE-Arduino |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f95fb36c72adc940ff991c03531114b2245658d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width