-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't fix it #36
Comments
Hey ! Can you check the version of esp32 and M5stack libraries, it's seem that there is an update that deprecated some function, try to downgrade it 👍 I'm working on this to be able to flash with most recent version |
Thank for reply. Using board 'm5stack_core2' from platform in folder: C:\Users****\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.1 |
Hey @mayday77 sorry for the delay, I tried to reproduce this issue on my side by never get your result, To be sure here all board an librairies that I use to compile the v1.2.2 : board 'm5stack_core2' from platform in folder: C:\Users\7h30th3r0n3\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.1 Can you check if there is any divergence that can cause these error please |
@mayday77 any news ? |
sorry was awk. Will be online for 2-3 days and reproduce all the librarys. Thank you |
@mayday77 just set compiler warning level to defaut in arduino prefs, the deprecation warning from ArduinoJSON will still be printed during compilation but it won't stop the compilation when encountered. |
@mayday77 any news about this ? |
closing no answer |
C:\Users*****\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.1/tools/sdk/esp32/include/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino: In function 'void snifferCallback(void, wifi_promiscuous_pkt_type_t)':
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino:4508:33: warning: 'DynamicJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations]
DynamicJsonDocument json(4096); // Augmenter la taille pour l'analyse
^
In file included from d:\Evil\libraries\ArduinoJson\src/ArduinoJson.hpp:56,
from d:\Evil\libraries\ArduinoJson\src/ArduinoJson.h:9,
from D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino:47:
d:\Evil\libraries\ArduinoJson\src/ArduinoJson/compatibility.hpp:125:58: note: declared here
class ARDUINOJSON_DEPRECATED("use JsonDocument instead") DynamicJsonDocument
^~~~~~~~~~~~~~~~~~~
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino: In function 'void snifferCallbackDeauth(void, wifi_promiscuous_pkt_type_t)':
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino:5039:22: error: variable 'ctrl' set but not used [-Werror=unused-but-set-variable]
wifi_pkt_rx_ctrl_t ctrl = pkt->rx_ctrl;
^~~~
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino: In function 'void wifi_scan()':
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino:5466:13: error: unused variable 'rssi' [-Werror=unused-variable]
int32_t rssi = WiFi.RSSI(i);
^~~~
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino: In function 'void promiscuous_callback(void, wifi_promiscuous_pkt_type_t)':
D:\Evil\Evil-M5Core2-1-2-2\Evil-M5Core2-1-2-2.ino:5544:22: error: variable 'ctrl' set but not used [-Werror=unused-but-set-variable]
wifi_pkt_rx_ctrl_t ctrl = pkt->rx_ctrl;
^~~~
cc1plus.exe: some warnings being treated as errors
The text was updated successfully, but these errors were encountered: