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

Build error #11

Open sandilazad1 opened 11 months ago

sandilazad1 commented 11 months ago

../main/main.c: In function 'menu_main': ../main/main.c:1203:14: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(fileName); ^~~~ In file included from ../../components/newlib/platform_include/assert.h:21, from ../../components/freertos/port/xtensa/include/freertos/FreeRTOSConfig_arch.h:107, from ../../components/freertos/include/esp_additions/freertos/FreeRTOSConfig.h:79, from ../../components/freertos/include/freertos/FreeRTOS.h:57, from ../main/main.c:1: c:\espressif\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\stdlib.h:98:12: note: expected 'void ' but argument is of type 'const char ' void free (void *) _NOTHROW; ^~ At top level: ../main/main.c:270:13: warning: 'print_partitions' defined but not used [-Wunused-function] static void print_partitions() ^~~~ ../main/main.c:152:13: warning: 'ClearScreen' defined but not used [-Wunused-function] static void ClearScreen() ^~~ cc1.exe: some warnings being treated as errors ninja: build stopped: subcommand failed. ninja failed with exit code 1

pebri86 commented 11 months ago

please mention the idf version you use for compiling?

sandilazad1 commented 11 months ago

ESP-IDF v4.4

pebri86 commented 11 months ago

the source in the master repo doesn't support idf 4.4 try IDF 3.3 instead. or if you want idf 4.4 you can try the new esplay-3.0 branch but this is still in development