Skip to content

Commit

Permalink
initial support for ESP32-H2... not working yet
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Sep 7, 2024
1 parent b6b72e4 commit c871c4f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.1.x] - 2024-??-??
## [4.2.0] - 2024-??-??

### New
- ESP32: ESP32-C6 and ESP32-H2 supported
- Wii: Add support for Wii uDraw Tablet. Fixes [Github Issue #105][github_issue_105]
- Wii: Add `uni_hid_parser_wii_request_report_type(struct uni_hid_device_s* d, wii_report_type_t r);`
- Allows user to change the Wii report type
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://github.com/ricardoquesada/bluepad32/blob/develop/docs/images/bluepad32_logo_ok_280.png?raw=true" alt="drawing" width="216"/>
</p>

A Bluetooth controller "host" for the ESP32, ESP32-S3, ESP32-C3, Raspberry Pi Pico W and Posix (Linux, macOS).
A Bluetooth controller "host" for the ESP32, ESP32-S3, ESP32-C3, ESP32-C6, ESP32-H2, Raspberry Pi Pico W and Posix (Linux, macOS).

Add Bluetooth gamepad, mouse and keyboard support to your projects easily.

Expand Down Expand Up @@ -111,8 +111,8 @@ Choose your target platform:
* Keyboards
* And more

NOTE: Original **ESP32** and **Pico W** support all listed controllers. **ESP32-S3** and **ESP32-C3** support only a
subset.
NOTE: Original **ESP32** and **Pico W** support all listed controllers. **ESP32-S3**, **ESP32-C3**, **ESP32-C6** and
**ESP32-H2** only support a subset.

See: [Supported gamepads][gamepads], [supported mice][mice] and [supported keyboards][keyboards]

Expand All @@ -132,7 +132,7 @@ Download pre-compiled binaries for Unijoysticle, Nina, AirLift, MightyMiggy:

See the examples folder which includes examples for:

* [Bluepad32 for ESP32][esp32-example] (ESP32, ESP32-S3, ESP32-C3)
* [Bluepad32 for ESP32][esp32-example] (ESP32, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2)
* [Bluepad32 for Pico W][pico-w-example]
* [Bluepad32 for Posix (Linux, macOS)][posix-example]

Expand Down
4 changes: 2 additions & 2 deletions examples/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supports the different ESP32 chips:

1. Install ESP-IDF

Install the ESP32 toolchain. Use version **4.4** or **5.1**. Might work on newer / older
Install the ESP32 toolchain. Use version **5.1**. Might work on newer / older
ones, but not tested.

* <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/>
Expand All @@ -28,7 +28,7 @@ Supports the different ESP32 chips:
3. Compile Bluepad32

```sh
# Possible options: esp32, esp32-s3 or esp32-c3
# Possible options: esp32, esp32-s3, esp32-c3, esp32-c6 or esp32-h2
idf.py set-target esp32
```

Expand Down
2 changes: 1 addition & 1 deletion src/components/bluepad32/include/uni_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Pico W, original ESP32 and Posix all support both BR/EDR and BLE
#define UNI_ENABLE_BREDR 1
#define UNI_ENABLE_BLE 1
#elif defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6)
#elif defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6) || defined(CONFIG_IDF_TARGET_ESP32H2)
// ESP32-S3 / C3 / C6
#define UNI_ENABLE_BLE 1
#else
Expand Down

0 comments on commit c871c4f

Please sign in to comment.