Skip to content

Esp32 wroom fix v2 - #5

Closed
Novice-PG wants to merge 2 commits into
radxa:mainfrom
Novice-PG:esp32-wroom-fix-v2
Closed

Novice-PG wants to merge 2 commits into
radxa:mainfrom
Novice-PG:esp32-wroom-fix-v2

Conversation

@Novice-PG

Copy link
Copy Markdown
Contributor

feat(boards): add ESP32-WROOM-32 (Xtensa) board support

Add ESP32-DevKitC (ESP32-WROOM-32) as an alternative BLE-to-UART bridge target.

Key changes:

  • New board overlay/conf for ESP32-WROOM-32 (UART2 bridge, LED GPIO2, DRAM tuning)
  • Factory reset on GPIO27 (GPIO00 enters ROM downloader, unsafe for recovery)
  • CONFIG_LINKR_BLE_BRIDGE_PAIRING_GPIO_AUTH Kconfig option (default on, boards can disable)
  • GPIO init guarded with IS_ENABLED() for open-pairing builds
  • WebDAV disabled (DRAM1 96KB insufficient)

Pin mapping: UART2 GPIO16/17 (bridge), UART0 GPIO1/3 (console via CH340), LED GPIO2, pairing GPIO4, factory reset GPIO27

Build: west build -b esp32_devkitc/esp32/procpu && west flash --runner esp32

Tested: BLE advertising, pairing, WiFi STA, WebSocket bridge, LED, credential persistence all verified on ESP32-DevKitC hardware.

rock added 2 commits September 17, 2026 12:09
- Add esp32_devkitc_esp32_procpu overlay and board conf for DRAM tuning
- Add SOC_SERIES_ESP32 to BLE security encryption override in Kconfig
- Add ESP32 HCI ordering include in CMakeLists.txt (reuses esp32c3 cmake)
- Add CONFIG_LINKR_BLE_BRIDGE_PAIRING_GPIO_AUTH Kconfig option to make
  the GPIO pairing button check optional (default y, boards can set n)
- Add ESP32-WROOM-32 documentation in HARDWARE.md (pin mapping, DRAM
  constraints, build instructions, feature diff vs ESP32-C3)

Verified on ESP32-DevKitC: BLE advertising, pairing, WiFi STA,
WebSocket bridge all functional.
- Move factory reset GPIO0 to GPIO27 (external jumper to GND)

- Default PAIRING_GPIO_AUTH=n for WROOM-32

- Guard GPIO init with IS_ENABLED in ble_security.c

- Generalize pairing denial log message
@Novice-PG Novice-PG closed this Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant