Skip to content

Fix S3 startup due to ble_gap_adv_active crash#10858

Merged
tannewt merged 1 commit intoadafruit:mainfrom
tannewt:fix_esp32s3_startup
Feb 26, 2026
Merged

Fix S3 startup due to ble_gap_adv_active crash#10858
tannewt merged 1 commit intoadafruit:mainfrom
tannewt:fix_esp32s3_startup

Conversation

@tannewt
Copy link
Member

@tannewt tannewt commented Feb 26, 2026

ble_gap_adv_active() crashes now when BLE hasn't been init. This is likely due to internal memory allocations in esp-nimble.

So, check enabled before calling into it.

Fixes #10849

ble_gap_adv_active() crashes now when BLE hasn't been init. This is
likely due to internal memory allocations in esp-nimble.

So, check enabled before calling into it.

Fixes micropython#10849
@tannewt tannewt requested a review from dhalbert February 26, 2026 20:21
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@tannewt tannewt merged commit aff6e32 into adafruit:main Feb 26, 2026
199 checks passed
@grgrant
Copy link

grgrant commented Feb 27, 2026

Fixed the crash I mentioned in comment to PR10850.

#10840 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants