After update today!

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jgu1
Posts: 797
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 684 times
Been thanked: 177 times

Flowcode v10 After update today!

Post by jgu1 »

Hi team!

After update today the ST7796 display can´t compile anmore? If I roll back from 10 to 9 it work. :roll:

I have also made a test with the ILI9488 and ILI941, seem to work ok.

Br Jorgen
Attachments
ST7796_Standard.msg.txt
(9.14 KiB) Downloaded 21 times
ST7796_Standard.fcfx
(46.7 KiB) Downloaded 22 times

mnfisher
Valued Contributor
Posts: 1512
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 138 times
Been thanked: 725 times

Re: After update today!

Post by mnfisher »

The error is -Werror=maybe-uninitialized for X and Y in the display 'DrawLine' macro.

This means that for some paths these might be used without being initialised - leading to incorrect results. This may never happen - and they really should be initialised before use rather than relying on them having a certain value (in simulation 0 - but not necessarily on hardware)

You can ignore this (at your own risk !) by adding

Code: Select all

target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-maybe-uninitialized)
To CMakeLists.txt in the 'main' subdirectory of the build folder.

Martin

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 684 times
Been thanked: 177 times

Flowcode v10 Re: After update today!

Post by jgu1 »

Hi Martin!

Thank you for your help and advice, as always, appreciated ;)

As I mentioned everything work before update ver.9 there must be a bug as you describes in ver.10
I hope and prefer to see and hope the teams will fix this and push it in update :) at least you have found the bug. If not I will use (dare) to use your suggest.

Br Jorgen

medelec35
Matrix Staff
Posts: 1954
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 656 times

Re: After update today!

Post by medelec35 »

Hello.
The only change from v9 to v10 was to make the component icon compatible with dark mode.
For some reason an older version got stored within the repo.
I have now updated the repo with the latest version, so your project should compile again when the component has been updated on the library database.
I will let you know when it has.
Many thanks for bringing this to my attention & apologies for the inconvenience.

Thank you Martin for your excellent support.
Martin

medelec35
Matrix Staff
Posts: 1954
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 656 times

Re: After update today!

Post by medelec35 »

The updated ST7796 component is now available for downloading.
Martin

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 684 times
Been thanked: 177 times

Re: After update today!

Post by jgu1 »

Hi Martin & Martin :P

No apoligies Martin, I know you always "will be there" if challenge. When I see there is is update with these display and ESP32 I always made at test with my testprogram with these display, I have lot of project with this display I still make som update on the project, so if they not work after update, you mm team, will be the first who know if they not working :lol:

Now after last update, (11) it work perfect again.

Thank you to you both.

Br Jorgen

medelec35
Matrix Staff
Posts: 1954
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 626 times
Been thanked: 656 times

Re: After update today!

Post by medelec35 »

:lol:
That's great!
I'm glad you now can compile again.
Thanks for letting us know.
Martin

Post Reply