Skip to content

Commit

Permalink
Add support for ElectronicCats Wi-Fi Marauder Flipper Shield
Browse files Browse the repository at this point in the history
  • Loading branch information
b1scoito committed Nov 30, 2023
1 parent 2345f25 commit bb00607
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 12 additions & 3 deletions esp32_marauder/configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@
//#define HAS_NEOPIXEL_LED
//#define HAS_PWR_MGMT
//#define HAS_SCREEN
// To support ElectronicCats Wi-Fi Marauder
//#define EC_ESP32_S3
#define HAS_GPS
#ifndef WRITE_PACKETS_SERIAL
#define HAS_SD
Expand Down Expand Up @@ -197,9 +199,9 @@
//// FLIPPER ZERO HAT SETTINGS
#ifdef FLIPPER_ZERO_HAT

//#ifdef MARAUDER_FLIPPER
// #define USE_FLIPPER_SD
//#endif
#ifdef MARAUDER_FLIPPER
#define USE_FLIPPER_SD
#endif

#ifdef XIAO_ESP32_S3
#define USE_FLIPPER_SD
Expand Down Expand Up @@ -788,6 +790,13 @@
#define XIAO_TX1 2
#endif
#endif

#ifdef EC_ESP32_S3
#ifdef USE_FLIPPER_SD
#define EC_ESP32_S3_RX1 18
#define EC_ESP32_S3_TX1 17
#endif
#endif
//// END BOARD PIN OVERRIDES

//// EVIL PORTAL STUFF
Expand Down
2 changes: 2 additions & 0 deletions esp32_marauder/esp32_marauder.ino
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ void setup()

#ifdef XIAO_ESP32_S3
Serial1.begin(115200, SERIAL_8N1, XIAO_RX1, XIAO_TX1);
#elif EC_ESP32_S3
Serial1.begin(115200, SERIAL_8N1, EC_ESP32_S3_RX1, EC_ESP32_S3_TX1);
#else
Serial1.begin(115200);
#endif
Expand Down

0 comments on commit bb00607

Please sign in to comment.