@Kiko62 could you suggestion any ideas about what version you can compile?
I tried different esp32 versions (1.0.2-1.0.5) in board manager but also failed.
Choose board m5stick-c.
Compiliation erro with arduino ide 1.8.13
sketch\joyc.ino.cpp.o:(.literal._Z4loopv+0x8): undefined reference to `connect_off'
sketch\joyc.ino.cpp.o:(.literal._Z5setupv+0x3c): undefined reference to `connect_on'
Compilation error with platform.io
.pio\build\m5stick-c\src\joyc.ino.cpp.o:(.literal._Z4loopv+0x8): undefined reference to `connect_off'
.pio\build\m5stick-c\src\joyc.ino.cpp.o:(.literal._Z5setupv+0x40): undefined reference to `connect_on'
https://github.com/m5stack/M5-ProductExampleCodes/blob/f78fc2e2a48c8b2eda031985d5dc5f774317e634/Hat/JoyC/Arduino/JoyC/JoyC.ino
@Kiko62 could you suggestion any ideas about what version you can compile? I tried different esp32 versions (1.0.2-1.0.5) in board manager but also failed. Choose board m5stick-c.
Compiliation erro with arduino ide 1.8.13
Compilation error with platform.io