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
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
The text was updated successfully, but these errors were encountered:
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:
Master branch compile error:
The text was updated successfully, but these errors were encountered: