Hello, I tried to edit my version where I only changed the names and I got this error
####################################
![hack](https://private-user-images.githubusercontent.com/43080051/320333854-4d7b91f5-8693-4f3d-ae81-68b347cdead2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3MzUyOTMsIm5iZiI6MTcyMzczNDk5MywicGF0aCI6Ii80MzA4MDA1MS8zMjAzMzM4NTQtNGQ3YjkxZjUtODY5My00ZjNkLWFlODEtNjhiMzQ3Y2RlYWQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDE1MTYzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1OTI1YjBhY2YyM2Y1YzdjMzc0OTNmMDYyNmU4OGY2OGJlN2I1NjU2NTE4Y2E5ODM3M2I3M2Q1M2FhNjQyNzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L1r32flL9lLUsPXH41JEwHDVcht_w2onwDjkEgwTTpo)
idf.py build flash
E:/Espressif/frameworks/esp-idf-v4.1.4/tools\check_python_dependencies.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Executing action: all (aliases: build)
Running ninja in directory e:\espressif\esp32_hackingtool\build
Executing "ninja all"...
[3/130] cmd.exe /C "cd /D E:\Espressif\esp32_h...*********************************************"
Partition table binary generated. Contents:
Espressif ESP32 Partition Table
Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x10000,64K,
factory,app,factory,0x20000,3M,
[6/130] Building C object esp-idf/htool_system...iles/__idf_htool_system.dir/htool_system.c.obj
FAILED: esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -Iconfig -I../components/htool_system/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj -MF esp-idf\htool_system\CMakeFiles__idf_htool_system.dir\htool_system.c.obj.d -o esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj -c ../components/htool_system/htool_system.c
../components/htool_system/htool_system.c: In function 'htool_system_escape_quotes':
../components/htool_system/htool_system.c:52:22: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration]
escaped_string = malloc(num + 1);
^~~~~~
../components/htool_system/htool_system.c:52:22: warning: incompatible implicit declaration of built-in function 'malloc'
../components/htool_system/htool_system.c:52:22: note: include '<stdlib.h>' or provide a declaration of 'malloc'
../components/htool_system/htool_system.c:25:1:
+#include <stdlib.h>
../components/htool_system/htool_system.c:52:22:
escaped_string = malloc(num + 1);
^~~~~~
../components/htool_system/htool_system.c: In function 'htool_system_hex_string_to_byte_array':
../components/htool_system/htool_system.c:85:27: warning: incompatible implicit declaration of built-in function 'malloc'
*byte_array = malloc(*array_size * sizeof(uint8_t));
^~~~~~
../components/htool_system/htool_system.c:85:27: note: include '<stdlib.h>' or provide a declaration of 'malloc'
../components/htool_system/htool_system.c: In function 'htool_system_extract_number_from_string':
../components/htool_system/htool_system.c:187:20: error: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Werror=implicit-function-declaration]
return strtol(temp_str, NULL, 10) * factor;
^~~~~~
strtok
cc1.exe: some warnings being treated as errors
[8/130] Building C object esp-idf/htool_netman...iles/__idf_htool_netman.dir/htool_netman.c.obj
FAILED: esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../components/htool_netman/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -I../components/htool_api/include -I../components/htool_wifi/include -I../components/htool_display/include -I../components/hagl/include -I../components/hagl_hal/include -I../components/esp_i2c_helper -I../components/htool_nvsm/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nvs_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/spi_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/mbedtls/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_server/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/nghttp2/lib/includes -I../components/htool_pn532_spi/include -I../components/htool_spi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/console -I../components/htool_uart/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/json/cJSON -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_client/include -I../components/htool_system/include -I../components/htool_modbus/include -I../components/htool_ble/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/common/osi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/host/bluedroid/api/include/api -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj -MF esp-idf\htool_netman\CMakeFiles__idf_htool_netman.dir\htool_netman.c.obj.d -o esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj -c ../components/htool_netman/htool_netman.c
../components/htool_netman/htool_netman.c: In function 'htool_netman_handle_request':
../components/htool_netman/htool_netman.c:292:57: error: implicit declaration of function 'esp_http_client_read_response'; did you mean 'esp_http_client_read'? [-Werror=implicit-function-declaration]
data_read = esp_http_client_read_response(client, resp_str, content_length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esp_http_client_read
../components/htool_netman/htool_netman.c:742:82: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(500)) == 1) {
^~
In file included from ../components/htool_netman/htool_netman.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
[9/130] Building C object esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj
FAILED: esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../components/htool_uart/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/console -I../components/htool_nvsm/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nvs_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/spi_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/mbedtls/include -I../components/htool_api/include -I../components/htool_wifi/include -I../components/htool_display/include -I../components/hagl/include -I../components/hagl_hal/include -I../components/esp_i2c_helper -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_server/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/nghttp2/lib/includes -I../components/htool_pn532_spi/include -I../components/htool_spi/include -I../components/htool_netman/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/json/cJSON -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_client/include -I../components/htool_system/include -I../components/htool_modbus/include -I../components/htool_ble/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/common/osi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/host/bluedroid/api/include/api -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj -MF esp-idf\htool_uart\CMakeFiles__idf_htool_uart.dir\htool_uart.c.obj.d -o esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj -c ../components/htool_uart/htool_uart.c
../components/htool_uart/htool_uart.c: In function 'wait_for_input':
../components/htool_uart/htool_uart.c:207:58: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(delay)) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'scan_command':
../components/htool_uart/htool_uart.c:310:58: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(100))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'deauth_command':
../components/htool_uart/htool_uart.c:385:66: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY)) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'evil_twin_command':
../components/htool_uart/htool_uart.c:425:70: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'ble_spoof_command':
../components/htool_uart/htool_uart.c:484:74: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'network_tools_command':
../components/htool_uart/htool_uart.c:539:74: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c:567:70: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'captive_portal_command':
../components/htool_uart/htool_uart.c:769:66: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'beacon_spammer_command':
../components/htool_uart/htool_uart.c:816:65: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY)) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'htool_uart_cli_init':
../components/htool_uart/htool_uart.c:1055:5: error: implicit declaration of function 'linenoiseAllowEmpty'; did you mean 'linenoiseProbe'? [-Werror=implicit-function-declaration]
linenoiseAllowEmpty(false);
^~~~~~~~~~~~~~~~~~~
linenoiseProbe
cc1.exe: some warnings being treated as errors
[10/130] Performing build step for 'bootloader'
[1/94] Generating project_elf_src.c
[2/94] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj
[3/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[4/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock.c.obj
[5/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[6/94] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[7/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[8/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[9/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[10/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[11/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[12/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[13/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[14/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[15/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[16/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[17/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[18/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj
[19/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj
[20/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[21/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj
[22/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj
[23/94] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[24/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[25/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[26/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[27/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/cpu_util.c.obj
[28/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[29/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[30/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[31/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[32/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_periph.c.obj
[33/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_clk_init.c.obj
[34/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_init.c.obj
[35/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_pm.c.obj
[36/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[37/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/soc_memory_layout.c.obj
[38/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_time.c.obj
[39/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[40/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_clk.c.obj
[41/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[42/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_sleep.c.obj
[43/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_wdt.c.obj
[44/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[45/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[46/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[47/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[48/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[49/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[50/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/lldesc.c.obj
[51/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_hal.c.obj
[52/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj
[53/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rmt_hal.c.obj
[54/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/adc_hal.c.obj
[55/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/dac_hal.c.obj
[56/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rtc_io_hal.c.obj
[57/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal.c.obj
[58/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/soc_include_legacy_warn.c.obj
[59/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal_iram.c.obj
[60/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal.c.obj
[61/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/touch_sensor_hal.c.obj
[62/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj
[63/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/pcnt_hal.c.obj
[64/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sigmadelta_hal.c.obj
[65/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal_iram.c.obj
[66/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal_iram.c.obj
[67/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/gpio_hal.c.obj
[68/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal.c.obj
[69/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/timer_hal.c.obj
[70/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2s_hal.c.obj
[71/94] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[72/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal_iram.c.obj
[73/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/can_hal.c.obj
[74/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal.c.obj
[75/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal.c.obj
[76/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/can_hal_iram.c.obj
[77/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[78/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal.c.obj
[79/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[80/94] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[81/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj
[82/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[83/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mcpwm_hal.c.obj
[84/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sdio_slave_hal.c.obj
[85/94] Linking C static library esp-idf\log\liblog.a
[86/94] Linking ASM static library esp-idf\esp_rom\libesp_rom.a
[87/94] Linking C static library esp-idf\soc\libsoc.a
[88/94] Linking C static library esp-idf\efuse\libefuse.a
[89/94] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/94] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/94] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/94] Linking C static library esp-idf\main\libmain.a
[93/94] Linking C executable bootloader.elf
[94/94] Generating binary image from built executable
esptool.py v2.9-dev
Generated E:/Espressif/esp32_hackingtool/build/bootloader/bootloader.bin
ninja: build stopped: subcommand failed.
ninja failed with exit code 1