Skip to content

M5StampC3 and M5Unifed wont compile #192

@Onzeisnottwice

Description

@Onzeisnottwice

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:

}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions