when I try to compile the new version of the firmware I get the following error:
Code: Select all
../src/drivers/src/ws2812_cf2.c: In function 'ws2812DmaIsr':
../src/drivers/src/ws2812_cf2.c:221:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas]
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/drivers/src/ws2812_cf2.c: At top level:
cc1: error: unrecognized command line option '-Wno-stringop-overread' [-Werror]
cc1: all warnings being treated as errors
I have already installed the compiler again according to this page (ubuntu 18.04). I have updated the firmware and made sure that the submodules are initialized and followed the new instructions for compiling the new version in this page, but it didnt work for me.
Does someone else have the same issue? Any ideas on how to solve this problem?
Thanks!