Hello,
I use M5StamPLC under Visual Code with this platform.ini: Topic 7784.
Since 10 hours ago there is the new version 0.2.8 of M5Unified. With a short test program I got this errors:
Compiling .pio/build/xxx/libad7/M5Unified/utility/power/INA226_Class.cpp.o
Archiving .pio/build/xxx/lib056/libM5GFX.a
Compiling .pio/build/xxx/libad7/M5Unified/utility/power/INA3221_Class.cpp.o
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:78:12: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
{ board_t::board_M5CardputerADV,GPIO_NUM_9 ,GPIO_NUM_8 , GPIO_NUM_1 ,GPIO_NUM_2 },
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:82:12: error: 'board_M5AtomEchoS3R' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
{ board_t::board_M5AtomEchoS3R, GPIO_NUM_0 ,GPIO_NUM_45 , GPIO_NUM_1 ,GPIO_NUM_2 },
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:151:12: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
{ board_t::board_M5CardputerADV,GPIO_NUM_40, GPIO_NUM_14, GPIO_NUM_39, GPIO_NUM_12 },
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:178:12: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
{ board_t::board_M5CardputerADV,GPIO_NUM_21 },
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp: In member function 'm5::board_t m5::M5Unified::_check_boardtype(m5::board_t)':
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1151:30: error: 'board_M5AtomEchoS3R' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
board = board_t::board_M5AtomEchoS3R;
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp: In member function 'void m5::M5Unified::_begin(const m5::M5Unified::config_t&)':
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1462:19: error: 'board_M5AtomEchoS3R' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5AtomEchoS3R:
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1478:19: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5CardputerADV:
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp: In member function 'void m5::M5Unified::_begin_spk(m5::M5Unified::config_t&)':
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1587:21: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5CardputerADV:
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1768:21: error: 'board_M5AtomEchoS3R' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5AtomEchoS3R:
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1839:21: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5CardputerADV:
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:1847:34: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
if (_board == board_t::board_M5CardputerADV) {
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp: In member function 'virtual void m5::M5Unified::update()':
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:2232:19: error: 'board_M5CardputerADV' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5CardputerADV:
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/xxx/M5Unified/src/M5Unified.cpp:2241:19: error: 'board_M5AtomEchoS3R' is not a member of 'm5::board_t' {aka 'lgfx::boards::board_t'}
case board_t::board_M5AtomEchoS3R:
^~~~~~~~~~~~~~~~~~~
Compiling .pio/build/xxx/libad7/M5Unified/utility/power/IP5306_Class.cpp.o
Compiling .pio/build/xxx/libfc2/FS/FS.cpp.o
*** [.pio/build/xxx/libad7/M5Unified/M5Unified.cpp.o] Error 1
I try to use the version 0.2.7 in platform.ini:
lib_deps =
M5StamPLC=https://github.com/m5stack/M5StamPLC
M5Unified=https://github.com/m5stack/M5Unified^0.2.7
It didn't work. The version 0.2.7 and 0.2.8 was used and I got the same errors.
Who can help?