G4lile0 / ESP32-WiFi-Hash-Monster

WiFi Hash Purple Monster, store EAPOL & PMKID packets in an SD CARD using a M5STACK / ESP32 device
MIT License
928 stars 104 forks source link

M5 Stack Core 2 Compilation Issue #65

Closed BeowolfK closed 5 months ago

BeowolfK commented 5 months ago

Hello, I want to burn Hash monster on a new M5 Core 2 but when I try to compile on Arduino IDE I have the following error :

/home/kenan/Arduino/libraries/ESP32-Chimera-Core/src/ESP32-Chimera-Core.cpp: In member function 'void ChimeraCore::ECCKernel::begin(bool, bool, bool, bool, bool)':
/home/kenan/Arduino/libraries/ESP32-Chimera-Core/src/ESP32-Chimera-Core.cpp:53:11: error: 'class AXP192' has no member named 'begin'
       Axp.begin();
           ^~~~~

exit status 1

Compilation error: exit status 1

I' ve installed Chimera Core and SD Updater with the Library manager I've changed nothing in the code, just download it and trying to compile with Arduino IDE If someone can help me Thanks

hostmadns commented 5 months ago

Have you tried using PlatformIO in VSCode? In Platformio.ini, comment "default_envs = m5stack-fire" and uncomment "default_envs = m5stack-core2". Also, change the PlatformIO Project Environment to "m5stack-core2". Hope that helps :-)

BeowolfK commented 5 months ago

Hello, Yes that's work with PlatformIO, I didn't know this tools before Thank you :)