Register / Login  |  Desktop view  |  Jump to bottom of page

IoAbstraction & TaskManagerIO » serdebugF2 error with IoAbs 2.1.0 but not 2.0.6

Author: Gcc26
15/01/2022 22:33:31
Hi Folks
Can you sanity check this error? Goes away with 2.0.6
I am exploring my skills at rendering with my own code. Created a menu shell using only action items and one submenu. A call back is set for each menu item. Using rotary encoder and ILI3943 display (default menu style)
With 2.1.0 I get an arduino error about serdebugF2

Arduino: 1.8.13 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

In file included from E:\Users\gc4226\Documents\Arduino\libraries\tcMenu\src\graphics\GfxMenuConfig.cpp:7:0:

E:\Users\gc4226\Documents\Arduino\libraries\tcMenu\src\graphics\GfxMenuConfig.h: In member function 'virtual void tcgfx::NullItemDisplayPropertiesFactory::addGridPosition(MenuItem*, const tcgfx::GridPosition& smilie':

E:\Users\gc4226\Documents\Arduino\libraries\tcMenu\src\graphics\GfxMenuConfig.h:426:58: error: 'serdebugF2' was not declared in this scope

serdebugF2("Adding grid ", pItem->getId());

^

exit status 1

Error compiling for board DOIT ESP32 DEVKIT V1.



Author: davetcc
16/01/2022 20:45:48
Thanks for letting me know about this.

I’ll try and see what’s missing and feed back here.

Author: milesg
19/01/2022 06:05:23
I just posted an issue about this exact error this morning on Github, but then I closed it because I noticed that my tcMenu version was only 2.2.4. There is a 2.2.5 on Github which doesn't cause this error, but it's obviously not being pushed to the masses yet. You can either manually upgrade tcMenu to 2.2.5 which seems to be working normally as far as I can tell. Or you can downgrade IOA to 2.0.6. I imagine that Dave will have all the kinks worked out when our library managers let us know about the new version

Hope this helps.

Author: davetcc
14/02/2022 08:28:53
Just finished doing a patch release for all the main libraries to ensure that what I've been testing with recently is released. Unfortunately, this patch release got caught in another change, that for now I have rolled back so I could make this patch release.

IoAbstraction - 2.1.1
TaskManagerIO - 1.3.1
tcMenu - 2.2.6
SimpleCollections - 1.1.0

With these versions everything should work together again. Sorry, this should really have been fixed a lot quicker.

Author: davetcc
14/02/2022 10:32:55
It would be really great if someone could come back on this thread to let me know that the compilation problems are now fixed.

Author: milesg
14/02/2022 17:37:01
I upgraded my libraries to the latest (same versions as your list above) and everything compiled/runs fine in my project.

Thank you!




Register / Login  |  Desktop view  |  Jump to top of page