GithubHelp home page GithubHelp logo

g4lile0 / esp32-wifi-hash-monster Goto Github PK

View Code? Open in Web Editor NEW
876.0 876.0 99.0 3.15 MB

WiFi Hash Purple Monster, store EAPOL & PMKID packets in an SD CARD using a M5STACK / ESP32 device

License: MIT License

C 95.63% C++ 4.37%

esp32-wifi-hash-monster's People

Contributors

dstahlke avatar g4lile0 avatar jpdias avatar scriptguru avatar tobozo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-wifi-hash-monster's Issues

M5 Stack Core 2 Compilation Issue

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

Recipe for Odroid-GO

This is a great project, I love it 😍

As the maintainer of the ESP32-Chimera-Core I can't help but see every M5Stack application as a potential Odroid-GO application, so I tried to get it working outside the scope of your ReadME and somehow got successful.

[Update] Odroid-Go is now natively supported by ESP32-WiFi-Hash-Monster with full SD support and zero editing

I haven't checked yet if the capture to the SD is really operative, but the UI loads successfully is very similar to what I get on the M5Stack.

image

It worked by using the alternate ESP32-Chimera-Core (100% compatible M5Stack core) and adjusting bits of code (e.g. disabling the FastLed) and selecting "Odroid Go" in the boards menu.

Does it demonstate a working scenario with PSRAM enabled?

It's also good to know your project is compatible with the SD-Updater.

Odroid-GO Turing path:

  • M5.begin() replaced Serial.begin() as the first statement in the setup() => much less strange bugs when booting

  • SD.begin( TFCARD_CS_PIN ) turns out to be a better multi-board standard than maintaining SPI manually

  • Inheriting from existing macros can prevent pin conflicts:

    #define BUTTON_PIN_A BUTTON_A_PIN // button to change the channel
    #define BUTTON_PIN_C BUTTON_C_PIN // button to change the bright of the LCD
    
  • Got rid of the rotation (not needed by M5Stack or Odroid-Go anyway)

    // M5.Lcd.setRotation(1); // already performed by M5.begin()
    
  • Used the syntax of the {M5Stack|Chimera} core

    M5.Speaker.write(0); // Speaker OFF
    // dacWrite(25, 0); // Speaker OFF
    
  • Isolated all FastLed statements, including not launching the blinker task:

    #ifdef ARDUINO_M5STACK_FIRE
    #include <FastLED.h>
    #endif
    

Do you want a PR for this ?

ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM)

I'm trying to port this to a LILYGO T-DISPLAY.
I'm getting the above error using Arduino IDE 1.8.19. I've tried various options. Currently I have:
PSRAM: Disabled
Flash Size: 16M
Partition Size: Minimium SPIFFS
Arduino runes on Core 1

I'm printing out memory before the error and I get the following
Heap Size: 209216
Free Heap: 80316
MinFreeHeap: 80180
MaxAllocHeap: 42996
PSRAM: 0

I'm not sure what I am doing wrong. Any advice?

M5Stack Core 2 not booting

Board Manager: M5Stack 2.0.0
Library:
ESP32-Chimera-core=1.5.2
LovyanGFX=1.1.12
M5Core2=0.1.8
M5Stack-SD-Updater=1.2.8
Module_GRBL_13.2=0.0.3

After flashing I am getting this while trying to boot:

rst: 0x1 (POWERON_RESET), boot: 0x3 (DOWNLOAD BOOT (UARIO/UARTI/SDIO_REI_REO_V2)) waiting for download

Can anyone help ?

Undirected PROBE REQUEST and EAP REQUEST/RESPONSE ID frames missing

It seems packets may be filtered before they are written to disk and exclude frames that tools like Hashcat want to see when converting to useful file formats for cracking. This results in errors from hcxpcapngtools like this one:

Warning: missing frames!
This dump file contains no important frames like
authentication, association or reassociation.
That makes it hard to recover the PSK.

Warning: missing frames!
This dump file contains no undirected proberequest frames.
An undirected proberequest may contain information about the PSK.
That makes it hard to recover the PSK.

I've not been able to get hcxpcaptools to accept the saved pcap files from Hash Monster due to this missing data.

Better PCAP File Names?

Was playing around with the hash monster earlier, and noticed that the captured pcap files are named like "0000.pcap", "000A.pcap". I have a few questions, and suggestions.

Question

  • Files named with all numbers (0000.pcap, 0001.pcap, etc...) are empty files, were these failed captures?
    • I found a file 0002.pcap that has data while the other numbered files dont
  • Files named with numbers and lettesr (000A.pcap, 000B.pcap, etc..) are filled with data, and these are the potentially crackable captures?

What is the difference between the files with all numbers, and the files with all numbers and letters? I'm guessing this is just a naming scheme to prevent file name collisions and overwriting previously captured data?

Suggestion

I'm not sure if this is possible, since I haven't done a lot of reading of the codebase, but it might be nice to save the SSID name the capture corresponds to. For example with pwnagotchi each SSID has its own corresponding pcap file. Is this possible with the hash monster? If so I would be willing to take a stab at implementing it, however I would need a bit of guidance as to the proper part of the codebase to alter.

Auto-Channel vs. Smart-Channel

Can someone explain to me the difference between the two? I guess I understand that Auto-Channel will channel hop in channel order, but what is it that Smart-Channel is doing?

WebUI Function

Would it be possible to implement a webui function into the firmware? Similar to the pwnagotchi device?

Installing on M5Go 2.7

I am having a hard time getting this to install on the M5Go 2.7. Will this work on the M5Go, if so what is the proper procedure to get it working. I have tried with Arduino IDE but I never seem to get that program to work. I tried with platformIO and tried it as the Fire. It installed ok but constantly kept saying checking SD card. Sd card is installed and formatted as fate2. I have also tried using the other options for install but all fail.

Can someone please help me out

Compilation on M5Stack Core2 - working buttons.

Compilation and upload worked flawlessly on Arduino IDE with functional buttons.
Insert SD card, connect M5Stack Core2 by USB and upload. Use versions of board and library below, worked for me.

Boards manager: M5Stack version 2.0.0

Library:
M5Stack-SD-Updater version 1.2.8
M5Core2 version 0.1.8
LovyanGFX version 1.1.12
ESP32-Chimera-Core version 1.5.2
Module_GRBL_13.2 version 0.0.3

Also on line #362 I commented out:
//M5.Speaker.write(0);

I hope it is useful for anyone.

Not compiled

I can’t compile the project either through Arduino ide or through cloud.arduino.cc, there are always some errors, no one has a ready-made compiled bin to upload directly to m5 stack2? Thank you

Compilation error

When I try to upload to m5stack fire I get an error saying nvs_flash_init was not declared in this scope.

After writing pcap file to sdcard, it cannot continue

I have it running on a M5Stack-Basic using platformio.
While running, I long-press button one, and it writes a pcap file.
If I collect more data and try to write more data, it fails. After closing the file, it cannot open a new file. sd_begin() fails.
I think I've tracked it down to a ESP_ERR_NO_MEM error.
It should also "reset" the screen and start counting handshakes, deauths, etc again.

What this means is that once I create a pcap file, I have to unplug and re-plug the device to continue to capture. The ability to create multiple pcap files makes it easier to capture information for longer periods without the danger of losing information.

Got it but...

Hello world,

Finally got the hash monster running on my m5stack core 2. Cloud arduino saved my day tbh. Commented the SD updater out (for now) and a few tweaks here and there, like the eSprite change to LGFX_Sprite and the NVS_flash_init to spi_flash_init(). The only thing is the touchscreen buttons don't seem to work properly. <--- nevermind: Works perfectly.

I'm also curious about getting a deauth'er on the core2 since that would be a handy tool for the hashmonster to integrate with. Is there an integrated version of this somewhere already? (perhaps the eps32 marauder?)
Thanks for creating this I'm having super much fun with this already.

Please add platform.io project file

Compiling stuff, especially with libraries, can be very cumbersome with the Arduino IDE.

Adding a Platform.IO project file would make this process a lot easier.

Not Uploading to M5Stack CoreS3

Is the Wifi Hash Monster Compatible with [M5Stack CoreS3 ESP32S3 loT Development Kit]?
Link for the M5stack below:
https://thepihut.com/products/m5stack-cores3-esp32s3-lot-development-kit)

This is the error message I am getting currently:
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:77:92: error: 'GPIO' was not declared in this scope
77 | static inline volatile uint32_t* get_gpio_hi_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1ts.val : &GPIO.out_w1ts; }
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_lo_reg(int_fast8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:78:92: error: 'GPIO' was not declared in this scope
78 | static inline volatile uint32_t* get_gpio_lo_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1tc.val : &GPIO.out_w1tc; }
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp: In function 'bool lgfx::v0::gpio_in(int_fast8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:81:70: error: 'GPIO' was not declared in this scope
81 | static inline bool gpio_in(int_fast8_t pin) { return ((pin & 32) ? GPIO.in1.data : GPIO.in) & (1 << (pin & 31)); }
| ^~~~
In file included from c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\lgfx_common.hpp:1821,
from c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\panel\Panel_GDEW0154M09.cpp:1:
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_hi_reg(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:77:92: error: 'GPIO' was not declared in this scope
77 | static inline volatile uint32_t* get_gpio_hi_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1ts.val : &GPIO.out_w1ts; }
| ^~~~
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_lo_reg(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:78:92: error: 'GPIO' was not declared in this scope
78 | static inline volatile uint32_t* get_gpio_lo_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1tc.val : &GPIO.out_w1tc; }
| ^~~~
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'bool lgfx::v0::gpio_in(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:81:70: error: 'GPIO' was not declared in this scope
81 | static inline bool gpio_in(int_fast8_t pin) { return ((pin & 32) ? GPIO.in1.data : GPIO.in) & (1 << (pin & 31)); }
| ^~~~
In file included from c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\lgfx_common.hpp:1821,
from c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\lgfx_fonts.cpp:1:
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_hi_reg(int_fast8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:77:92: error: 'GPIO' was not declared in this scope
77 | static inline volatile uint32_t* get_gpio_hi_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1ts.val : &GPIO.out_w1ts; }
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_lo_reg(int_fast8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:78:92: error: 'GPIO' was not declared in this scope
78 | static inline volatile uint32_t* get_gpio_lo_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1tc.val : &GPIO.out_w1tc; }
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp: In function 'bool lgfx::v0::gpio_in(int_fast8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms/esp32_common.hpp:81:70: error: 'GPIO' was not declared in this scope
81 | static inline bool gpio_in(int_fast8_t pin) { return ((pin & 32) ? GPIO.in1.data : GPIO.in) & (1 << (pin & 31)); }
| ^~~~
In file included from c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\lgfx_common.hpp:1821,
from c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:1:
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_hi_reg(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:77:92: error: 'GPIO' was not declared in this scope; did you mean 'PI'?
77 | static inline volatile uint32_t* get_gpio_hi_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1ts.val : &GPIO.out_w1ts; }
| ^~~~
| PI
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'volatile uint32_t* lgfx::v0::get_gpio_lo_reg(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:78:92: error: 'GPIO' was not declared in this scope; did you mean 'PI'?
78 | static inline volatile uint32_t* get_gpio_lo_reg(int_fast8_t pin) { return (pin & 32) ? &GPIO.out1_w1tc.val : &GPIO.out_w1tc; }
| ^~~~
| PI
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp: In function 'bool lgfx::v0::gpio_in(int_fast8_t)':
c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:81:70: error: 'GPIO' was not declared in this scope; did you mean 'PI'?
81 | static inline bool gpio_in(int_fast8_t pin) { return ((pin & 32) ? GPIO.in1.data : GPIO.in) & (1 << (pin & 31)); }
| ^~~~
| PI
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp: In function 'void lgfx::v0::initPWM(int_fast8_t, uint32_t, uint32_t, uint8_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:76:5: error: 'ledcSetup' was not declared in this scope
76 | ledcSetup(pwm_ch, freq, 8);
| ^~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:77:5: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
77 | ledcAttachPin(pin, pwm_ch);
| ^~~~~~~~~~~~~
| ledcAttach
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp: In function 'uint32_t lgfx::v0::FreqToClockDiv(uint32_t, uint32_t)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:139:14: error: 'SPI_CLK_EQU_SYSCLK' was not declared in this scope
139 | return SPI_CLK_EQU_SYSCLK;
| ^~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp: In function 'void lgfx::v0::spi::init(int, int, int, int, int)':
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:188:55: error: 'SPI_CLK_EQU_SYSCLK' was not declared in this scope
188 | _spi_handle[spi_host] = spiStartBus(spi_port, SPI_CLK_EQU_SYSCLK, 0, 0);
| ^~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:190:28: error: 'spi_periph_signal' was not declared in this scope
190 | periph_module_enable(spi_periph_signal[spi_host].module);
| ^~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:194:9: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'?
194 | gpio_matrix_out(spi_mosi, spi_periph_signal[spi_host].spid_out, false, false);
| ^~~~~~~~~~~~~~~
| gpio_iomux_out
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:195:9: error: 'gpio_matrix_in' was not declared in this scope
195 | gpio_matrix_in(spi_mosi, spi_periph_signal[spi_host].spid_in, false);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:200:9: error: 'gpio_matrix_in' was not declared in this scope
200 | gpio_matrix_in(spi_miso, spi_periph_signal[spi_host].spiq_in, false);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:206:9: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'?
206 | gpio_matrix_out(spi_sclk, spi_periph_signal[spi_host].spiclk_out, false, false);
| ^~~~~~~~~~~~~~~
| gpio_iomux_out
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:207:9: error: 'gpio_matrix_in' was not declared in this scope
207 | gpio_matrix_in(spi_sclk, spi_periph_signal[spi_host].spiclk_in, false);
| ^~~~~~~~~~~~~~
In file included from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_macros.h:13,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:76,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/freertos/FreeRTOS-Kernel/include/freertos/portable.h:59,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:71,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/driver/i2c/include/driver/i2c.h:17,
from c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\platforms/esp32_common.hpp:7:
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:9: note: in expansion of macro 'WRITE_PERI_REG'
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~
In file included from c:\users\darkshark24\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/newlib/platform_include/sys/reent.h:9,
from c:\users\darkshark24\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-12.2.0_20230208\xtensa-esp32-elf\sys-include\string.h:11,
from c:\users\darkshark24\onedrive\documents\arduino\libraries\lovyangfx\src\lgfx\v0\lgfx_common.hpp:42:
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:9: note: in expansion of macro 'WRITE_PERI_REG'
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~
In file included from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_hw_support/include/esp_memory_utils.h:12,
from C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:79:
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:9: note: in expansion of macro 'WRITE_PERI_REG'
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:96: error: 'SPI_OUT_RST' was not declared in this scope; did you mean 'GPIO_OUT_REG'?
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (*((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:108: error: 'SPI_IN_RST' was not declared in this scope
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:119: error: 'SPI_AHBM_RST' was not declared in this scope; did you mean 'SPI_MSBFIRST'?
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:214:132: error: 'SPI_AHBM_FIFO_RST' was not declared in this scope
214 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) | SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST);
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:24: error: 'SPI_DMA_IN_LINK_REG' was not declared in this scope
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:9: note: in expansion of macro 'WRITE_PERI_REG'
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:24: error: 'SPI_DMA_IN_LINK_REG' was not declared in this scope
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:9: note: in expansion of macro 'WRITE_PERI_REG'
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:24: error: 'SPI_DMA_IN_LINK_REG' was not declared in this scope
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:215:9: note: in expansion of macro 'WRITE_PERI_REG'
215 | WRITE_PERI_REG(SPI_DMA_IN_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:24: error: 'SPI_DMA_OUT_LINK_REG' was not declared in this scope
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:9: note: in expansion of macro 'WRITE_PERI_REG'
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:24: error: 'SPI_DMA_OUT_LINK_REG' was not declared in this scope
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:9: note: in expansion of macro 'WRITE_PERI_REG'
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:24: error: 'SPI_DMA_OUT_LINK_REG' was not declared in this scope
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:216:9: note: in expansion of macro 'WRITE_PERI_REG'
216 | WRITE_PERI_REG(SPI_DMA_OUT_LINK_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:9: note: in expansion of macro 'WRITE_PERI_REG'
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:9: note: in expansion of macro 'WRITE_PERI_REG'
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:24: error: 'SPI_DMA_CONF_REG' was not declared in this scope
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:9: note: in expansion of macro 'WRITE_PERI_REG'
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:98: error: 'SPI_OUT_RST' was not declared in this scope; did you mean 'GPIO_OUT_REG'?
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:110: error: 'SPI_IN_RST' was not declared in this scope
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:121: error: 'SPI_AHBM_RST' was not declared in this scope; did you mean 'SPI_MSBFIRST'?
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:217:134: error: 'SPI_AHBM_FIFO_RST' was not declared in this scope
217 | WRITE_PERI_REG(SPI_DMA_CONF_REG(spi_port), READ_PERI_REG(SPI_DMA_CONF_REG(spi_port)) & ~(SPI_OUT_RST|SPI_IN_RST|SPI_AHBM_RST|SPI_AHBM_FIFO_RST));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:22: error: 'SPI_USER_REG' was not declared in this scope
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:7: note: in expansion of macro 'WRITE_PERI_REG'
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:22: error: 'SPI_USER_REG' was not declared in this scope
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:7: note: in expansion of macro 'WRITE_PERI_REG'
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:22: error: 'SPI_USER_REG' was not declared in this scope
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:7: note: in expansion of macro 'WRITE_PERI_REG'
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:47: error: 'SPI_USR_MOSI' was not declared in this scope
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:62: error: 'SPI_USR_MISO' was not declared in this scope
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:220:77: error: 'SPI_DOUTDIN' was not declared in this scope; did you mean 'SPID_OUT_IDX'?
220 | WRITE_PERI_REG(SPI_USER_REG (spi_port), SPI_USR_MOSI | SPI_USR_MISO | SPI_DOUTDIN); // need SD card access (full duplex setting)
| ^~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:114:76: note: in definition of macro 'WRITE_PERI_REG'
114 | (
((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:22: error: 'SPI_CTRL_REG' was not declared in this scope; did you mean 'GPIO_STRAP_REG'?
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:7: note: in expansion of macro 'WRITE_PERI_REG'
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:22: error: 'SPI_CTRL_REG' was not declared in this scope; did you mean 'GPIO_STRAP_REG'?
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:7: note: in expansion of macro 'WRITE_PERI_REG'
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:22: error: 'SPI_CTRL_REG' was not declared in this scope; did you mean 'GPIO_STRAP_REG'?
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:221:7: note: in expansion of macro 'WRITE_PERI_REG'
221 | WRITE_PERI_REG(SPI_CTRL_REG( spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:22: error: 'SPI_CTRL2_REG' was not declared in this scope
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:7: note: in expansion of macro 'WRITE_PERI_REG'
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:22: error: 'SPI_CTRL2_REG' was not declared in this scope
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:7: note: in expansion of macro 'WRITE_PERI_REG'
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:22: error: 'SPI_CTRL2_REG' was not declared in this scope
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
25 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:222:7: note: in expansion of macro 'WRITE_PERI_REG'
222 | WRITE_PERI_REG(SPI_CTRL2_REG(spi_port), 0);
| ^~~~~~~~~~~~~~
c:\Users\Darkshark24\OneDrive\Documents\Arduino\libraries\LovyanGFX\src\lgfx\v0\platforms\esp32_common.cpp:223:22: error: 'SPI_SLAVE_REG' was not declared in this scope; did you mean 'DPORT_SLAVE_REQ'?
223 | WRITE_PERI_REG(SPI_SLAVE_REG(spi_port), READ_PERI_REG(SPI_SLAVE_REG(spi_port)) & ~(SPI_SLAVE_MODE | SPI_TRANS_DONE));
| ^~~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
24 | if (__builtin_constant_p(CONDITION) && !(CONDITION)) {
| ^~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
34 | #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
| ^~~~~~~~~~~~
C:\Users\Darkshark24\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
113 | ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);
| ^~~~~~~~~~~~~~~~~~~
...

Unstable SD initialize on M5Stack-FIRE

M5Burner's prebuilt(unknown commit#) binary(MD5: 99ecacaed6c69ef954751042f54783fe) was successfully loads.
But, blank screen on both latest commits from here and @tobozo 's repo.
Arduino 1.8.13, M5Stack-FIRE target with FastLED 3.003.003

  • Lastest M5Stack core and Chimera core
  • M5Stack SD Updater 1.0a or 0.5.2
  • "PSRAM" enabled/disabled
  • Flashing 40/80 MHz
    Build success without any warnings/errors except FastLED's "No hardware SPI pin defined" casual message.
    Above all test combinations same results: blank screen
    I have no idea why...
esptool.py -c esp32 -b 1500000 -p /dev/ttyUSB0 write_flash -e -ff 40m -fm dio -fs 16MB --verify -z 0x1000 hashmonster.bin     esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:ae:88:3c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 1500000
Changed.
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 3.5s
Flash params set to 0x0240
Compressed 993024 bytes to 483268...
Wrote 993024 bytes (483268 compressed) at 0x00001000 in 7.3 seconds (effective 1092.9 kbit/s)...
Hash of data verified.

Leaving...
Verifying just-written flash...
(This option is deprecated, flash contents are now always read back after flashing.)
Flash params set to 0x0240
Verifying 0xf2700 (993024) bytes @ 0x00001000 in flash against hashmonster.bin...
-- verify OK (digest matched)
Hard resetting via RTS pin...

After flash, reboots infinitely

rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3f400020,len:348784

After few flashing tests, power off( two short click ) does not work anymore(just reboots). even factory image.
Weird

Support for deauth

It appears that the capability to deauth on the ESP32 has gone mainstream. Will this ever come to the Hash Monster?

Issues with PSRAM and M5Stack Fire v2.7

Hello,

Can anyone verify Wifi Hash Monster is working with M5Stack Fire v2.7 ?
I just received my M5 Fire v2.7 and I have strange problems after uploading:

The M5 Fire boot loops and at some point it shows:

E (934) spiram: SPI SRAM memory test fail. 95419/131072 writes failed, first @ 3F80ACC0

[   297][E][esp32-hal-psram.c:71] psramInit(): PSRAM test failed!
ESP32-Chimera-Core initializing...OK
[   569][E][M5StackUpdater.h:290] checkSDUpdater(): Booting with reset reason: 12
[  8707][E][Buffer.cpp:11] init(): Panic! Can't malloc 24576 bytes for buffer 1
Error, not enough memory for buffer


E (871) spiram: SPI SRAM memory test fail. 21/131072 writes failed, first @ 3F80BD20

[   297][E][esp32-hal-psram.c:71] psramInit(): PSRAM test failed!
ESP32-Chimera-Core initializing [Board=M5STACK_FIRE] [Variant=m5stack_fire] 
ESP32-Chimera-Core started
[   562][E][M5StackUpdater.hpp:548] checkSDUpdater(): Booting with reset reason: 1
[   745][W][ESP32-WiFi-Hash-Monster.ino:466] initSpritesTask(): Leaving initSprites task !
[  6756][E][Buffer.cpp:11] init(): Panic! Can't malloc 24576 bytes for buffer 1
Error, not enough memory for buffer

Strangely when uploading their own UFlow_Fire firmware via M5Burner everything seems fine, not sure how to test PSRAM with Uflow, just tested some small demos....
So could this be a hardware PSRAM issue or some kind of code problem with Fire v2.7 ?

Thanks!

Provided PCAP Conversion Instructions Dont Always Work

Not really sure if this is an applicable issue since it's not really related to the code, but reporting anyways. The instructions for converting the pcap files into hccapx files dont always work. I've been running some tests, and I'm not exactly sure why but running cap2hccapx sometimes results in writing 0 handshakes. However using hcxpcapngtool against the same pcap works.

For example here's output from my home wifi network running cap2hccapx against the captured traffic:

$> cap2hccapx nope.pcap capture.hccapx

Networks detected: 1

[*] BSSID=nope ESSID=nopenope (Length: 10)

Written 0 WPA Handshakes to: capture.hccapx

However if we try hcxpcapngtool against the pcap file, it works

$> hcxpcapngtool --all -o capture nope.pcap

summary capture file
--------------------
file name................................: nope.pcap
version (pcap/cap).......................: 2.4 (very basic format without any additional information)
timestamp minimum (GMT)..................: 02.12.2020 00:52:08
timestamp maximum (GMT)..................: 02.12.2020 00:52:08
used capture interfaces..................: 1
link layer header type...................: DLT_IEEE802_11_RADIO (127)
endianess (capture system)...............: little endian
packets inside...........................: 4
frames with correct FCS..................: 4
BEACON (total)...........................: 2
EAPOL messages (total)...................: 2
EAPOL RSN messages.......................: 2
ESSID (total unique).....................: 1
EAPOL ANONCE error corrections (NC)......: not detected
EAPOL M1 messages........................: 2
PMKID (total)............................: 2
PMKID (best).............................: 2
PMKID written to combi hash file.........: 2

Warning: missing frames!
This dump file contains no important frames like
authentication, association or reassociation.
That makes it hard to recover the PSK.

Warning: missing frames!
This dump file contains no undirected proberequest frames.
An undirected proberequest may contain information about the PSK.
That makes it hard to recover the PSK.

$> > cat capture
WPA*01*nope*nope*nope*nope***

ESP_ERROR_CHECK failed after compile and upload to m5stack

Hi There, I compile and upload the code to the M5stack Core v1.0, the device seemed to be restard always, M5stack is showing Settip Up Wifi and Checking SD every time, so I check the serial monitor on arduino IDE, and found out a memory problema related to the ESP data start config. Error as follows:

Current pcap file is: /pcap/0000.pcap
SD CHECK OPEN
NVS Flash init
LWIP init
[1] Skipping event loop init
[2] Initing WiFi with config defaults
E (9355) wifi:Expected to init 8 rx buffer, actual is 7
ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4008de48

Is this related to a ESP library issue or bug?

[M5Stack Fire] Can't turn off the RGB Leds after using the sketch

Sketch flashed successfully on M5Fire (with M5Classic board settings, PSRam disabled), however after flashing another unrelated sketch I see the RGB leds are still enabled, even after reset or in deep sleep mode.

Suggestions:

  • when LCD is off (bright == 0), also disable RGB leds
  • implement a deep-sleep/switch-off mode that disables RGB leds

Getting error during compiling related to Chimera-Core and SD-Updater

Getting the error below during compiling. Please advise.

Device: M5Stack Core2 AWS (IoT)
Followed this discussion for the device: #8
Which points to a fork for the device. The master branch throws even more errors (shown below as well).

Fork compile error:

In file included from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/ESP32-Chimera-Core.hpp:17,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/ESP32-Chimera-Core.h:5,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:27:
c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:179:47: note: #pragma message: Chimera Core detected
     SDU_PRAGMA_MESSAGE("Chimera Core detected")
                                               ^
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:250:54: note: #pragma message: Trigger source: Touch Button
     SDU_PRAGMA_MESSAGE("Trigger source: Touch Button")
                                                      ^
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:269:35: note: #pragma message: Attached UI
   SDU_PRAGMA_MESSAGE("Attached UI")
                                   ^
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:273:48: note: #pragma message: Attached Touch support
     SDU_PRAGMA_MESSAGE("Attached Touch support")
                                                ^
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\62B4BBDCFCBE3F733A1FEA6B0300377C/ESP32-WiFi-Hash-Monster.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg' overflowed by 1488 bytes
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
  Used: C:\Users\Administrator\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.7\libraries\SD
  Not used: C:\Users\Administrator\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: exit status 1

Master branch compile error:

In file included from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/ESP32-Chimera-Core.hpp:17,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/ESP32-Chimera-Core.h:5,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster-master\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:27:
c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src/Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster-master\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:179:47: note: #pragma message: Chimera Core detected
     SDU_PRAGMA_MESSAGE("Chimera Core detected")
                                               ^
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:250:54: note: #pragma message: Trigger source: Touch Button
     SDU_PRAGMA_MESSAGE("Trigger source: Touch Button")
                                                      ^
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster-master\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:269:35: note: #pragma message: Attached UI
   SDU_PRAGMA_MESSAGE("Attached UI")
                                   ^
In file included from c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.h:36,
                 from C:\Users\Administrator\Downloads\_Apps\M5Stack Core 2\ESP32-WiFi-Hash-Monster-master\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:41:
c:\Users\Administrator\Documents\Arduino\libraries\M5Stack-SD-Updater\src/M5StackUpdater.hpp:273:48: note: #pragma message: Attached Touch support
     SDU_PRAGMA_MESSAGE("Attached Touch support")
                                                ^
In file included from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\esp32-chimera-core.h:5,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\M5Stack\M5Faces.h:6,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\M5Stack\M5Faces.cpp:4:
c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\ESP32-Chimera-Core.cpp:4:
c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\esp32-chimera-core.h:5,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\common\Audio\Mic_Class.cpp:6:
c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\esp32-chimera-core.h:5,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\common\Audio\Speaker_Class.cpp:6:
c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\esp32-chimera-core.h:5,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\common\IP5306\Power.cpp:10:
c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\ESP32-Chimera-Core.hpp:17,
                 from c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\esp32-chimera-core.h:5,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\utility\TouchButton.h:4,
                 from c:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\utility\TouchButton.cpp:1:
c:\users\administrator\documents\arduino\libraries\esp32-chimera-core\src\Config.h:32:21: note: #pragma message: ESP32 Arduino x.x.x (edge)
     #pragma message "ESP32 Arduino x.x.x (edge)"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\77D599CD61E54729A10728F7AE2A8765/ESP32-WiFi-Hash-Monster.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/administrator/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg' overflowed by 1488 bytes
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
  Used: C:\Users\Administrator\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.7\libraries\SD
  Not used: C:\Users\Administrator\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: exit status 1

M5Stack Core2 issue: ESP32-WiFi-Hash-Monster.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'

Hi there,
I try to compile on Arduino IDE 2.03, but it fails due to this error:

ESP32-WiFi-Hash-Monster.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
region `dram0_0_seg' overflowed by 1392 bytes
c:/users/user.name/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\user.name\AppData\Local\Temp\arduino-sketch-0A9AEE5B2B635D40CC623E13BC0C4B31/ESP32-WiFi-Hash-Monster.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
c:/users/user.name/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/user.name/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
c:/users/user.name/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2-patch5/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg' overflowed by 1392 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

I tried to help myself and found a few hints that point to lv_conf.h:
https://community.platformio.org/t/esp32-ld-region-dram0-0-seg-overflowed-by-156768-bytes/18753/2

and:
lvgl/lv_port_esp32#252

so i tried my luck by editing said lv_conf.h to use less RAM, but sadly no succes, compiling will still throw the same error.
Any idea what else I could do/try to make this work?

thnx in advance!

Non-empty .pcap files converted to empty .hccapx

I have many non-empty .pcap files created by the ESP32 WiFi Hash Monster, but most of them have been converted to empty .hccapx files. Also I've read that .hccapx is "specifically designed and used for hash type -m 2500 = WPA/WPA2".

However, as I understand, the Hash Monster also captures PMKID packets, which are hash type 16800 (see https://hashcat.net/forum/thread-7717.html for more details).

To me it looks like the tool that is recommended for .pcap conversion is simply ignoring everything that is not a traditional 4-way handshake.

Any thoughts how to extract PMKIDs from the .pcap files?
I haven't searched for such a tool yet, but perhaps you know what tool to use already and just forgot to update the docs.

A side note - Pwnagotchi also stores .pcap files and as I understand it writes packets that contain PMKID to them

Looks like hcxpcaptool is the way to go. I'll test it on the .pcap files I have, and report the results here.

Gps support and on demand deauth

Hi All,

I am quite new to the m5stack platform and wanted to ask for your support on this please. I am enjoying this device a lot and wanted to check whether there is a possibility to add gps support or on demand deauth? For the on demand deauth I was thinking of for example on using the long press on the middle button to deauth a network if that would be possible? Many thanks for sharing this project, I am enjoying it quite a lot.

Apologies for posting this in the issue section. This is not an issue, it is more of a functionality request.

Power consumption

Hello.
I'm sorry about question, it's not exactly about firmware, at least partly. So on this firmware, what average power consumption on m5stack core unit? Or at least tell me for how long will it run? They selling with additional battery, so I'm curious what will be difference. Thanks and sorry once more.

SD Card shuts off

When performing scans, SD card turns off and needs to be manually enabled . Because of this, no hashes are being stored on the SD card

What version of FastLED should I use? need help

compile error

`In file included from C:\Users\Administrator\Documents\Arduino\libraries\FastLED\src/FastLED.h:75,
from C:\Users\Administrator\Desktop\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster\ESP32-WiFi-Hash-Monster.ino:72:
C:\Users\Administrator\Documents\Arduino\libraries\FastLED\src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\M5Core2\FT6336U\Touch_M5Core2.cpp: In member function 'int Touch_M5Core2::readTouchtoBuff()':
C:\Users\Administrator\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\M5Core2\FT6336U\Touch_M5Core2.cpp:44:11: error: 'class TwoWire' has no member named 'readTransmission'; did you mean 'endTransmission'?
Wire1.readTransmission(CST_DEVICE_ADDR, buff, 5);
^~~~~~~~~~~~~~~~
endTransmission
`

Inconsistent .pcap saves.

Hi, I'm currently troubleshooting an issue with my M5Stack Core2 running WiFi-Hash-Monster:

As you can see in this image when the buffer size is larger than about 1000 bytes, after saving, the file is empty on the SD card.
firstfile

But when the buffer size is smaller around 700 bytes, it fully saves the file and can be read just fine.
secondfile

I believe this must be some issue within the sketch however I haven't had the time to dig into it and start debugging but if anyone else has an idea of what might be causing this, please let me know.

Interested in new features/fixes?

I've made a few fixes/improvements locally and they work well. Should I create a PR?

Fix: changed MAX_SSIDs from 256 to 1792
The limit of 256 access points was very easily achievable if the device was moved (like when you walk with it). I've tried 2048 but it doesn't fit in RAM, so I've settled at 1792, it should be enough for a pretty long walk.

Improvement: now it's possible to make it cycle through pre-defined channels automatically. In North America it makes sense to cycle through channels 1, 6 and 11 only, because those are the only non-overlapping channels in 2.4GHz range, and that's where most APs are. The interval of the channel auto-switching and the channels are configurable.

Improvement: SD card is on by default (configurable, of course).

Also made a few minor changes related to calls to draw() function in the main loop.

Also there is a bunch of commented lines in the code and they probably should be removed, but I haven't touched them because I thought they might have been left there for a reason.

M5StackCore2 Compile

Hello,

Anyone having issue compiling the latest code for M5StackCore2 ?

Here is the compile output :

`/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:m5stack-core2:CPUFreq=240,DebugLevel=none,EraseFlash=none,PSRAM=enabled,PartitionScheme=default,UploadSpeed=921600 --build-cache-path /tmp --output-dir /tmp/1924142457/build --build-path /tmp/arduino-build-F5CBD01E662C95E45A043D910EF68964 --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/EEPROM --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/ESP32-Chimera-Core --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/HID --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/SPI --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/SoftwareSerial --library /mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/Wire /tmp/1924142457/ESP32-WiFi-Hash-Monster

/mnt/create-efs/webide/86/6b/866b96c9b47258e3fc1e3b4c079ee707:nobsklu/libraries_v2/Wire/src/utility/twi.c:26:10: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>`

If someone have a idea here ;)

Thanks a lot

No captures

My ESP32 WiFi Hash Monster doesn't capture anything to the SD card. All pcap-files are empty. It has been running now for a week but it hasn't been able to capture any PMKID packet. What could be wrong? I have tested Automatic, Smart and Manual Channel mode.

'Core2' Buttons Fix?

Hi, Do the buttons on Core2 work properly? I'm not able to see why they don't work for me. Is it a known issue? I'm using Visual Studio Code and PlatformIO, and I'm cloning this repo. I can flash it without issues, but I can't use the buttons. What am I doing wrong?

Error Class M5Display Has No Member...

I'm attempting to use this project with an m5stack-core and am unable to build the code. I receive numerous errors about class M5Display not containing various members.

.pio/libdeps/m5stack-core-esp32/M5Stack-SD-Updater/src/M5StackUpdaterUI.h:110:36: error: 'class M5Display' has no member named 'textsize'
     SDUTextStyle.textsize    = tft.textsize;
                                    ^
.pio/libdeps/m5stack-core-esp32/M5Stack-SD-Updater/src/M5StackUpdaterUI.h:111:36: error: 'class M5Display' has no member named 'textdatum'
     SDUTextStyle.textdatum   = tft.textdatum;
                                    ^
.pio/libdeps/m5stack-core-esp32/M5Stack-SD-Updater/src/M5StackUpdaterUI.h:112:36: error: 'class M5Display' has no member named 'textcolor'
     SDUTextStyle.textcolor   = tft.textcolor;
                                    ^
.pio/libdeps/m5stack-core-esp32/M5Stack-SD-Updater/src/M5StackUpdaterUI.h:113:36: error: 'class M5Display' has no member named 'textbgcolor'

M5_Stack pico

I was wondering if m5stack esp32 pico will work....
Just discovered this awesome project. Is it possible to deauth too? like deauth certain network and capture their hashes?
Also on the m5 stack gray how long can i count the internal battery when hash monster running?

Sorry for dumb questions and my language...

Install onto SD Updater problems

Hey, Im new to this and would like some advice in installing wifi hash monster onto my SD Updater instead of just burning the whole thing onto my M5Stack.... So i can use other applications.

Many Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.