M5Unified icon indicating copy to clipboard operation
M5Unified copied to clipboard

M5StampC3 and M5Unifed wont compile

Open Onzeisnottwice opened this issue 1 year ago • 1 comments

OSX Arduino version 232527 M5Unified : 0.2.10 M5GFX : 0.2.15 Device : M5StampC3 Compile with board M5StampC3

Empty sketch gives and compilation error that ends in status 1. This seems to be the error message:

/Users/-----Documents/Arduino/libraries/M5GFX/src/lgfx/v1/platforms/esp32/common.cpp: In function 'int lgfx::v1::search_pin_number(int)': /Users/------Documents/Arduino/libraries/M5GFX/src/lgfx/v1/platforms/esp32/common.cpp:175:60: error: 'volatile union gpio_dev_s::' has no member named 'func_sel' 175 | uint32_t result = GPIO.func_in_sel_cfg[peripheral_sig].func_sel; | ^~~~~~~~ /Users/-------/Documents/Arduino/libraries/M5GFX/src/lgfx/v1/platforms/esp32/common.cpp: In function 'void lgfx::v1::pinMode(int_fast16_t, pin_mode_t)': /Users/------/Documents/Arduino/libraries/M5GFX/src/lgfx/v1/platforms/esp32/common.cpp:388:32: error: 'volatile union gpio_dev_s::' has no member named 'func_sel' 388 | GPIO.func_out_sel_cfg[pin].func_sel = SIG_GPIO_OUT_IDX;

Any clue? Thanks a lot

`#include <M5Unified.h> void setup() { // put your setup code here, to run once:

}

void loop() { // put your main code here, to run repeatedly:

}`

Onzeisnottwice avatar Oct 02 '25 14:10 Onzeisnottwice

Hello, @Onzeisnottwice

I'd like more information about your build environment. Please tell me the version number of your ArduinoESP32. Also, did you use Arduino IDE or VSCode+PlatformIO to build it?

lovyan03 avatar Oct 14 '25 04:10 lovyan03