Skip to content

Commit

Permalink
Add config option for BLE OTA updates
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero committed Dec 23, 2024
1 parent 626b29e commit 5c92bac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/replace_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ def main():
except Exception as e:
print(f"Error occurred: {e}")

if "'-DUSE_BLE_OTA'" in env["BUILD_FLAGS"]:
env["BUILD_FLAGS"].remove("'-DCONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED'")
env["BUILD_FLAGS"].remove("'-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED'")

main()

0 comments on commit 5c92bac

Please sign in to comment.