/home/runner/work/_temp/app/code/esp_flasher_worker.c: In function 'loader_port_read': /home/runner/work/_temp/app/code/esp_flasher_worker.c:262:75: error: implicit declaration of function 'pdMS_TO_TICKS' [-Werror=implicit-function-declaration] 262 | size_t read = furi_stream_buffer_receive(flash_rx_stream, data, size, pdMS_TO_TICKS(timeout)); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors scons: *** [/home/runner/.ufbt/build/esp_flasher/esp_flasher_worker.o] Error 1 /home/runner/work/_temp/app/code/esp_flasher_uart.c:9:5: error: unknown type name 'FuriHalUartId' 9 | FuriHalUartId channel; | ^~~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:30:33: error: unknown type name 'UartIrqEvent' 30 | void esp_flasher_uart_on_irq_cb(UartIrqEvent ev, uint8_t data, void* context) { | ^~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c: In function 'esp_flasher_uart_tx': /home/runner/work/_temp/app/code/esp_flasher_uart.c:61:5: error: implicit declaration of function 'furi_hal_uart_tx'; did you mean 'furi_hal_i2c_tx'? [-Werror=implicit-function-declaration] 61 | furi_hal_uart_tx(UART_CH, data, len); | ^~~~~~~~~~~~~~~~ | furi_hal_i2c_tx /home/runner/work/_temp/app/code/esp_flasher_uart.c:4:18: error: 'FuriHalUartIdUSART1' undeclared (first use in this function); did you mean 'FuriHalBusUSART1'? 4 | #define UART_CH (FuriHalUartIdUSART1) | ^~~~~~~~~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:61:22: note: in expansion of macro 'UART_CH' 61 | furi_hal_uart_tx(UART_CH, data, len); | ^~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:4:18: note: each undeclared identifier is reported only once for each function it appears in 4 | #define UART_CH (FuriHalUartIdUSART1) | ^~~~~~~~~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:61:22: note: in expansion of macro 'UART_CH' 61 | furi_hal_uart_tx(UART_CH, data, len); | ^~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c: At top level: /home/runner/work/_temp/app/code/esp_flasher_uart.c:65:47: error: unknown type name 'FuriHalUartId'; did you mean 'FuriHalSerialId'? 65 | esp_flasher_uart_init(EspFlasherApp* app, FuriHalUartId channel, const char* thread_name) { | ^~~~~~~~~~~~~ | FuriHalSerialId /home/runner/work/_temp/app/code/esp_flasher_uart.c: In function 'esp_flasher_usart_init': /home/runner/work/_temp/app/code/esp_flasher_uart.c:89:12: error: implicit declaration of function 'esp_flasher_uart_init'; did you mean 'esp_flasher_usart_init'? [-Werror=implicit-function-declaration] 89 | return esp_flasher_uart_init(app, UART_CH, "EspFlasherUartRxThread"); | ^~~~~~~~~~~~~~~~~~~~~ | esp_flasher_usart_init /home/runner/work/_temp/app/code/esp_flasher_uart.c:4:18: error: 'FuriHalUartIdUSART1' undeclared (first use in this function); did you mean 'FuriHalBusUSART1'? 4 | #define UART_CH (FuriHalUartIdUSART1) | ^~~~~~~~~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:89:39: note: in expansion of macro 'UART_CH' 89 | return esp_flasher_uart_init(app, UART_CH, "EspFlasherUartRxThread"); | ^~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c: In function 'esp_flasher_uart_free': /home/runner/work/_temp/app/code/esp_flasher_uart.c:99:5: error: implicit declaration of function 'furi_hal_uart_set_irq_cb' [-Werror=implicit-function-declaration] 99 | furi_hal_uart_set_irq_cb(uart->channel, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/_temp/app/code/esp_flasher_uart.c:100:25: error: 'FuriHalUartIdLPUART1' undeclared (first use in this function); did you mean 'FuriHalBusLPUART1'? 100 | if(uart->channel == FuriHalUartIdLPUART1) { | ^~~~~~~~~~~~~~~~~~~~ | FuriHalBusLPUART1 /home/runner/work/_temp/app/code/esp_flasher_uart.c:101:9: error: implicit declaration of function 'furi_hal_uart_deinit'; did you mean 'furi_hal_usb_reinit'? [-Werror=implicit-function-declaration] 101 | furi_hal_uart_deinit(uart->channel); | ^~~~~~~~~~~~~~~~~~~~ | furi_hal_usb_reinit /home/runner/work/_temp/app/code/esp_flasher_uart.c:103:5: error: implicit declaration of function 'furi_hal_console_enable'; did you mean 'furi_hal_usb_enable'? [-Werror=implicit-function-declaration] 103 | furi_hal_console_enable(); | ^~~~~~~~~~~~~~~~~~~~~~~ | furi_hal_usb_enable /home/runner/work/_temp/app/code/esp_flasher_uart.c: In function 'esp_flasher_usart_init': /home/runner/work/_temp/app/code/esp_flasher_uart.c:90:1: error: control reaches end of non-void function [-Werror=return-type] 90 | } | ^ At top level: /home/runner/work/_temp/app/code/esp_flasher_uart.c:39:16: error: 'uart_worker' defined but not used [-Werror=unused-function] 39 | static int32_t uart_worker(void* context) { | ^~~~~~~~~~~ cc1: all warnings being treated as errors scons: *** [/home/runner/.ufbt/build/esp_flasher/esp_flasher_uart.o] Error 1 More logs: https://github.com/flipperdevices/flipper-application-catalog/actions/runs/7875881642