pebri86 / esplay-base-firmware

Bootloader or sdcard flasher for ESPlay HW ESP32 based device, based on odroid go base firmware
56 stars 22 forks source link

compile error with last version of esp-idf and python3 #10

Open drake87 opened 2 years ago

drake87 commented 2 years ago

Hi, when I try to compile the firmware from source with idf.py build thats fail with this error:

/tmp/elimina/esplay-base-firmware/main/main.c:169:29: warning: passing argument 3 of 'UG_PutString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | UG_PutString(left, top, message); | ^~~ In file included from /tmp/elimina/esplay-base-firmware/main/main.c:19: /tmp/elimina/esplay-base-firmware/main/../components/ugui/ugui.h:900:46: note: expected 'char ' but argument is of type 'const char ' 900 | void UG_PutString( UG_S16 x, UG_S16 y, char str ); | ~~^~~ /tmp/elimina/esplay-base-firmware/main/main.c: In function 'DisplayMessage': /tmp/elimina/esplay-base-firmware/main/main.c:182:29: warning: passing argument 3 of 'UG_PutString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | UG_PutString(left, top, message); | ^~~ In file included from /tmp/elimina/esplay-base-firmware/main/main.c:19: /tmp/elimina/esplay-base-firmware/main/../components/ugui/ugui.h:900:46: note: expected 'char ' but argument is of type 'const char ' 900 | void UG_PutString( UG_S16 x, UG_S16 y, char str );

pebri86 commented 2 years ago

it's just warning message, you can suppress it with Wno flags