You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Im trying to upload the firmware with arduino ide to my m5stickcplus2
i have done all the steps, but when I compile the code i get a lot of errors, I did it downloading the zip source code, changing the folder name to bruce and opening with arduino ide the bruce ino on the folder, i changed the #define for my device and i have done all the steps. This are the error codes:In file included from C:\Users\Propietario\Desktop\bruce\WORLD_IR_CODES.h:20,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:283:
C:\Users\Propietario\Desktop\bruce\tvbg.h: In function 'void quickflashLED()':
C:\Users\Propietario\Desktop\bruce\tvbg.h:92:16: error: 'M5_LED' was not declared in this scope
digitalWrite(M5_LED, LOW);
^~~~~~
C:\Users\Propietario\Desktop\bruce\tvbg.h:92:16: note: suggested alternative: 'M5LED'
digitalWrite(M5_LED, LOW);
^~~~~~
M5LED
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:286:
C:\Users\Propietario\Desktop\bruce\portal.h: In function 'void blinkLed()':
C:\Users\Propietario\Desktop\bruce\portal.h:189:18: error: 'M5_LED' was not declared in this scope
digitalWrite(M5_LED, LOW);
^~~~~~
C:\Users\Propietario\Desktop\bruce\portal.h:189:18: note: suggested alternative: 'M5LED'
digitalWrite(M5_LED, LOW);
^~~~~~
M5LED
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h: At global scope:
C:\Users\Propietario\Desktop\bruce\sd.h:2:6: error: redefinition of 'bool sdcardMounted'
bool sdcardMounted = false;
^~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:2:6: note: 'bool sdcardMounted' previously defined here
bool sdcardMounted = false;
^~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:7:13: error: redefinition of 'SPIClass* sdcardSPI'
SPIClass* sdcardSPI = NULL;
^~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:7:13: note: 'SPIClass* sdcardSPI' previously defined here
SPIClass* sdcardSPI = NULL;
^~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:8:21: error: redefinition of 'QueueDefinition* sdcardSemaphore'
SemaphoreHandle_t sdcardSemaphore;
^~~~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:8:21: note: 'QueueDefinition* sdcardSemaphore' previously declared here
SemaphoreHandle_t sdcardSemaphore;
^~~~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:10:8: error: redefinition of 'void appendToFile(fs::FS&, const char*, const char*)'
void appendToFile(fs::FS& fs, const char* path, const char* text) {
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:10:8: note: 'void appendToFile(fs::FS&, const char*, const char*)' previously defined here
void appendToFile(fs::FS& fs, const char* path, const char* text) {
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:63:6: error: redefinition of 'bool setupSdCard()'
bool setupSdCard() {
^~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:63:6: note: 'bool setupSdCard()' previously defined here
bool setupSdCard() {
^~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:83:6: error: redefinition of 'void ToggleSDCard()'
void ToggleSDCard()
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:83:6: note: 'void ToggleSDCard()' previously defined here
void ToggleSDCard()
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:295:
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void waitForInput(String&)':
C:\Users\Propietario\Desktop\bruce\clients.h:60:9: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:62:13: error: 'Keyboard_Class' has not been declared
Keyboard_Class::KeysState status = M5Cardputer.Keyboard.keysState();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:64:17: error: 'status' was not declared in this scope
if (status.del && currentInput.length() > 0) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:64:17: note: suggested alternative: 'stat'
if (status.del && currentInput.length() > 0) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:79:27: error: 'status' was not declared in this scope
for (auto i : status.word) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:79:27: note: suggested alternative: 'stat'
for (auto i : status.word) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:88:17: error: 'status' was not declared in this scope
if (status.enter) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:88:17: note: suggested alternative: 'stat'
if (status.enter) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void ssh_loop()':
C:\Users\Propietario\Desktop\bruce\clients.h:105:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:113:13: error: 'Keyboard_Class' has not been declared
Keyboard_Class::KeysState status = M5Cardputer.Keyboard.keysState();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:115:27: error: 'status' was not declared in this scope
for (auto i : status.word) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:115:27: note: suggested alternative: 'stat'
for (auto i : status.word) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:121:17: error: 'status' was not declared in this scope
if (status.del && commandBuffer.length() > 2) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:121:17: note: suggested alternative: 'stat'
if (status.del && commandBuffer.length() > 2) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:133:17: error: 'status' was not declared in this scope
if (status.enter) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:133:17: note: suggested alternative: 'stat'
if (status.enter) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void ssh_setup()':
C:\Users\Propietario\Desktop\bruce\clients.h:211:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg, true);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void telnet_setup()':
C:\Users\Propietario\Desktop\bruce\clients.h:369:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg, true);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: At global scope:
C:\Users\Propietario\Desktop\bruce\bruce.ino:328:1: error: 'MFRC522' does not name a type; did you mean 'MFRC522_I2C'?
MFRC522 mfrc522(0x28); // Create MFRC522 instance.
^~~~~~~
MFRC522_I2C
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void portal_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2565:3: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.Display.clear();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void mic_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2661:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void mic_loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2687:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void rfid_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2911:3: error: 'mfrc522' was not declared in this scope
mfrc522.PCD_Init();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void rfid_loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:7: error: 'M5Cardputer' was not declared in this scope
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:41: error: 'KEY_ENTER' was not declared in this scope
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:41: note: suggested alternative: 'WHYNTER'
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~
WHYNTER
C:\Users\Propietario\Desktop\bruce\bruce.ino:2938:8: error: 'mfrc522' was not declared in this scope
if (!mfrc522.PICC_IsNewCardPresent())
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2940:8: error: 'mfrc522' was not declared in this scope
if (!mfrc522.PICC_ReadCardSerial())
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2956:3: error: 'mfrc522' was not declared in this scope
mfrc522.PICC_HaltA();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void readCard()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2960:3: error: 'MFRC522' has not been declared
MFRC522::PICC_Type piccType = (MFRC522::PICC_Type)mfrc522.PICC_GetType(mfrc522.uid.sak);
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:14: error: 'mfrc522' was not declared in this scope
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:39: error: 'piccType' was not declared in this scope
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:39: note: suggested alternative: 'wctype'
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~~
wctype
C:\Users\Propietario\Desktop\bruce\bruce.ino:2968:19: error: 'MFRC522' has not been declared
if (piccType != MFRC522::PICC_TYPE_MIFARE_MINI &&
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2969:19: error: 'MFRC522' has not been declared
piccType != MFRC522::PICC_TYPE_MIFARE_1K &&
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2970:19: error: 'MFRC522' has not been declared
piccType != MFRC522::PICC_TYPE_MIFARE_4K) {
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void writeCard()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:3003:7: error: 'mfrc522' was not declared in this scope
if (mfrc522.MIFARE_SetUid(UID, (byte)UIDLength, true)) {
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3018:3: error: 'mfrc522' was not declared in this scope
mfrc522.PICC_HaltA();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:3143:11: error: 'usb_setup' was not declared in this scope
usb_setup();
^~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3143:11: note: suggested alternative: 'ssh_setup'
usb_setup();
^~~~~~~~~
ssh_setup
C:\Users\Propietario\Desktop\bruce\bruce.ino:3149:11: error: 'keyboard_setup' was not declared in this scope
keyboard_setup();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3149:11: note: suggested alternative: 'color_setup'
keyboard_setup();
^~~~~~~~~~~~~~
color_setup
C:\Users\Propietario\Desktop\bruce\bruce.ino:3338:9: error: 'usb_loop' was not declared in this scope
usb_loop();
^~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3338:9: note: suggested alternative: 'ssh_loop'
usb_loop();
^~~~~~~~
ssh_loop
C:\Users\Propietario\Desktop\bruce\bruce.ino:3344:9: error: 'keyboard_loop' was not declared in this scope
keyboard_loop();
^~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3344:9: note: suggested alternative: 'color_loop'
keyboard_loop();
^~~~~~~~~~~~~
color_loop
Se encontraron varias bibliotecas para "SD.h"
Usado: C:\Users\Propietario\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.1\libraries\SD
No utilizado: C:\Users\Propietario\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: 'M5_LED' was not declared in this scope
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Im trying to upload the firmware with arduino ide to my m5stickcplus2
i have done all the steps, but when I compile the code i get a lot of errors, I did it downloading the zip source code, changing the folder name to bruce and opening with arduino ide the bruce ino on the folder, i changed the #define for my device and i have done all the steps. This are the error codes:In file included from C:\Users\Propietario\Desktop\bruce\WORLD_IR_CODES.h:20,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:283:
C:\Users\Propietario\Desktop\bruce\tvbg.h: In function 'void quickflashLED()':
C:\Users\Propietario\Desktop\bruce\tvbg.h:92:16: error: 'M5_LED' was not declared in this scope
digitalWrite(M5_LED, LOW);
^~~~~~
C:\Users\Propietario\Desktop\bruce\tvbg.h:92:16: note: suggested alternative: 'M5LED'
digitalWrite(M5_LED, LOW);
^~~~~~
M5LED
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:286:
C:\Users\Propietario\Desktop\bruce\portal.h: In function 'void blinkLed()':
C:\Users\Propietario\Desktop\bruce\portal.h:189:18: error: 'M5_LED' was not declared in this scope
digitalWrite(M5_LED, LOW);
^~~~~~
C:\Users\Propietario\Desktop\bruce\portal.h:189:18: note: suggested alternative: 'M5LED'
digitalWrite(M5_LED, LOW);
^~~~~~
M5LED
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h: At global scope:
C:\Users\Propietario\Desktop\bruce\sd.h:2:6: error: redefinition of 'bool sdcardMounted'
bool sdcardMounted = false;
^~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:2:6: note: 'bool sdcardMounted' previously defined here
bool sdcardMounted = false;
^~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:7:13: error: redefinition of 'SPIClass* sdcardSPI'
SPIClass* sdcardSPI = NULL;
^~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:7:13: note: 'SPIClass* sdcardSPI' previously defined here
SPIClass* sdcardSPI = NULL;
^~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:8:21: error: redefinition of 'QueueDefinition* sdcardSemaphore'
SemaphoreHandle_t sdcardSemaphore;
^~~~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:8:21: note: 'QueueDefinition* sdcardSemaphore' previously declared here
SemaphoreHandle_t sdcardSemaphore;
^~~~~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:10:8: error: redefinition of 'void appendToFile(fs::FS&, const char*, const char*)'
void appendToFile(fs::FS& fs, const char* path, const char* text) {
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:10:8: note: 'void appendToFile(fs::FS&, const char*, const char*)' previously defined here
void appendToFile(fs::FS& fs, const char* path, const char* text) {
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:63:6: error: redefinition of 'bool setupSdCard()'
bool setupSdCard() {
^~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:63:6: note: 'bool setupSdCard()' previously defined here
bool setupSdCard() {
^~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\PCAP.h:15,
from C:\Users\Propietario\Desktop\bruce\sniffer.h:23,
from C:\Users\Propietario\Desktop\bruce\bruce.ino:294:
C:\Users\Propietario\Desktop\bruce\sd.h:83:6: error: redefinition of 'void ToggleSDCard()'
void ToggleSDCard()
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:285:
C:\Users\Propietario\Desktop\bruce\sd.h:83:6: note: 'void ToggleSDCard()' previously defined here
void ToggleSDCard()
^~~~~~~~~~~~
In file included from C:\Users\Propietario\Desktop\bruce\bruce.ino:295:
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void waitForInput(String&)':
C:\Users\Propietario\Desktop\bruce\clients.h:60:9: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:62:13: error: 'Keyboard_Class' has not been declared
Keyboard_Class::KeysState status = M5Cardputer.Keyboard.keysState();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:64:17: error: 'status' was not declared in this scope
if (status.del && currentInput.length() > 0) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:64:17: note: suggested alternative: 'stat'
if (status.del && currentInput.length() > 0) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:79:27: error: 'status' was not declared in this scope
for (auto i : status.word) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:79:27: note: suggested alternative: 'stat'
for (auto i : status.word) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:88:17: error: 'status' was not declared in this scope
if (status.enter) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:88:17: note: suggested alternative: 'stat'
if (status.enter) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void ssh_loop()':
C:\Users\Propietario\Desktop\bruce\clients.h:105:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:113:13: error: 'Keyboard_Class' has not been declared
Keyboard_Class::KeysState status = M5Cardputer.Keyboard.keysState();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:115:27: error: 'status' was not declared in this scope
for (auto i : status.word) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:115:27: note: suggested alternative: 'stat'
for (auto i : status.word) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:121:17: error: 'status' was not declared in this scope
if (status.del && commandBuffer.length() > 2) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:121:17: note: suggested alternative: 'stat'
if (status.del && commandBuffer.length() > 2) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h:133:17: error: 'status' was not declared in this scope
if (status.enter) {
^~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h:133:17: note: suggested alternative: 'stat'
if (status.enter) {
^~~~~~
stat
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void ssh_setup()':
C:\Users\Propietario\Desktop\bruce\clients.h:211:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg, true);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\clients.h: In function 'void telnet_setup()':
C:\Users\Propietario\Desktop\bruce\clients.h:369:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg, true);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: At global scope:
C:\Users\Propietario\Desktop\bruce\bruce.ino:328:1: error: 'MFRC522' does not name a type; did you mean 'MFRC522_I2C'?
MFRC522 mfrc522(0x28); // Create MFRC522 instance.
^~~~~~~
MFRC522_I2C
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void portal_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2565:3: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.Display.clear();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void mic_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2661:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.begin(cfg);
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void mic_loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2687:5: error: 'M5Cardputer' was not declared in this scope
M5Cardputer.update();
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void rfid_setup()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2911:3: error: 'mfrc522' was not declared in this scope
mfrc522.PCD_Init();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void rfid_loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:7: error: 'M5Cardputer' was not declared in this scope
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:41: error: 'KEY_ENTER' was not declared in this scope
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2921:41: note: suggested alternative: 'WHYNTER'
if (M5Cardputer.Keyboard.isKeyPressed(KEY_ENTER) && readUID) {
^~~~~~~~~
WHYNTER
C:\Users\Propietario\Desktop\bruce\bruce.ino:2938:8: error: 'mfrc522' was not declared in this scope
if (!mfrc522.PICC_IsNewCardPresent())
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2940:8: error: 'mfrc522' was not declared in this scope
if (!mfrc522.PICC_ReadCardSerial())
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2956:3: error: 'mfrc522' was not declared in this scope
mfrc522.PICC_HaltA();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void readCard()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:2960:3: error: 'MFRC522' has not been declared
MFRC522::PICC_Type piccType = (MFRC522::PICC_Type)mfrc522.PICC_GetType(mfrc522.uid.sak);
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:14: error: 'mfrc522' was not declared in this scope
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:39: error: 'piccType' was not declared in this scope
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2963:39: note: suggested alternative: 'wctype'
DISP.print(mfrc522.PICC_GetTypeName(piccType));
^~~~~~~~
wctype
C:\Users\Propietario\Desktop\bruce\bruce.ino:2968:19: error: 'MFRC522' has not been declared
if (piccType != MFRC522::PICC_TYPE_MIFARE_MINI &&
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2969:19: error: 'MFRC522' has not been declared
piccType != MFRC522::PICC_TYPE_MIFARE_1K &&
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:2970:19: error: 'MFRC522' has not been declared
piccType != MFRC522::PICC_TYPE_MIFARE_4K) {
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void writeCard()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:3003:7: error: 'mfrc522' was not declared in this scope
if (mfrc522.MIFARE_SetUid(UID, (byte)UIDLength, true)) {
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3018:3: error: 'mfrc522' was not declared in this scope
mfrc522.PICC_HaltA();
^~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino: In function 'void loop()':
C:\Users\Propietario\Desktop\bruce\bruce.ino:3143:11: error: 'usb_setup' was not declared in this scope
usb_setup();
^~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3143:11: note: suggested alternative: 'ssh_setup'
usb_setup();
^~~~~~~~~
ssh_setup
C:\Users\Propietario\Desktop\bruce\bruce.ino:3149:11: error: 'keyboard_setup' was not declared in this scope
keyboard_setup();
^~~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3149:11: note: suggested alternative: 'color_setup'
keyboard_setup();
^~~~~~~~~~~~~~
color_setup
C:\Users\Propietario\Desktop\bruce\bruce.ino:3338:9: error: 'usb_loop' was not declared in this scope
usb_loop();
^~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3338:9: note: suggested alternative: 'ssh_loop'
usb_loop();
^~~~~~~~
ssh_loop
C:\Users\Propietario\Desktop\bruce\bruce.ino:3344:9: error: 'keyboard_loop' was not declared in this scope
keyboard_loop();
^~~~~~~~~~~~~
C:\Users\Propietario\Desktop\bruce\bruce.ino:3344:9: note: suggested alternative: 'color_loop'
keyboard_loop();
^~~~~~~~~~~~~
color_loop
Se encontraron varias bibliotecas para "SD.h"
Usado: C:\Users\Propietario\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.1.1\libraries\SD
No utilizado: C:\Users\Propietario\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: 'M5_LED' was not declared in this scope
The text was updated successfully, but these errors were encountered: