codewitch-honey-crisis / htcw_wio_terminal

MIT License
0 stars 0 forks source link

Errors trying to compile htcw_wio_terminal demos #1

Closed jcwren closed 7 months ago

jcwren commented 7 months ago

I'm attempting to compile the included demos and get errors on both demos.

Cloned htcw_wio_terminal, then created directory ds2 and copied the files in examples/demos into ds2. Installed htcw_wio_terminal as a library (shown below), then pio run to compile it and got the errors shown below. At the bottom is the output of the pio pkg list command.

I can get wio-terminal-gfx to compile and run by changing the ::abs to abs in line 5027 of .pio/libdeps/wio-terminal-gfx/htcw_gfx/src/gfx_open_font.cpp. Not sure what the issue is with wio-terminal-uix as I'm strictly a C programmer and don't do any real C++.

mbpro-14:ds2 jcw$ pio pkg install -l codewitch-honey-crisis/htcw_wio_terminal
Resolving wio-terminal-gfx dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_wio_terminal
Unpacking  [####################################]  100%
Library Manager: htcw_wio_terminal@0.1.34 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_ili9341 @ ^1.3.3
Unpacking  [####################################]  100%
Library Manager: htcw_ili9341@1.3.31 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_gfx @ ^1.2.3
Unpacking  [####################################]  100%
Library Manager: htcw_gfx@1.661.0 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_bits @ ^1.0.13
Unpacking  [####################################]  100%
Library Manager: htcw_bits@1.0.13 has been installed!
Library Manager: Installing codewitch-honey-crisis/htcw_data @ ^1.2
Unpacking  [####################################]  100%
Library Manager: htcw_data@1.2.0 has been installed!
Library Manager: Installing codewitch-honey-crisis/htcw_io @ ^1.1.43
Unpacking  [####################################]  100%
Library Manager: htcw_io@1.1.43 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_bits@1.0.13 is already installed
Library Manager: Installing codewitch-honey-crisis/htcw_ml @ ^0.1.3
Unpacking  [####################################]  100%
Library Manager: htcw_ml@0.1.3 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_io@1.1.43 is already installed
Library Manager: Installing codewitch-honey-crisis/htcw_tft_io @ ^1.1.0
Unpacking  [####################################]  100%
Library Manager: htcw_tft_io@1.1.51 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Wire @ *
Library Manager: Installing SPI @ *
Library Manager: Installing codewitch-honey-crisis/htcw_button @ ^0.2.22
Unpacking  [####################################]  100%
Library Manager: htcw_button@0.2.22 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_data@1.2.0 is already installed
Resolving wio-terminal-uix dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_wio_terminal
Unpacking  [####################################]  100%
Library Manager: htcw_wio_terminal@0.1.34 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_ili9341 @ ^1.3.3
Unpacking  [####################################]  100%
Library Manager: htcw_ili9341@1.3.31 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_gfx @ ^1.2.3
Unpacking  [####################################]  100%
Library Manager: htcw_gfx@1.661.0 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing codewitch-honey-crisis/htcw_bits @ ^1.0.13
Unpacking  [####################################]  100%
Library Manager: htcw_bits@1.0.13 has been installed!
Library Manager: Installing codewitch-honey-crisis/htcw_data @ ^1.2
Unpacking  [####################################]  100%
Library Manager: htcw_data@1.2.0 has been installed!
Library Manager: Installing codewitch-honey-crisis/htcw_io @ ^1.1.43
Unpacking  [####################################]  100%
Library Manager: htcw_io@1.1.43 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_bits@1.0.13 is already installed
Library Manager: Installing codewitch-honey-crisis/htcw_ml @ ^0.1.3
Unpacking  [####################################]  100%
Library Manager: htcw_ml@0.1.3 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_io@1.1.43 is already installed
Library Manager: Installing codewitch-honey-crisis/htcw_tft_io @ ^1.1.0
Unpacking  [####################################]  100%
Library Manager: htcw_tft_io@1.1.51 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Wire @ *
Library Manager: Installing SPI @ *
Library Manager: Installing codewitch-honey-crisis/htcw_button @ ^0.2.22
Unpacking  [####################################]  100%
Library Manager: htcw_button@0.2.22 has been installed!
Library Manager: Resolving dependencies...
Library Manager: htcw_data@1.2.0 is already installed
mbpro-14:ds2 jcw$ pio run
Processing wio-terminal-gfx (platform: atmelsam; board: seeed_wio_terminal; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Library Manager: Installing Wire @ *
Library Manager: Installing SPI @ *
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/seeed_wio_terminal.html
PLATFORM: Atmel SAM (8.2.0) > Seeeduino Wio Terminal
HARDWARE: SAMD51P19A 120MHz, 192KB RAM, 496KB Flash
DEBUG: Current (atmel-ice) External (atmel-ice, blackmagic, jlink)
PACKAGES: 
 - framework-arduino-samd-seeed @ 1.8.4 
 - framework-cmsis @ 2.50400.181126 (5.4.0) 
 - framework-cmsis-atmel @ 1.2.2 
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep, Compatibility ~ soft
Found 24 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SPI @ 1.0
|-- Wire @ 1.0
|-- htcw_wio_terminal @ 0.1.34
|-- htcw_gfx @ 1.661.0
Building in release mode
Compiling .pio/build/wio-terminal-gfx/src/main_gfx.cpp.o
Compiling .pio/build/wio-terminal-gfx/lib48b/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp.o
Compiling .pio/build/wio-terminal-gfx/lib9d0/SPI/SPI.cpp.o
Compiling .pio/build/wio-terminal-gfx/libaec/Wire/Wire.cpp.o
Compiling .pio/build/wio-terminal-gfx/libea4/htcw_io/io_stream.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_drawing.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_encoding.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_font.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_image.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_math.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_open_font.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_palette.cpp.o
Compiling .pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_pixel.cpp.o
In file included from .pio/libdeps/wio-terminal-gfx/htcw_io/include/io_stream.hpp:5:0,
                 from .pio/libdeps/wio-terminal-gfx/htcw_gfx/include/gfx_core.hpp:19,
                 from .pio/libdeps/wio-terminal-gfx/htcw_gfx/src/gfx_open_font.cpp:1:
.pio/libdeps/wio-terminal-gfx/htcw_gfx/src/gfx_open_font.cpp: In member function 'gfx::ssize16 gfx::open_font::measure_text(gfx::ssize16, gfx::spoint16, const char*, float, float, gfx::gfx_encoding, gfx::open_font_cache*) const':
/Users/jcw/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:137:16: error: expected id-expression before '(' token
 #define abs(x) ((x)>0?(x):-(x))
                ^
.pio/libdeps/wio-terminal-gfx/htcw_gfx/src/gfx_open_font.cpp:5027:69: note: in expansion of macro 'abs'
         return {(int16_t)(ceil(x_extent)),(int16_t)(ceil(y_extent+::abs((long long)(dsc*scale))))};
                                                                     ^~~
.pio/libdeps/wio-terminal-gfx/htcw_gfx/src/gfx_open_font.cpp:5027:98: error: could not convert '{(int16_t)ceil()(x_extent), <expression error>}' from '<brace-enclosed initializer list>' to 'gfx::ssize16 {aka gfx::sizex<short int>}'
         return {(int16_t)(ceil(x_extent)),(int16_t)(ceil(y_extent+::abs((long long)(dsc*scale))))};
                                                                                                  ^
*** [.pio/build/wio-terminal-gfx/libd33/htcw_gfx/gfx_open_font.cpp.o] Error 1
================================================================================================================= [FAILED] Took 2.11 seconds =================================================================================================================

Processing wio-terminal-uix (platform: atmelsam; board: seeed_wio_terminal; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Library Manager: Installing codewitch-honey-crisis/htcw_uix
Unpacking  [####################################]  100%
Library Manager: htcw_uix@0.14.0 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Wire @ *
Library Manager: Installing SPI @ *
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/seeed_wio_terminal.html
PLATFORM: Atmel SAM (8.2.0) > Seeeduino Wio Terminal
HARDWARE: SAMD51P19A 120MHz, 192KB RAM, 496KB Flash
DEBUG: Current (atmel-ice) External (atmel-ice, blackmagic, jlink)
PACKAGES: 
 - framework-arduino-samd-seeed @ 1.8.4 
 - framework-cmsis @ 2.50400.181126 (5.4.0) 
 - framework-cmsis-atmel @ 1.2.2 
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep, Compatibility ~ soft
Found 25 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SPI @ 1.0
|-- Wire @ 1.0
|-- htcw_uix @ 0.14.0
|-- htcw_wio_terminal @ 0.1.34
|-- htcw_gfx @ 1.661.0
Building in release mode
Compiling .pio/build/wio-terminal-uix/src/main_uix.cpp.o
Compiling .pio/build/wio-terminal-uix/src/ui.cpp.o
Compiling .pio/build/wio-terminal-uix/lib48b/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp.o
Compiling .pio/build/wio-terminal-uix/lib9d0/SPI/SPI.cpp.o
Compiling .pio/build/wio-terminal-uix/libaec/Wire/Wire.cpp.o
Compiling .pio/build/wio-terminal-uix/libb7e/htcw_io/io_stream.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_drawing.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_encoding.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_font.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_image.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_math.cpp.o
Compiling .pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_open_font.cpp.o
In file included from src/main_uix.cpp:3:0:
include/ui.hpp:11:64: error: wrong number of template arguments (3, should be at least 1)
 using screen_t = uix::screen<320,240,typename lcd_t::pixel_type>;
                                                                ^
In file included from .pio/libdeps/wio-terminal-uix/htcw_uix/include/uix.hpp:4:0,
                 from include/ui.hpp:4,
                 from src/main_uix.cpp:3:
.pio/libdeps/wio-terminal-uix/htcw_uix/include/uix_screen.hpp:679:65: note: provided for 'template<class PixelType, class PaletteType> using screen = uix::screen_ex<gfx::bitmap<PixelType, PaletteType> >'
     using screen = screen_ex<gfx::bitmap<PixelType,PaletteType>>;
                                                                 ^
In file included from src/main_uix.cpp:3:0:
include/ui.hpp:14:67: error: template argument 1 is invalid
 using label_t = uix::label<typename screen_t::control_surface_type>;
                                                                   ^
include/ui.hpp:17:69: error: template argument 1 is invalid
 using canvas_t = uix::canvas<typename screen_t::control_surface_type>;
                                                                     ^
include/ui.hpp:20:8: error: 'screen_t' does not name a type; did you mean '_reent'?
 extern screen_t main_screen;
        ^~~~~~~~
        _reent
include/ui.hpp:22:8: error: 'label_t' does not name a type
 extern label_t title_label;
        ^~~~~~~
include/ui.hpp:24:8: error: 'canvas_t' does not name a type; did you mean 'caddr_t'?
 extern canvas_t buttons_canvas;
        ^~~~~~~~
        caddr_t
src/main_uix.cpp: In function 'void loop()':
src/main_uix.cpp:48:5: error: 'main_screen' was not declared in this scope
     main_screen.update();
     ^~~~~~~~~~~
In file included from src/ui.cpp:1:0:
include/ui.hpp:11:64: error: wrong number of template arguments (3, should be at least 1)
 using screen_t = uix::screen<320,240,typename lcd_t::pixel_type>;
                                                                ^
In file included from .pio/libdeps/wio-terminal-uix/htcw_uix/include/uix.hpp:4:0,
                 from include/ui.hpp:4,
                 from src/ui.cpp:1:
.pio/libdeps/wio-terminal-uix/htcw_uix/include/uix_screen.hpp:679:65: note: provided for 'template<class PixelType, class PaletteType> using screen = uix::screen_ex<gfx::bitmap<PixelType, PaletteType> >'
     using screen = screen_ex<gfx::bitmap<PixelType,PaletteType>>;
                                                                 ^
In file included from src/ui.cpp:1:0:
include/ui.hpp:14:67: error: template argument 1 is invalid
 using label_t = uix::label<typename screen_t::control_surface_type>;
                                                                   ^
include/ui.hpp:17:69: error: template argument 1 is invalid
 using canvas_t = uix::canvas<typename screen_t::control_surface_type>;
                                                                     ^
include/ui.hpp:20:8: error: 'screen_t' does not name a type; did you mean '_reent'?
 extern screen_t main_screen;
        ^~~~~~~~
        _reent
include/ui.hpp:22:8: error: 'label_t' does not name a type
 extern label_t title_label;
        ^~~~~~~
include/ui.hpp:24:8: error: 'canvas_t' does not name a type; did you mean 'caddr_t'?
 extern canvas_t buttons_canvas;
        ^~~~~~~~
        caddr_t
src/ui.cpp:22:1: error: 'screen_t' does not name a type; did you mean '_reent'?
 screen_t main_screen(lcd_buffer_size,lcd_buffer);
 ^~~~~~~~
 _reent
src/ui.cpp:23:1: error: 'label_t' does not name a type
 label_t title_label(main_screen);
 ^~~~~~~
src/ui.cpp:24:1: error: 'canvas_t' does not name a type; did you mean 'caddr_t'?
 canvas_t buttons_canvas(main_screen);
 ^~~~~~~~
 caddr_t
src/ui.cpp:26:37: error: variable or field 'buttons_canvas_on_paint' declared void
 static void buttons_canvas_on_paint(canvas_t::control_surface_type& destination, const srect16& clip, void* state) {
                                     ^~~~~~~~
src/ui.cpp:26:37: error: 'canvas_t' has not been declared
src/ui.cpp:26:69: error: 'destination' was not declared in this scope
 static void buttons_canvas_on_paint(canvas_t::control_surface_type& destination, const srect16& clip, void* state) {
                                                                     ^~~~~~~~~~~
*** [.pio/build/wio-terminal-uix/src/main_uix.cpp.o] Error 1
src/ui.cpp:26:82: error: expected primary-expression before 'const'
 static void buttons_canvas_on_paint(canvas_t::control_surface_type& destination, const srect16& clip, void* state) {
                                                                                  ^~~~~
src/ui.cpp:26:103: error: expected primary-expression before 'void'
 static void buttons_canvas_on_paint(canvas_t::control_surface_type& destination, const srect16& clip, void* state) {
                                                                                                       ^~~~
src/ui.cpp: In function 'void buttons_on_pressed_changed(bool, void*)':
src/ui.cpp:98:5: error: 'buttons_canvas' was not declared in this scope
     buttons_canvas.invalidate();
     ^~~~~~~~~~~~~~
src/ui.cpp:98:5: note: suggested alternative: 'button_press'
     buttons_canvas.invalidate();
     ^~~~~~~~~~~~~~
     button_press
src/ui.cpp: In function 'void main_screen_on_flush_callback(const rect16&, const void*, void*)':
src/ui.cpp:102:80: error: template argument 1 is invalid
     const_bitmap<typename screen_t::pixel_type,typename::screen_t::palette_type> source(bounds.dimensions(),bmp,main_screen.palette());
                                                                                ^
src/ui.cpp:102:80: error: template argument 2 is invalid
src/ui.cpp:102:113: error: 'main_screen' was not declared in this scope
     const_bitmap<typename screen_t::pixel_type,typename::screen_t::palette_type> source(bounds.dimensions(),bmp,main_screen.palette());
                                                                                                                 ^~~~~~~~~~~
src/ui.cpp:102:134: error: expression list treated as compound expression in initializer [-fpermissive]
     const_bitmap<typename screen_t::pixel_type,typename::screen_t::palette_type> source(bounds.dimensions(),bmp,main_screen.palette());
                                                                                                                                      ^
src/ui.cpp:104:43: error: request for member 'bounds' in 'source', which is of non-class type 'int'
     draw::bitmap(lcd,bounds,source,source.bounds());
                                           ^~~~~~
src/ui.cpp: In function 'void main_screen_initialize()':
src/ui.cpp:122:5: error: 'main_screen' was not declared in this scope
     main_screen.on_flush_callback(main_screen_on_flush_callback);
     ^~~~~~~~~~~
src/ui.cpp:132:5: error: 'title_label' was not declared in this scope
     title_label.bounds(b);
     ^~~~~~~~~~~
src/ui.cpp:145:5: error: 'buttons_canvas' was not declared in this scope
     buttons_canvas.bounds(b);
     ^~~~~~~~~~~~~~
src/ui.cpp:145:5: note: suggested alternative: 'button_press'
     buttons_canvas.bounds(b);
     ^~~~~~~~~~~~~~
     button_press
src/ui.cpp:146:29: error: 'buttons_canvas_on_paint' was not declared in this scope
     buttons_canvas.on_paint(buttons_canvas_on_paint,nullptr);
                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/wio-terminal-uix/htcw_io/include/io_stream.hpp:5:0,
                 from .pio/libdeps/wio-terminal-uix/htcw_gfx/include/gfx_core.hpp:19,
                 from .pio/libdeps/wio-terminal-uix/htcw_gfx/src/gfx_open_font.cpp:1:
.pio/libdeps/wio-terminal-uix/htcw_gfx/src/gfx_open_font.cpp: In member function 'gfx::ssize16 gfx::open_font::measure_text(gfx::ssize16, gfx::spoint16, const char*, float, float, gfx::gfx_encoding, gfx::open_font_cache*) const':
/Users/jcw/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:137:16: error: expected id-expression before '(' token
 #define abs(x) ((x)>0?(x):-(x))
                ^
.pio/libdeps/wio-terminal-uix/htcw_gfx/src/gfx_open_font.cpp:5027:69: note: in expansion of macro 'abs'
         return {(int16_t)(ceil(x_extent)),(int16_t)(ceil(y_extent+::abs((long long)(dsc*scale))))};
                                                                     ^~~
.pio/libdeps/wio-terminal-uix/htcw_gfx/src/gfx_open_font.cpp:5027:98: error: could not convert '{(int16_t)ceil()(x_extent), <expression error>}' from '<brace-enclosed initializer list>' to 'gfx::ssize16 {aka gfx::sizex<short int>}'
         return {(int16_t)(ceil(x_extent)),(int16_t)(ceil(y_extent+::abs((long long)(dsc*scale))))};
                                                                                                  ^
*** [.pio/build/wio-terminal-uix/libacb/htcw_gfx/gfx_open_font.cpp.o] Error 1
src/ui.cpp: At global scope:
src/ui.cpp:13:16: warning: 'lcd_buffer' defined but not used [-Wunused-variable]
 static uint8_t lcd_buffer[lcd_buffer_size];
                ^~~~~~~~~~
*** [.pio/build/wio-terminal-uix/src/ui.cpp.o] Error 1
================================================================================================================= [FAILED] Took 2.42 seconds =================================================================================================================

Environment       Status    Duration
----------------  --------  ------------
wio-terminal-gfx  FAILED    00:00:02.113
wio-terminal-uix  FAILED    00:00:02.423
============================================================================================================ 2 failed, 0 succeeded in 00:00:04.536 ============================================================================================================
mbpro-14:ds2 jcw$ 
mbpro-14:ds2 jcw$ pio pkg list
Resolving wio-terminal-gfx dependencies...
Platform atmelsam @ 8.2.0 (required: atmelsam)
├── framework-arduino-samd @ 1.8.13 (required: platformio/framework-arduino-samd @ ~1.8.13)
├── framework-arduino-samd-seeed @ 1.8.4 (required: platformio/framework-arduino-samd-seeed @ ~1.8.4)
├── framework-cmsis @ 2.50400.181126 (required: platformio/framework-cmsis @ ~2.50400.0)
├── framework-cmsis-atmel @ 1.2.2 (required: platformio/framework-cmsis-atmel @ ~1.2.2)
├── tool-bossac @ 1.10900.0 (required: platformio/tool-bossac @ ~1.10900.0)
└── toolchain-gccarmnoneeabi @ 1.70201.0 (required: platformio/toolchain-gccarmnoneeabi @ ~1.70201.0)

Libraries
└── htcw_wio_terminal @ 0.1.34 (required: codewitch-honey-crisis/htcw_wio_terminal @ ^0.1.34)
│   ├── htcw_button @ 0.2.22 (required: codewitch-honey-crisis/htcw_button @ ^0.2.22)
│   │   └── htcw_data @ 1.2.0 (required: codewitch-honey-crisis/htcw_data @ ^1.0.7)
│   └── htcw_ili9341 @ 1.3.31 (required: codewitch-honey-crisis/htcw_ili9341 @ ^1.3.3)
│   │   ├── htcw_gfx @ 1.661.0 (required: codewitch-honey-crisis/htcw_gfx @ ^1.2.3)
│   │   │   ├── htcw_bits @ 1.0.13 (required: codewitch-honey-crisis/htcw_bits @ ^1.0.13)
│   │   │   ├── htcw_io @ 1.1.43 (required: codewitch-honey-crisis/htcw_io @ ^1.1.43)
│   │   │   └── htcw_ml @ 0.1.3 (required: codewitch-honey-crisis/htcw_ml @ ^0.1.3)
│   │   └── htcw_tft_io @ 1.1.51 (required: codewitch-honey-crisis/htcw_tft_io @ ^1.1.0)

Resolving wio-terminal-uix dependencies...
Platform atmelsam @ 8.2.0 (required: atmelsam)
├── framework-arduino-samd @ 1.8.13 (required: platformio/framework-arduino-samd @ ~1.8.13)
├── framework-arduino-samd-seeed @ 1.8.4 (required: platformio/framework-arduino-samd-seeed @ ~1.8.4)
├── framework-cmsis @ 2.50400.181126 (required: platformio/framework-cmsis @ ~2.50400.0)
├── framework-cmsis-atmel @ 1.2.2 (required: platformio/framework-cmsis-atmel @ ~1.2.2)
├── tool-bossac @ 1.10900.0 (required: platformio/tool-bossac @ ~1.10900.0)
└── toolchain-gccarmnoneeabi @ 1.70201.0 (required: platformio/toolchain-gccarmnoneeabi @ ~1.70201.0)

Libraries
├── htcw_uix @ 0.14.0 (required: codewitch-honey-crisis/htcw_uix)
│   └── htcw_gfx @ 1.661.0 (required: codewitch-honey-crisis/htcw_gfx @ ^1.661)
│   │   ├── htcw_bits @ 1.0.13 (required: codewitch-honey-crisis/htcw_bits @ ^1.0.13)
│   │   ├── htcw_data @ 1.2.0 (required: codewitch-honey-crisis/htcw_data @ ^1.2)
│   │   ├── htcw_io @ 1.1.43 (required: codewitch-honey-crisis/htcw_io @ ^1.1.43)
│   │   └── htcw_ml @ 0.1.3 (required: codewitch-honey-crisis/htcw_ml @ ^0.1.3)
└── htcw_wio_terminal @ 0.1.34 (required: codewitch-honey-crisis/htcw_wio_terminal @ ^0.1.34)
│   ├── htcw_button @ 0.2.22 (required: codewitch-honey-crisis/htcw_button @ ^0.2.22)
│   └── htcw_ili9341 @ 1.3.31 (required: codewitch-honey-crisis/htcw_ili9341 @ ^1.3.3)
│   │   └── htcw_tft_io @ 1.1.51 (required: codewitch-honey-crisis/htcw_tft_io @ ^1.1.0)

mbpro-14:ds2 jcw$ 
codewitch-honey-crisis commented 7 months ago

I'll look into it tonight and post an update. Thanks. Sorry in advance, I haven't maintained the Wio code in awhile and there's a good chance I broke some compatibility with the platform. Shouldn't be too tough to fix once I have a chance to run it down. I appreciate your patience.

codewitch-honey-crisis commented 7 months ago

I've just updated GFX and the htcw_wio_terminal/examples/demo application which should fix your issues. Thanks for bringing this to my attention. :)