From 83f077aed900d1d771070a525ab51b0270e42efd Mon Sep 17 00:00:00 2001 From: Keith Burzinski Date: Thu, 12 Dec 2024 03:15:32 -0600 Subject: [PATCH 1/2] S3 updates based on switch to IDF 5.1+ --- esp32-generic/esp32-generic-c3.yaml | 6 +--- esp32-generic/esp32-generic-s3.factory.yaml | 24 +++++++++++++ esp32-generic/esp32-generic-s3.yaml | 39 +++++++++++++++++++++ m5stack/m5stack-atom-s3.yaml | 5 +-- 4 files changed, 65 insertions(+), 9 deletions(-) create mode 100644 esp32-generic/esp32-generic-s3.factory.yaml create mode 100644 esp32-generic/esp32-generic-s3.yaml diff --git a/esp32-generic/esp32-generic-c3.yaml b/esp32-generic/esp32-generic-c3.yaml index 1dead68..c151fc5 100644 --- a/esp32-generic/esp32-generic-c3.yaml +++ b/esp32-generic/esp32-generic-c3.yaml @@ -1,12 +1,8 @@ esphome: name: esp32-bluetooth-proxy friendly_name: Bluetooth Proxy - min_version: 2024.6.0 + min_version: 2024.12.0 name_add_mac_suffix: true - platformio_options: - board_build.f_flash: 40000000L - board_build.flash_mode: dio - board_build.flash_size: 4MB esp32: board: esp32-c3-devkitm-1 diff --git a/esp32-generic/esp32-generic-s3.factory.yaml b/esp32-generic/esp32-generic-s3.factory.yaml new file mode 100644 index 0000000..896aad4 --- /dev/null +++ b/esp32-generic/esp32-generic-s3.factory.yaml @@ -0,0 +1,24 @@ +packages: + esp32-generic-s3: !include esp32-generic-s3.yaml + +esphome: + project: + name: esphome.bluetooth-proxy + version: dev + +improv_serial: + +ota: + - platform: http_request + id: ota_http_request + +update: + - platform: http_request + id: update_http_request + name: Firmware + source: https://firmware.esphome.io/bluetooth-proxy/esp32-generic/manifest.json + +http_request: + +dashboard_import: + package_import_url: github://esphome/bluetooth-proxies/esp32-generic/esp32-generic-s3.yaml@main diff --git a/esp32-generic/esp32-generic-s3.yaml b/esp32-generic/esp32-generic-s3.yaml new file mode 100644 index 0000000..8bd69f6 --- /dev/null +++ b/esp32-generic/esp32-generic-s3.yaml @@ -0,0 +1,39 @@ +esphome: + name: esp32-bluetooth-proxy + friendly_name: Bluetooth Proxy + min_version: 2024.12.0 + name_add_mac_suffix: true + +esp32: + board: esp32-s3-devkitc-1 + framework: + type: esp-idf + +wifi: + ap: + +api: +logger: + +ota: + - platform: esphome + id: ota_esphome + +esp32_ble_tracker: + scan_parameters: + # We currently use the defaults to ensure Bluetooth + # can co-exist with WiFi In the future we may be able to + # enable the built-in coexistence logic in ESP-IDF + active: true + +bluetooth_proxy: + active: true + +button: + - platform: safe_mode + id: button_safe_mode + name: Safe Mode Boot + + - platform: factory_reset + id: factory_reset_btn + name: Factory reset diff --git a/m5stack/m5stack-atom-s3.yaml b/m5stack/m5stack-atom-s3.yaml index 0367fa6..965b9b6 100644 --- a/m5stack/m5stack-atom-s3.yaml +++ b/m5stack/m5stack-atom-s3.yaml @@ -1,16 +1,13 @@ esphome: name: m5stack-atom-s3 friendly_name: Bluetooth Proxy - min_version: 2024.6.0 + min_version: 2024.12.0 name_add_mac_suffix: true esp32: board: m5stack-atoms3 - variant: esp32s3 framework: type: esp-idf - version: 5.0.2 - platform_version: 6.3.2 wifi: ap: From d039722035261173bdc74be44d2cf00aa00f9ef1 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 16 Jan 2025 07:44:11 +1300 Subject: [PATCH 2/2] Add to build --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6b37e5..ac01670 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: files: | esp32-generic/esp32-generic.factory.yaml esp32-generic/esp32-generic-c3.factory.yaml + esp32-generic/esp32-generic-s3.factory.yaml esphome-version: 2024.12.2 combined-name: esp32-generic release-summary: ${{ github.event_name == 'release' && github.event.release.body || '' }}