Skip to content

ESP32 Support - #12

Open
breakingspell wants to merge 1 commit into
owenb321:masterfrom
breakingspell:esp32-pins
Open

ESP32 Support#12
breakingspell wants to merge 1 commit into
owenb321:masterfrom
breakingspell:esp32-pins

Conversation

@breakingspell

@breakingspell breakingspell commented Jul 21, 2025

Copy link
Copy Markdown

Hello! A few changes are needed to build and run this project on ESP32.

  • WiFi library

    • Fails to build without it
  • Init cc1101 with ESP32 pinout declared

    • The default init causes a boot loop, as a restricted pin is pulled.
    • Several issues on the upstream repo and Arduino forums reference the ESP32 pinout, and passing the exact pins to the library before init (example).
      • Simply declaring and setting the pins allowed the board and radio to initialize, wiring is the same as the reference.
      • Added the standard cc1101 init check (it correctly reports if the wiring is wrong)

The data pins (both SPI and interrupt) can be set to any open GPIO on ESP32. For instance, I use the following pinout on a D1 mini:

  #define RX_PIN 36
  #define TX_PIN 5
  #define SCK_PIN 19
  #define SS_PIN 23
  #define MISO_PIN 26
  #define MOSI_PIN 18

- Source WiFi library

- Declare ESP32 pinout before CC1101 init
@breakingspell breakingspell changed the title ESP32 fixes ESP32 Support Sep 20, 2025
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