0xchocolate / flipperzero-esp-flasher

Flipper Zero app to flash ESP chips from the device (no computer connection needed!)
GNU General Public License v3.0
365 stars 25 forks source link

Xtreme FW issue #2

Closed Scott1974-1 closed 1 year ago

Scott1974-1 commented 1 year ago

When I try and go to flipc.org and select the ESP32 Flasher and select the Xtreme FW it says there is a compiler error..

In file included from applications_user/esp_flasher/scenes/esp_flasher_scene_console_output.c:3: applications_user/esp_flasher/scenes/../esp_flasher_worker.h:5: error: "SERIAL_FLASHER_INTERFACE_UART" redefined [-Werror] 5 | #define SERIAL_FLASHER_INTERFACE_UART / TODO why is application.fam not passing this via cdefines / | : note: this is the location of the previous definition cc1: all warnings being treated as errors scons: [build/f7-firmware-C/.extapps/esp_flasher/scenes/esp_flasher_scene_console_output.o] Error 1 In file included from applications_user/esp_flasher/esp_flasher_worker.c:1: applications_user/esp_flasher/esp_flasher_worker.h:5: error: "SERIAL_FLASHER_INTERFACE_UART" redefined [-Werror] 5 | #define SERIAL_FLASHER_INTERFACE_UART / TODO why is application.fam not passing this via cdefines / | : note: this is the location of the previous definition In file included from applications_user/esp_flasher/scenes/esp_flasher_scene_browse.c:2: applications_user/esp_flasher/scenes/../esp_flasher_worker.h:5: error: "SERIAL_FLASHER_INTERFACE_UART" redefined [-Werror] 5 | #define SERIAL_FLASHER_INTERFACE_UART / TODO why is application.fam not passing this via cdefines / | : note: this is the location of the previous definition cc1: all warnings being treated as errors scons: [build/f7-firmware-C/.extapps/esp_flasher/scenes/esp_flasher_scene_browse.o] Error 1 cc1: all warnings being treated as errors scons: *** [build/f7-firmware-C/.extapps/esp_flasher/esp_flasher_worker.o] Error 1

any ideas on how to fix this for the xtreme FW ??

thx

0xchocolate commented 1 year ago

Try now :)

Scott1974-1 commented 1 year ago

there is no error now. I will give it a try. thx :)