openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.46k stars 272 forks source link

Help with configuring to build #97

Closed AcuarioCat closed 2 years ago

AcuarioCat commented 2 years ago

I am trying to build this app for BK7231N on my own machine but I'm not getting very far. I follow the instructions but they aren't that clear in some parts. I end up with loads of 'No such file or directory messages. Here are the 'problems'

  1. I download the sdk as a zip file. The file is OpenBK7231N-master.zip. In the zip there is OpenBK7231N-master which then has various folders/files.
  2. I unzip the folders and files to c:\bk7231sdk as in the readme so I end up with c:\openbk7231sdk\apps, platforms etc..
  3. I download the app zip file. The file is OpenBK7231T_App-main.zip. In the zip there is OpenBK7231T_App-main which then has various folders/files.
  4. I unzip the folders and files to c:\bk7231sdk\apps as in the readme so I end up with c:\openbk7231sdk\apps\OpenBK7231T_App-main with various folders/files below it. I see from the b.sh this should be OpenBK7231T_App so I rename it.
  5. I open cygwin prompt and go to /cygdrive/c/bk7231sdk
  6. I run ./b.sh and get loads of file not found and Error 2

What am I doing wrong? I have file structure: c:\bk7231sdk ------- apps -------------OpenBK7231N_App ---------------- .github ---------------- include ---------------- output ---------------- sdk ---------------- src -----------tuya_demo_elp_1plug ----------- ...... 3 other tuya apps ------- platform

What should I have or what is wrong?

Thanks.

openshwprojects commented 2 years ago

Please provide full compilation log.

Everything looks ok so far, I am also getting few "no such directory" messages, but then it proceeds.

AcuarioCat commented 2 years ago

ren from /cygdrive/c/bk7231sdk directory:

$ ./b.sh APP_PATH=apps/OpenBK7231N_App APP_NAME=OpenBK7231N_App APP_VERSION=1.0.0 USER_CMD= Calling original build_app.sh script cd /cygdrive/c/bk7231sdk/apps/OpenBK7231N_App/../../platforms/bk7231n/toolchain/../bk7231n_os && sh build.sh OpenBK7231N_App 1.0.0 bk7231n APP_BIN_NAME=OpenBK7231N_App APP_VERSION=1.0.0 TARGET_PLATFORM=bk7231n USER_CMD= Start Compile system:CYGWIN_NT-10.0-22000 find: ‘../tuya_common’: No such file or directory find: ‘../../../components’: No such file or directory not is ci build make[1]: Entering directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' make[1]: git: No such file or directory make[2]: Entering directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory echo prerequirement0 prerequirement0 find: ‘../../../sdk/include’: No such file or directory

find: ‘../tuya_os_adapter/include’: No such file or directory Build OpenBK7231N_App

find: ‘../../../sdk/include’: No such file or directory echo prerequirement1 prerequirement1 find: ‘../tuya_os_adapter/include’: No such file or directory mkdir -p Debug/obj mkdir -p Debug/bin echo prerequirement2 prerequirement2 build beken378/app/app_bk.o find: ‘../../../sdk/include’: No such file or directory /bin/sh: ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-gcc: No such file or directory find: ‘../tuya_os_adapter/include’: No such file or directory make[2]: [application.mk:1073: beken378/app/app_bk.o] Error 127 make[2]: Waiting for unfinished jobs.... make[2]: Leaving directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' make[1]: [Makefile:7: mp] Error 2 make[1]: Leaving directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' make: [Makefile:6: all] Error 2

openshwprojects commented 2 years ago

OpenBK7231T_App or OpenBK7231N_App ?

AcuarioCat commented 2 years ago

I'm trying to build OpenBK7231N_App

Timo-Beil commented 2 years ago

In the _N version the "tuya_common" folder is absent in /platforms/bk7231n/. I took it over from the -T version and the first error is fixed. But I can not find, what the /components folder has to contain.

APP_PATH=apps/OpenBK7231N_App APP_NAME=OpenBK7231N_App APP_VERSION=1.0.0 USER_CMD= APP_BIN_NAME=OpenBK7231N_App APP_VERSION=1.0.0 TARGET_PLATFORM=bk7231n USER_CMD= Start Compile system:CYGWIN_NT-10.0-22000 find: ‘../../../components’: No such file or directory not is ci build

openshwprojects commented 2 years ago

I am aware that there is a warning about missing components and tuya_common directories, but they are now non-existing and it compiles fine for me with those warnings.

Still, I modified the N SDK to stop asking for those dirs.

https://github.com/openshwprojects/OpenBK7231N/commit/8d5240f08503067acede2dffd7e7c528598c3bf3

Can you try now?

@Timo-Beil @AcuarioCat

image

AcuarioCat commented 2 years ago

Where, which directory, should I be running the build from? I have tried from /cygdrive/c/bk7231sdk/apps/OpenBK7231N-App and I get a huge list of missing files as follow:

$ ./b.sh APP_PATH=apps/OpenBK7231N_App APP_NAME=OpenBK7231N_App APP_VERSION=1.0.0 USER_CMD= ./build_app.sh: line 72: cd: apps/OpenBK7231N_App: No such file or directory APP_BIN_NAME=OpenBK7231N_App APP_VERSION=1.0.0 TARGET_PLATFORM=bk7231n USER_CMD= Start Compile system:CYGWIN_NT-10.0-22000 find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory not is ci build make: Entering directory '/cygdrive/c/bk7231sdk/apps/OpenBK7231N-App/platforms/bk7231n/bk7231n_os' make: git: No such file or directory make[1]: Entering directory '/cygdrive/c/bk7231sdk/apps/OpenBK7231N-App/platforms/bk7231n/bk7231n_os' find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory echo prerequirement0 prerequirement0

Build OpenBK7231N_App find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory

echo prerequirement1 prerequirement1 mkdir -p Debug/obj find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory mkdir -p Debug/bin echo prerequirement2 prerequirement2 build beken378/app/app_bk.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/app/ate_app.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/app/config/param_config.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/app/standalone-ap/sa_ap.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/app/standalone-station/sa_station.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/demo/ieee802_11_demo.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/common/dd.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/common/drv_model.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/dma/dma.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/driver.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/entry/arch_main.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/flash/flash.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/general_dma/general_dma.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/gpio/gpio.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/i2c/i2c1.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/i2c/i2c2.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/icu/icu.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/intc/intc.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/irda/irda.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/macphy_bypass/mac_phy_bypass.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/phy/phy_trident.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/pwm/pwm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/pwm/pwm_new.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory beken378/driver/pwm/pwm_new.c: In function 'pwm_update_param': beken378/driver/pwm/pwm_new.c:820:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_group_update_param_enable': beken378/driver/pwm/pwm_new.c:938:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_nogroup_update_param_enable': beken378/driver/pwm/pwm_new.c:964:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_param_clear': beken378/driver/pwm/pwm_new.c:1000:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build beken378/driver/pwm/mcu_ps_timer.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/pwm/bk_timer.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/rw_pub/rw_platf_pub.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/saradc/saradc.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/spi/spi_bk7231n.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/spi/spi_master_bk7231n.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory In file included from ../../../sdk/include/mbedtls/config.h:39:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_master_bk7231n.c:13: ../../../sdk/include/tuya_tls_config_psk_only.h:34:0: warning: "TLS_SESSION" redefined

define TLS_SESSION 1 //开启TLS_SESSION

^ In file included from ../../../sdk/include/mbedtls/config.h:32:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_master_bk7231n.c:13: ../../../sdk/include/tuya_iot_config.h:128:0: note: this is the location of the previous definition

define TLS_SESSION 0

^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_configure': beken378/driver/spi/spi_master_bk7231n.c:162:26: warning: unused variable 'spi_dev_cb' [-Wunused-variable] struct spi_callback_des spi_dev_cb; ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_master_dma_send': beken378/driver/spi/spi_master_bk7231n.c:726:21: warning: assignment makes integer from pointer without a cast en_cfg.param = spi_msg->send_buf; // dma dst addr ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_master_dma_recv': beken378/driver/spi/spi_master_bk7231n.c:787:21: warning: assignment makes integer from pointer without a cast en_cfg.param = spi_msg->recv_buf; // dma dst addr ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_master_dma_tx_disable': beken378/driver/spi/spi_master_bk7231n.c:840:14: warning: unused variable 'en_cfg' [-Wunused-variable] GDMA_CFG_ST en_cfg; ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_master_dma_rx_disable': beken378/driver/spi/spi_master_bk7231n.c:850:14: warning: unused variable 'en_cfg' [-Wunused-variable] GDMA_CFG_ST en_cfg; ^ find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/spi/spi_slave_bk7231n.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/spidma/spidma.o In file included from ../../../sdk/include/mbedtls/config.h:39:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_slave_bk7231n.c:15: ../../../sdk/include/tuya_tls_config_psk_only.h:34:0: warning: "TLS_SESSION" redefined

define TLS_SESSION 1 //开启TLS_SESSION

^ In file included from ../../../sdk/include/mbedtls/config.h:32:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_slave_bk7231n.c:15: ../../../sdk/include/tuya_iot_config.h:128:0: note: this is the location of the previous definition

define TLS_SESSION 0

^ find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/sys_ctrl/sys_ctrl.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/uart/Retarget.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/uart/uart_bk.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/uart/printf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/wdt/wdt.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/prf/prf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/prf/prf_utils.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/profiles/comm/src/comm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/profiles/comm/src/comm_task.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_comm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_ble.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_task.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/ui/ble_ui.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/rwip/src/rwip.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/rwip/src/rwble.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/entry/ble_main.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/driver/rf/rf_xvr.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/driver/uart/uart_ble.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/platform/7231n/driver/rf/ble_rf_port.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_ble_task.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/func.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/bk7011_cal/bk7231U_cal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/bk7011_cal/bk7231N_cal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/bk7011_cal/manual_cal_bk7231U.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/joint_up/role_launch.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd_intf/hostapd_intf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/bk_patch/ddrv.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/bk_patch/signal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/bk_patch/sk_intf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/bk_patch/fake_socket.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/hostapd/main_none.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/aes-internal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/aes-internal-dec.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/aes-internal-enc.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/aes-unwrap.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/aes-wrap.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/bk_md5.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/md5-internal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/rc4.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/bk_sha1.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/sha1-internal.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/sha1-pbkdf2.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/sha1-prf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/crypto/tls_none.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ap_config.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ap_drv_ops.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ap_list.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ap_mlme.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/beacon.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/drv_callbacks.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/hostapd.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/hw_features.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ieee802_11_auth.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ieee802_11.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ieee802_11_ht.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ieee802_11_shared.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/ieee802_1x.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/sta_info.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/tkip_countermeasures.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/utils.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/wmm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/wpa_auth.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/wpa_auth_glue.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/ap/wpa_auth_ie.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/common/hw_features_common.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/common/ieee802_11_common.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/common/wpa_common.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/drivers/driver_beken.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/drivers/driver_common.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/drivers/drivers.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/l2_packet/l2_packet_none.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/rsn_supp/wpa.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/rsn_supp/wpa_ie.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/utils/common.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/utils/eloop.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/utils/os_none.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/src/utils/wpabuf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/blacklist.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/bss.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/config.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/config_none.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/events.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/main_supplicant.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/notify.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/wmm_ac.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/wpa_scan.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/wpas_glue.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/hostapd-2.5/wpa_supplicant/wpa_supplicant.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdio/lib_libvscanf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdio/lib_memsistream.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdio/lib_meminstream.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdio/lib_sscanf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdio/lib_vsscanf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdlib/lib_strtod.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/libc/stdlib/lib_qsort.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/port/ethernetif.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/port/net.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/port/sys_arch.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/api_lib.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/api_msg.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/err.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/netbuf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/netdb.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/netifapi.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/sockets.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/api/tcpip.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/def.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/dns.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/inet_chksum.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/init.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ip.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/autoip.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/dhcp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/etharp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/icmp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/igmp.o : No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4_addr.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4_frag.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/dhcp6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ethip6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/icmp6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/inet6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6_addr.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6_frag.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/mld6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/nd6.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/mem.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/memp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/netif.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/pbuf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/raw.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/stats.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/sys.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp_in.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp_out.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/timeouts.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/core/udp.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/netif/ethernet.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/httpd.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/fs.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/dhcpd/dhcp-server.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c: In function 'mqtt_client_connect': beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c:1253:71: warning: comparison between pointer and integer if (client_info->client_user != NULL && client_info->client_user[0] != NULL) { ^ beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c:1263:71: warning: comparison between pointer and integer if (client_info->client_pass != NULL && client_info->client_pass[0] != NULL) { ^ find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/lwip_intf/dhcpd/dhcp-server-main.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/misc/fake_clock.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/misc/target_util.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/misc/start_type.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/misc/soft_encrypt.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/power_save/power_save.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/power_save/manual_ps.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/power_save/mcu_ps.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rf_test/rx_sensitivity.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rf_test/tx_evm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rwnx_intf/rw_ieee80211.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rwnx_intf/rw_msdu.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rwnx_intf/rw_msg_rx.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/rwnx_intf/rw_msg_tx.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/sim_uart/gpio_uart.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/sim_uart/pwm_uart.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/spidma_intf/spidma_intf.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/temp_detect/temp_detect.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/cmd_evm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/cmd_help.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/cmd_reg.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/cmd_rx_sensitivity.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/command_line.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/command_table.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/uart_debug/udebug.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverFlash.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverRng.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverGpio.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverPwm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverUart.o beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_update_param': beken378/func/user_driver/BkDriverPwm.c:274:2: warning: implicit declaration of function 'pwm_single_update_param_enable' [-Wimplicit-function-declaration] pwm_single_update_param_enable(pwm,init_level); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_initialize': beken378/func/user_driver/BkDriverPwm.c:346:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&param, 0, sizeof(pwm_param_t)); ^ beken378/func/user_driver/BkDriverPwm.c:346:5: warning: incompatible implicit declaration of built-in function 'memset' beken378/func/user_driver/BkDriverPwm.c:348:2: warning: implicit declaration of function 'pwm_check_group' [-Wimplicit-function-declaration] group_flag = pwm_check_group(pwm1,pwm2); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_stop': beken378/func/user_driver/BkDriverPwm.c:425:3: warning: implicit declaration of function 'pwm_group_mode_disable' [-Wimplicit-function-declaration] pwm_group_mode_disable(pwm1); ^ beken378/func/user_driver/BkDriverPwm.c:429:3: warning: implicit declaration of function 'pwm_unit_disable' [-Wimplicit-function-declaration] pwm_unit_disable(pwm1); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_update_param': beken378/func/user_driver/BkDriverPwm.c:509:3: warning: implicit declaration of function 'pwm_init_levl_get' [-Wimplicit-function-declaration] if(pwm_init_levl_get(pwm2) ==1) find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory

find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverWdg.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/user_driver/BkDriverTimer.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/wlan_ui/wlan_cli.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/wlan_ui/wlan_ui.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/bk_tuya_pwm/bk_tuya_pwm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/net_param_intf/net_param.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/key/multi_button.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/func/key/key_main.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/os/mem_arch.o beken378/func/key/key_main.c: In function 'key_gpio_init': beken378/func/key/key_main.c:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/os/platform_stub.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build beken378/os/str_arch.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/adapter_platform.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/tuya_os_init.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_adc.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_pin.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_pwm.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_rtc.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_timer.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_drv_uart.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_os_adapt_bt.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_os_adapt_ota.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_os_adapt_storge.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/driver/tuya_os_adapt_wifi.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_memory.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_mutex.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_network.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_output.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_queue.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_semaphore.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_system.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory build ../tuya_os_adapter/src/system/tuya_os_adapt_thread.o find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-gcc -g -Wl,--gc-sections -marm -mcpu=arm968e-s -mthumb-interwork -nostdlib -Xlinker -Map=tuya.map -Wl,-wrap,malloc -Wl,-wrap,_malloc_r -Wl,-wrap,free -Wl,-wrap,_free_r -Wl,-wrap,zalloc -Wl,-wrap,calloc -Wl,-wrap,realloc -Wl,-wrap,_realloc_r -Wl,-wrap,printf -Wl,-wrap,vsnprintf -Wl,-wrap,snprintf -Wl,-wrap,sprintf -Wl,-wrap,puts -Wl,-wrap,strtod -Wl,-wrap,qsort -Wl,-wrap,sscanf -o ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.axf Debug/obj/app_bk.o Debug/obj/ate_app.o Debug/obj/param_config.o Debug/obj/sa_ap.o Debug/obj/sa_station.o Debug/obj/ieee802_11_demo.o Debug/obj/dd.o Debug/obj/drv_model.o Debug/obj/dma.o Debug/obj/driver.o Debug/obj/arch_main.o Debug/obj/flash.o Debug/obj/general_dma.o Debug/obj/gpio.o Debug/obj/i2c1.o Debug/obj/i2c2.o Debug/obj/icu.o Debug/obj/intc.o Debug/obj/irda.o Debug/obj/mac_phy_bypass.o Debug/obj/phy_trident.o Debug/obj/pwm.o Debug/obj/pwm_new.o Debug/obj/mcu_ps_timer.o Debug/obj/bk_timer.o Debug/obj/rw_platf_pub.o Debug/obj/saradc.o Debug/obj/spi_bk7231n.o Debug/obj/spi_master_bk7231n.o Debug/obj/spi_slave_bk7231n.o Debug/obj/spidma.o Debug/obj/sys_ctrl.o Debug/obj/Retarget.o Debug/obj/uart_bk.o Debug/obj/printf.o Debug/obj/wdt.o Debug/obj/prf.o Debug/obj/prf_utils.o Debug/obj/comm.o Debug/obj/comm_task.o Debug/obj/app_comm.o Debug/obj/app_ble.o Debug/obj/app_task.o Debug/obj/ble_ui.o Debug/obj/rwip.o Debug/obj/rwble.o Debug/obj/ble_main.o Debug/obj/rf_xvr.o Debug/obj/uart_ble.o Debug/obj/ble_rf_port.o Debug/obj/app_ble_task.o Debug/obj/func.o Debug/obj/bk7231U_cal.o Debug/obj/bk7231N_cal.o Debug/obj/manual_cal_bk7231U.o Debug/obj/role_launch.o Debug/obj/hostapd_intf.o Debug/obj/ddrv.o Debug/obj/signal.o Debug/obj/sk_intf.o Debug/obj/fake_socket.o Debug/obj/main_none.o Debug/obj/aes-internal.o Debug/obj/aes-internal-dec.o Debug/obj/aes-internal-enc.o Debug/obj/aes-unwrap.o Debug/obj/aes-wrap.o Debug/obj/bk_md5.o Debug/obj/md5-internal.o Debug/obj/rc4.o Debug/obj/bk_sha1.o Debug/obj/sha1-internal.o Debug/obj/sha1-pbkdf2.o Debug/obj/sha1-prf.o Debug/obj/tls_none.o Debug/obj/ap_config.o Debug/obj/ap_drv_ops.o Debug/obj/ap_list.o Debug/obj/ap_mlme.o Debug/obj/beacon.o Debug/obj/drv_callbacks.o Debug/obj/hostapd.o Debug/obj/hw_features.o Debug/obj/ieee802_11_auth.o Debug/obj/ieee802_11.o Debug/obj/ieee802_11_ht.o Debug/obj/ieee802_11_shared.o Debug/obj/ieee802_1x.o Debug/obj/sta_info.o Debug/obj/tkip_countermeasures.o Debug/obj/utils.o Debug/obj/wmm.o Debug/obj/wpa_auth.o Debug/obj/wpa_auth_glue.o Debug/obj/wpa_auth_ie.o Debug/obj/hw_features_common.o Debug/obj/ieee802_11_common.o Debug/obj/wpa_common.o Debug/obj/driver_beken.o Debug/obj/driver_common.o Debug/obj/drivers.o Debug/obj/l2_packet_none.o Debug/obj/wpa.o Debug/obj/wpa_ie.o Debug/obj/common.o Debug/obj/eloop.o Debug/obj/os_none.o Debug/obj/wpabuf.o Debug/obj/blacklist.o Debug/obj/bss.o Debug/obj/config.o Debug/obj/config_none.o Debug/obj/events.o Debug/obj/main_supplicant.o Debug/obj/notify.o Debug/obj/wmm_ac.o Debug/obj/wpa_scan.o Debug/obj/wpas_glue.o Debug/obj/wpa_supplicant.o Debug/obj/lib_libvscanf.o Debug/obj/lib_memsistream.o Debug/obj/lib_meminstream.o Debug/obj/lib_sscanf.o Debug/obj/lib_vsscanf.o Debug/obj/lib_strtod.o Debug/obj/lib_qsort.o Debug/obj/ethernetif.o Debug/obj/net.o Debug/obj/sys_arch.o Debug/obj/api_lib.o Debug/obj/api_msg.o Debug/obj/err.o Debug/obj/netbuf.o Debug/obj/netdb.o Debug/obj/netifapi.o Debug/obj/sockets.o Debug/obj/tcpip.o Debug/obj/def.o Debug/obj/dns.o Debug/obj/inet_chksum.o Debug/obj/init.o Debug/obj/ip.o Debug/obj/autoip.o Debug/obj/dhcp.o Debug/obj/etharp.o Debug/obj/icmp.o Debug/obj/igmp.o Debug/obj/ip4_addr.o Debug/obj/ip4.o Debug/obj/ip4_frag.o Debug/obj/dhcp6.o Debug/obj/ethip6.o Debug/obj/icmp6.o Debug/obj/inet6.o Debug/obj/ip6_addr.o Debug/obj/ip6.o Debug/obj/ip6_frag.o Debug/obj/mld6.o Debug/obj/nd6.o Debug/obj/mem.o Debug/obj/memp.o Debug/obj/netif.o Debug/obj/pbuf.o Debug/obj/raw.o Debug/obj/stats.o Debug/obj/sys.o Debug/obj/tcp.o Debug/obj/tcp_in.o Debug/obj/tcp_out.o Debug/obj/timeouts.o Debug/obj/udp.o Debug/obj/ethernet.o Debug/obj/httpd.o Debug/obj/fs.o Debug/obj/mqtt.o Debug/obj/dhcp-server.o Debug/obj/dhcp-server-main.o Debug/obj/fake_clock.o Debug/obj/target_util.o Debug/obj/start_type.o Debug/obj/soft_encrypt.o Debug/obj/power_save.o Debug/obj/manual_ps.o Debug/obj/mcu_ps.o Debug/obj/rx_sensitivity.o Debug/obj/tx_evm.o Debug/obj/rw_ieee80211.o Debug/obj/rw_msdu.o Debug/obj/rw_msg_rx.o Debug/obj/rw_msg_tx.o Debug/obj/gpio_uart.o Debug/obj/pwm_uart.o Debug/obj/spidma_intf.o Debug/obj/temp_detect.o Debug/obj/cmd_evm.o Debug/obj/cmd_help.o Debug/obj/cmd_reg.o Debug/obj/cmd_rx_sensitivity.o Debug/obj/command_line.o Debug/obj/command_table.o Debug/obj/udebug.o Debug/obj/BkDriverFlash.o Debug/obj/BkDriverRng.o Debug/obj/BkDriverGpio.o Debug/obj/BkDriverPwm.o Debug/obj/BkDriverUart.o Debug/obj/BkDriverWdg.o Debug/obj/BkDriverTimer.o Debug/obj/wlan_cli.o Debug/obj/wlan_ui.o Debug/obj/bk_tuya_pwm.o Debug/obj/net_param.o Debug/obj/multi_button.o Debug/obj/key_main.o Debug/obj/mem_arch.o Debug/obj/platform_stub.o Debug/obj/str_arch.o Debug/obj/adapter_platform.o Debug/obj/tuya_os_init.o Debug/obj/tuya_drv_adc.o Debug/obj/tuya_drv_pin.o Debug/obj/tuya_drv_pwm.o Debug/obj/tuya_drv_rtc.o Debug/obj/tuya_drv_timer.o Debug/obj/tuya_drv_uart.o Debug/obj/tuya_os_adapt_bt.o Debug/obj/tuya_os_adapt_ota.o Debug/obj/tuya_os_adapt_storge.o Debug/obj/tuya_os_adapt_wifi.o Debug/obj/tuya_os_adapt_memory.o Debug/obj/tuya_os_adapt_mutex.o Debug/obj/tuya_os_adapt_network.o Debug/obj/tuya_os_adapt_output.o Debug/obj/tuya_os_adapt_queue.o Debug/obj/tuya_os_adapt_semaphore.o Debug/obj/tuya_os_adapt_system.o Debug/obj/tuya_os_adapt_thread.o Debug/obj/boot_handlers.o Debug/obj/boot_vectors.o Debug/obj/croutine.o Debug/obj/event_groups.o Debug/obj/list.o Debug/obj/port.o Debug/obj/heap_4.o Debug/obj/queue.o Debug/obj/tasks.o Debug/obj/timers.o Debug/obj/rtos_pub.o -L./beken378/lib/ -lrwnx -L./beken378/lib/ -lble -T./beken378/build/bk7231n_ota.ld Debug/obj/ethernetif.o: In function low_level_init': C:\bk7231sdk\apps\OpenBK7231N-App\platforms\bk7231n\bk7231n_os/beken378/func/lwip_intf/lwip-2.0.2/port/ethernetif.c:140: undefined reference toCFG_GetDeviceName' collect2.exe: error: ld returned 1 exit status make[1]: [application.mk:1043: application] Error 1 make[1]: Leaving directory '/cygdrive/c/bk7231sdk/apps/OpenBK7231N-App/platforms/bk7231n/bk7231n_os' make: [Makefile:7: mp] Error 2 make: Leaving directory '/cygdrive/c/bk7231sdk/apps/OpenBK7231N-App/platforms/bk7231n/bk7231n_os'

==================================================================================

If I run it from /cygdrive/c/bk7231sdk I get less but still get them: $ ./b.sh APP_PATH=apps/OpenBK7231N_App APP_NAME=OpenBK7231N_App APP_VERSION=1.0.0 USER_CMD= APP_BIN_NAME=OpenBK7231N_App APP_VERSION=1.0.0 TARGET_PLATFORM=bk7231n USER_CMD= Start Compile system:CYGWIN_NT-10.0-22000 find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../components’: No such file or directory not is ci build make: Entering directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' make: git: No such file or directory make[1]: Entering directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory find: ‘../tuya_common’: No such file or directory find: ‘../../../apps/OpenBK7231N_App/src’: No such file or directory find: ‘../tuya_os_adapter/src’: No such file or directory echo prerequirement0 prerequirement0 find: ‘../../../sdk/include’: No such file or directory

find: ‘../tuya_os_adapter/include’: No such file or directory Build OpenBK7231N_App find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory

find: ‘../../../sdk/include’: No such file or directory echo prerequirement1 prerequirement1 find: ‘../tuya_os_adapter/include’: No such file or directory mkdir -p Debug/obj find: ‘../../../apps/OpenBK7231N_App/include’: No such file or directory mkdir -p Debug/bin echo prerequirement2 prerequirement2 build beken378/app/app_bk.o find: ‘../../../sdk/include’: No such file or directory /bin/sh: ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-gcc: No such file or directory find: ‘../tuya_os_adapter/include’: No such file or directory make[1]: [application.mk:1073: beken378/app/app_bk.o] Error 127 make[1]: Waiting for unfinished jobs.... make[1]: Leaving directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os' make: *** [Makefile:7: mp] Error 2 make: Leaving directory '/cygdrive/c/bk7231sdk/platforms/bk7231n/bk7231n_os'

openshwprojects commented 2 years ago

Sorry for non-english OS, but take a look, here is my console log from working N build:

openshw@DESKTOP-PC /cygdrive/w/GIT/OpenBK7231N $ ./b.sh APP_PATH=apps/OpenBK7231N_App APP_NAME=OpenBK7231N_App APP_VERSION=1.0.0 USER_CMD= Calling original build_app.sh script cd /cygdrive/w/GIT/OpenBK7231N/apps/OpenBK7231N_App/../../platforms/bk7231n/toolchain/../bk7231n_os && sh build.sh OpenBK7231N_App 1.0.0 bk7231n APP_BIN_NAME=OpenBK7231N_App APP_VERSION=1.0.0 TARGET_PLATFORM=bk7231n USER_CMD= Start Compile system:CYGWIN_NT-10.0 not is ci build make[1]: Wejście do katalogu '/cygdrive/w/GIT/OpenBK7231N/platforms/bk7231n/bk7231n_os' make[1]: git: No such file or directory make[2]: Wejście do katalogu '/cygdrive/w/GIT/OpenBK7231N/platforms/bk7231n/bk7231n_os' echo prerequirement0 prerequirement0

Build OpenBK7231N_App

echo prerequirement1 prerequirement1 mkdir -p Debug/obj mkdir -p Debug/bin build beken378/app/app_bk.o echo prerequirement2 prerequirement2 build beken378/app/ate_app.o build beken378/app/config/param_config.o build beken378/app/standalone-ap/sa_ap.o build beken378/app/standalone-station/sa_station.o build beken378/demo/ieee802_11_demo.o build beken378/driver/common/dd.o build beken378/driver/common/drv_model.o build beken378/driver/dma/dma.o build beken378/driver/driver.o build beken378/driver/entry/arch_main.o build beken378/driver/flash/flash.o build beken378/driver/general_dma/general_dma.o build beken378/driver/gpio/gpio.o build beken378/driver/i2c/i2c1.o build beken378/driver/i2c/i2c2.o build beken378/driver/icu/icu.o build beken378/driver/intc/intc.o build beken378/driver/irda/irda.o build beken378/driver/macphy_bypass/mac_phy_bypass.o build beken378/driver/phy/phy_trident.o build beken378/driver/pwm/pwm.o build beken378/driver/pwm/pwm_new.o beken378/driver/pwm/pwm_new.c: In function 'pwm_update_param': beken378/driver/pwm/pwm_new.c:820:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_group_update_param_enable': beken378/driver/pwm/pwm_new.c:938:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_nogroup_update_param_enable': beken378/driver/pwm/pwm_new.c:964:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ beken378/driver/pwm/pwm_new.c: In function 'pwm_param_clear': beken378/driver/pwm/pwm_new.c:1000:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build beken378/driver/pwm/mcu_ps_timer.o build beken378/driver/pwm/bk_timer.o build beken378/driver/rw_pub/rw_platf_pub.o build beken378/driver/saradc/saradc.o build beken378/driver/spi/spi_bk7231n.o build beken378/driver/spi/spi_master_bk7231n.o In file included from ../../../sdk/include/mbedtls/config.h:39:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_master_bk7231n.c:13: ../../../sdk/include/tuya_tls_config_psk_only.h:34:0: warning: "TLS_SESSION" redefined

define TLS_SESSION 1 //ň╝ÇňÉ»TLS_SESSION

^ In file included from ../../../sdk/include/mbedtls/config.h:32:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_master_bk7231n.c:13: ../../../sdk/include/tuya_iot_config.h:128:0: note: this is the location of the previous definition

define TLS_SESSION 0

^ build beken378/driver/spi/spi_slave_bk7231n.o beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_configure': beken378/driver/spi/spi_master_bk7231n.c:162:26: warning: unused variable 'spi_dev_cb' [-Wunused-variable] struct spi_callback_des spi_dev_cb; ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_master_dma_send': beken378/driver/spi/spi_master_bk7231n.c:726:21: warning: assignment makes integer from pointer without a cast en_cfg.param = spi_msg->send_buf; // dma dst addr ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_spi_master_dma_recv': beken378/driver/spi/spi_master_bk7231n.c:787:21: warning: assignment makes integer from pointer without a cast en_cfg.param = spi_msg->recv_buf; // dma dst addr ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_master_dma_tx_disable': beken378/driver/spi/spi_master_bk7231n.c:840:14: warning: unused variable 'en_cfg' [-Wunused-variable] GDMA_CFG_ST en_cfg; ^ beken378/driver/spi/spi_master_bk7231n.c: In function 'bk_master_dma_rx_disable': beken378/driver/spi/spi_master_bk7231n.c:850:14: warning: unused variable 'en_cfg' [-Wunused-variable] GDMA_CFG_ST en_cfg; ^ build beken378/driver/spidma/spidma.o In file included from ../../../sdk/include/mbedtls/config.h:39:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_slave_bk7231n.c:15: ../../../sdk/include/tuya_tls_config_psk_only.h:34:0: warning: "TLS_SESSION" redefined

define TLS_SESSION 1 //ň╝ÇňÉ»TLS_SESSION

^ In file included from ../../../sdk/include/mbedtls/config.h:32:0, from ../../../sdk/include/mbedtls/error.h:28, from beken378/driver/spi/spi_slave_bk7231n.c:15: ../../../sdk/include/tuya_iot_config.h:128:0: note: this is the location of the previous definition

define TLS_SESSION 0

^ build beken378/driver/sys_ctrl/sys_ctrl.o build beken378/driver/uart/Retarget.o build beken378/driver/uart/uart_bk.o build beken378/driver/uart/printf.o build beken378/driver/wdt/wdt.o build beken378/driver/ble_5_x_rw/ble_pub/prf/prf.o build beken378/driver/ble_5_x_rw/ble_pub/prf/prf_utils.o build beken378/driver/ble_5_x_rw/ble_pub/profiles/comm/src/comm.o build beken378/driver/ble_5_x_rw/ble_pub/profiles/comm/src/comm_task.o build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_comm.o build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_ble.o build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_task.o build beken378/driver/ble_5_x_rw/ble_pub/ui/ble_ui.o build beken378/driver/ble_5_x_rw/platform/7231n/rwip/src/rwip.o build beken378/driver/ble_5_x_rw/platform/7231n/rwip/src/rwble.o build beken378/driver/ble_5_x_rw/platform/7231n/entry/ble_main.o build beken378/driver/ble_5_x_rw/platform/7231n/driver/rf/rf_xvr.o build beken378/driver/ble_5_x_rw/platform/7231n/driver/uart/uart_ble.o build beken378/driver/ble_5_x_rw/platform/7231n/driver/rf/ble_rf_port.o build beken378/driver/ble_5_x_rw/ble_pub/app/src/app_ble_task.o build beken378/func/func.o build beken378/func/bk7011_cal/bk7231U_cal.o build beken378/func/bk7011_cal/bk7231N_cal.o build beken378/func/bk7011_cal/manual_cal_bk7231U.o build beken378/func/joint_up/role_launch.o build beken378/func/hostapd_intf/hostapd_intf.o build beken378/func/hostapd-2.5/bk_patch/ddrv.o build beken378/func/hostapd-2.5/bk_patch/signal.o build beken378/func/hostapd-2.5/bk_patch/sk_intf.o build beken378/func/hostapd-2.5/bk_patch/fake_socket.o build beken378/func/hostapd-2.5/hostapd/main_none.o build beken378/func/hostapd-2.5/src/crypto/aes-internal.o build beken378/func/hostapd-2.5/src/crypto/aes-internal-dec.o build beken378/func/hostapd-2.5/src/crypto/aes-internal-enc.o build beken378/func/hostapd-2.5/src/crypto/aes-unwrap.o build beken378/func/hostapd-2.5/src/crypto/aes-wrap.o build beken378/func/hostapd-2.5/src/crypto/bk_md5.o build beken378/func/hostapd-2.5/src/crypto/md5-internal.o build beken378/func/hostapd-2.5/src/crypto/rc4.o build beken378/func/hostapd-2.5/src/crypto/bk_sha1.o build beken378/func/hostapd-2.5/src/crypto/sha1-internal.o build beken378/func/hostapd-2.5/src/crypto/sha1-pbkdf2.o build beken378/func/hostapd-2.5/src/crypto/sha1-prf.o build beken378/func/hostapd-2.5/src/crypto/tls_none.o build beken378/func/hostapd-2.5/src/ap/ap_config.o build beken378/func/hostapd-2.5/src/ap/ap_drv_ops.o build beken378/func/hostapd-2.5/src/ap/ap_list.o build beken378/func/hostapd-2.5/src/ap/ap_mlme.o build beken378/func/hostapd-2.5/src/ap/beacon.o build beken378/func/hostapd-2.5/src/ap/drv_callbacks.o build beken378/func/hostapd-2.5/src/ap/hostapd.o build beken378/func/hostapd-2.5/src/ap/hw_features.o build beken378/func/hostapd-2.5/src/ap/ieee802_11_auth.o build beken378/func/hostapd-2.5/src/ap/ieee802_11.o build beken378/func/hostapd-2.5/src/ap/ieee802_11_ht.o build beken378/func/hostapd-2.5/src/ap/ieee802_11_shared.o build beken378/func/hostapd-2.5/src/ap/ieee802_1x.o build beken378/func/hostapd-2.5/src/ap/sta_info.o build beken378/func/hostapd-2.5/src/ap/tkip_countermeasures.o build beken378/func/hostapd-2.5/src/ap/utils.o build beken378/func/hostapd-2.5/src/ap/wmm.o build beken378/func/hostapd-2.5/src/ap/wpa_auth.o build beken378/func/hostapd-2.5/src/ap/wpa_auth_glue.o build beken378/func/hostapd-2.5/src/ap/wpa_auth_ie.o build beken378/func/hostapd-2.5/src/common/hw_features_common.o build beken378/func/hostapd-2.5/src/common/ieee802_11_common.o build beken378/func/hostapd-2.5/src/common/wpa_common.o build beken378/func/hostapd-2.5/src/drivers/driver_beken.o build beken378/func/hostapd-2.5/src/drivers/driver_common.o build beken378/func/hostapd-2.5/src/drivers/drivers.o build beken378/func/hostapd-2.5/src/l2_packet/l2_packet_none.o build beken378/func/hostapd-2.5/src/rsn_supp/wpa.o build beken378/func/hostapd-2.5/src/rsn_supp/wpa_ie.o build beken378/func/hostapd-2.5/src/utils/common.o build beken378/func/hostapd-2.5/src/utils/eloop.o build beken378/func/hostapd-2.5/src/utils/os_none.o build beken378/func/hostapd-2.5/src/utils/wpabuf.o build beken378/func/hostapd-2.5/wpa_supplicant/blacklist.o build beken378/func/hostapd-2.5/wpa_supplicant/bss.o build beken378/func/hostapd-2.5/wpa_supplicant/config.o build beken378/func/hostapd-2.5/wpa_supplicant/config_none.o build beken378/func/hostapd-2.5/wpa_supplicant/events.o build beken378/func/hostapd-2.5/wpa_supplicant/main_supplicant.o build beken378/func/hostapd-2.5/wpa_supplicant/notify.o build beken378/func/hostapd-2.5/wpa_supplicant/wmm_ac.o build beken378/func/hostapd-2.5/wpa_supplicant/wpa_scan.o build beken378/func/hostapd-2.5/wpa_supplicant/wpas_glue.o build beken378/func/hostapd-2.5/wpa_supplicant/wpa_supplicant.o build beken378/func/libc/stdio/lib_libvscanf.o build beken378/func/libc/stdio/lib_memsistream.o build beken378/func/libc/stdio/lib_meminstream.o build beken378/func/libc/stdio/lib_sscanf.o build beken378/func/libc/stdio/lib_vsscanf.o build beken378/func/libc/stdlib/lib_strtod.o build beken378/func/libc/stdlib/lib_qsort.o build beken378/func/lwip_intf/lwip-2.0.2/port/ethernetif.o build beken378/func/lwip_intf/lwip-2.0.2/port/net.o build beken378/func/lwip_intf/lwip-2.0.2/port/sys_arch.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/api_lib.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/api_msg.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/err.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/netbuf.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/netdb.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/netifapi.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/sockets.o build beken378/func/lwip_intf/lwip-2.0.2/src/api/tcpip.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/def.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/dns.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/inet_chksum.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/init.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ip.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/autoip.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/dhcp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/etharp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/icmp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/igmp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4_addr.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv4/ip4_frag.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/dhcp6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ethip6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/icmp6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/inet6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6_addr.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/ip6_frag.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/mld6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/ipv6/nd6.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/mem.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/memp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/netif.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/pbuf.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/raw.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/stats.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/sys.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp_in.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/tcp_out.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/timeouts.o build beken378/func/lwip_intf/lwip-2.0.2/src/core/udp.o build beken378/func/lwip_intf/lwip-2.0.2/src/netif/ethernet.o build beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/httpd.o build beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/fs.o build beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.o build beken378/func/lwip_intf/dhcpd/dhcp-server.o beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c: In function 'mqtt_client_connect': beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c:1253:71: warning: comparison between pointer and integer if (client_info->client_user != NULL && client_info->client_user[0] != NULL) { ^ beken378/func/lwip_intf/lwip-2.0.2/src/apps/mqtt/mqtt.c:1263:71: warning: comparison between pointer and integer if (client_info->client_pass != NULL && client_info->client_pass[0] != NULL) { ^ build beken378/func/lwip_intf/dhcpd/dhcp-server-main.o build beken378/func/misc/fake_clock.o build beken378/func/misc/target_util.o build beken378/func/misc/start_type.o build beken378/func/misc/soft_encrypt.o build beken378/func/power_save/power_save.o build beken378/func/power_save/manual_ps.o build beken378/func/power_save/mcu_ps.o build beken378/func/rf_test/rx_sensitivity.o build beken378/func/rf_test/tx_evm.o build beken378/func/rwnx_intf/rw_ieee80211.o build beken378/func/rwnx_intf/rw_msdu.o build beken378/func/rwnx_intf/rw_msg_rx.o build beken378/func/rwnx_intf/rw_msg_tx.o build beken378/func/sim_uart/gpio_uart.o build beken378/func/sim_uart/pwm_uart.o build beken378/func/spidma_intf/spidma_intf.o build beken378/func/temp_detect/temp_detect.o build beken378/func/uart_debug/cmd_evm.o build beken378/func/uart_debug/cmd_help.o build beken378/func/uart_debug/cmd_reg.o build beken378/func/uart_debug/cmd_rx_sensitivity.o build beken378/func/uart_debug/command_line.o build beken378/func/uart_debug/command_table.o build beken378/func/uart_debug/udebug.o build beken378/func/user_driver/BkDriverFlash.o build beken378/func/user_driver/BkDriverRng.o build beken378/func/user_driver/BkDriverGpio.o build beken378/func/user_driver/BkDriverPwm.o build beken378/func/user_driver/BkDriverUart.o beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_update_param': beken378/func/user_driver/BkDriverPwm.c:274:2: warning: implicit declaration of function 'pwm_single_update_param_enable' [-Wimplicit-function-declaration] pwm_single_update_param_enable(pwm,init_level); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_initialize': beken378/func/user_driver/BkDriverPwm.c:346:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&param, 0, sizeof(pwm_param_t)); ^ beken378/func/user_driver/BkDriverPwm.c:346:5: warning: incompatible implicit declaration of built-in function 'memset' beken378/func/user_driver/BkDriverPwm.c:348:2: warning: implicit declaration of function 'pwm_check_group' [-Wimplicit-function-declaration] group_flag = pwm_check_group(pwm1,pwm2); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_stop': beken378/func/user_driver/BkDriverPwm.c:425:3: warning: implicit declaration of function 'pwm_group_mode_disable' [-Wimplicit-function-declaration] pwm_group_mode_disable(pwm1); ^ beken378/func/user_driver/BkDriverPwm.c:429:3: warning: implicit declaration of function 'pwm_unit_disable' [-Wimplicit-function-declaration] pwm_unit_disable(pwm1); ^ beken378/func/user_driver/BkDriverPwm.c: In function 'bk_pwm_cw_update_param': beken378/func/user_driver/BkDriverPwm.c:509:3: warning: implicit declaration of function 'pwm_init_levl_get' [-Wimplicit-function-declaration] if(pwm_init_levl_get(pwm2) ==1) ^ build beken378/func/user_driver/BkDriverWdg.o build beken378/func/user_driver/BkDriverTimer.o build beken378/func/wlan_ui/wlan_cli.o build beken378/func/wlan_ui/wlan_ui.o build beken378/func/bk_tuya_pwm/bk_tuya_pwm.o build beken378/func/net_param_intf/net_param.o build beken378/func/key/multi_button.o build beken378/func/key/key_main.o beken378/func/key/key_main.c: In function 'key_gpio_init': beken378/func/key/key_main.c:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ build beken378/os/mem_arch.o build beken378/os/platform_stub.o build beken378/os/str_arch.o build ../../../apps/OpenBK7231N_App/src/new_builtin_devices.o build ../../../apps/OpenBK7231N_App/src/new_cfg.o build ../../../apps/OpenBK7231N_App/src/new_common.o build ../../../apps/OpenBK7231N_App/src/new_ping.o ../../../apps/OpenBK7231N_App/src/new_common.c: In function 'strIsInteger': ../../../apps/OpenBK7231N_App/src/new_common.c:28:3: warning: array subscript has type 'char' [-Wchar-subscripts] if(isdigit(s)==false) ^ build ../../../apps/OpenBK7231N_App/src/new_pins.o build ../../../apps/OpenBK7231N_App/src/rgb2hsv.o build ../../../apps/OpenBK7231N_App/src/tiny_crc8.o build ../../../apps/OpenBK7231N_App/src/user_main.o build ../../../apps/OpenBK7231N_App/src/win_main.o build ../../../apps/OpenBK7231N_App/src/win_stubs.o build ../../../apps/OpenBK7231N_App/src/bitmessage/bitmessage_read.o build ../../../apps/OpenBK7231N_App/src/bitmessage/bitmessage_write.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_channels.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_eventHandlers.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_main.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_newLEDDriver.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_repeatingEvents.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_send.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_tasmota.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_test.o build ../../../apps/OpenBK7231N_App/src/cmnds/cmd_tokenizer.o build ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_read.o build ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_util.o ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_read.c: In function 'DGR_Parse': ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_read.c:17:24: warning: passing argument 2 of 'MSG_BeginReading' discards 'const' qualifier from pointer target type MSG_BeginReading(&msg,data,len); ^ In file included from ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_read.c:3:0: w:\git\openbk7231n\apps\openbk7231n_app\src\bitmessage\bitmessage_public.h:10:6: note: expected 'byte ' but argument is of type 'const byte ' void MSG_BeginReading(bitMessage_t msg, byte *data, int dataSize); ^ ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_read.c:68:9: warning: unused variable 'total' [-Wunused-variable] int total = 0; ^ build ../../../apps/OpenBK7231N_App/src/devicegroups/deviceGroups_write.o build ../../../apps/OpenBK7231N_App/src/driver/drv_bl_shared.o build ../../../apps/OpenBK7231N_App/src/driver/drv_bl0937.o build ../../../apps/OpenBK7231N_App/src/driver/drv_bl0942.o build ../../../apps/OpenBK7231N_App/src/driver/drv_main.o build ../../../apps/OpenBK7231N_App/src/driver/drv_ntp.o build ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.o build ../../../apps/OpenBK7231N_App/src/driver/drv_tuyaMCU.o build ../../../apps/OpenBK7231N_App/src/driver/drv_uart.o ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c: In function 'DRV_DGR_processPower': ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:140:2: warning: implicit declaration of function 'LED_SetEnableAll' [-Wimplicit-function-declaration] LED_SetEnableAll(BIT_CHECK(relayStates,0)); ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:138:6: warning: unused variable 'ch' [-Wunused-variable] int ch; ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:137:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:136:6: warning: unused variable 'startIndex' [-Wunused-variable] int startIndex; ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c: In function 'DRV_DGR_processBrightnessPowerOn': ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:171:2: warning: implicit declaration of function 'LED_SetDimmer' [-Wimplicit-function-declaration] LED_SetDimmer(Val255ToVal100(brightness)); ^ In file included from ../../../apps/OpenBK7231N_App/src/driver/../new_common.h:147:0, from ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:3: ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c: In function 'DRV_DGR_RunFrame': ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:204:13: warning: passing argument 6 of 'lwip_recvfrom' from incompatible pointer type &addrlen ^ ./beken378/func/lwip_intf/lwip-2.0.2/src/include/lwip/sockets.h:533:86: note: in definition of macro 'recvfrom'

define recvfrom(s,mem,len,flags,from,fromlen) lwip_recvfrom(s,mem,len,flags,from,fromlen)

                                                                                  ^

./beken378/func/lwip_intf/lwip-2.0.2/src/include/lwip/sockets.h:494:5: note: expected 'socklen_t ' but argument is of type 'int ' int lwip_recvfrom(int s, void mem, size_t len, int flags, ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:220:13: warning: pointer targets in passing argument 1 of 'DGR_Parse' differ in signedness [-Wpointer-sign] DGR_Parse(msgbuf, nbytes, &def); ^ In file included from ../../../apps/OpenBK7231N_App/src/driver/drv_tasmotaDeviceGroups.c:9:0: ../../../apps/OpenBK7231N_App/src/driver/../devicegroups/deviceGroups_public.h:33:5: note: expected 'const byte ' but argument is of type 'char ' int DGR_Parse(const byte data, int len, dgrDevice_t dev); ^ ../../../apps/OpenBK7231N_App/src/driver/drv_tuyaMCU.c: In function 'TuyaMCU_Get_NTP_Time': ../../../apps/OpenBK7231N_App/src/driver/drv_tuyaMCU.c:423:15: warning: passing argument 1 of 'gmtime' from incompatible pointer type ptm = gmtime(&g_time); ^ In file included from w:\git\openbk7231n\platforms\bk7231n\toolchain\windows\gcc-arm-none-eabi-4_9-2015q1\arm-none-eabi\include\stdlib.h:11:0, from ../../../apps/OpenBK7231N_App/src/driver/../new_common.h:4, from ../../../apps/OpenBK7231N_App/src/driver/drv_tuyaMCU.c:14: w:\git\openbk7231n\platforms\bk7231n\toolchain\windows\gcc-arm-none-eabi-4_9-2015q1\arm-none-eabi\include\time.h:57:12: note: expected 'const time_t ' but argument is of type 'int ' struct tm _EXFUN(gmtime, (const time_t *_timer)); ^ build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_flashConfig_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_flashVars_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_generic_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_main_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_pins_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bk7231/hal_wifi_bk7231.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_flashConfig_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_flashVars_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_generic_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_main_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_pins_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/bl602/hal_wifi_bl602.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_flashConfig_xr809.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_flashVars_xr809.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_generic_xr809.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_main_xr809.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_pins_xr809.o build ../../../apps/OpenBK7231N_App/src/hal/xr809/hal_wifi_xr809.o build ../../../apps/OpenBK7231N_App/src/httpclient/http_client.o build ../../../apps/OpenBK7231N_App/src/httpclient/utils_net.o build ../../../apps/OpenBK7231N_App/src/httpclient/utils_timer.o ../../../apps/OpenBK7231N_App/src/httpclient/utils_net.c: In function 'HAL_TCP_Destroy': ../../../apps/OpenBK7231N_App/src/httpclient/utils_net.c:97:3: warning: implicit declaration of function 'lwip_close_force' [-Wimplicit-function-declaration] lwip_close_force((int) fd); ^ build ../../../apps/OpenBK7231N_App/src/httpserver/http_fns.o build ../../../apps/OpenBK7231N_App/src/httpserver/http_tcp_server.o ../../../apps/OpenBK7231N_App/src/httpserver/http_fns.c: In function 'http_fn_cfg_wifi': ../../../apps/OpenBK7231N_App/src/httpserver/http_fns.c:596:9: warning: implicit declaration of function 'tuya_os_adapt_wifi_all_ap_scan' [-Wimplicit-function-declaration] tuya_os_adapt_wifi_all_ap_scan(&ar,&num); ^ ../../../apps/OpenBK7231N_App/src/httpserver/http_fns.c:601:9: warning: implicit declaration of function 'tuya_os_adapt_wifi_release_ap' [-Wimplicit-function-declaration] tuya_os_adapt_wifi_release_ap(ar); ^ build ../../../apps/OpenBK7231N_App/src/httpserver/new_http.o build ../../../apps/OpenBK7231N_App/src/httpserver/rest_interface.o build ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_lcd_pcf8574t.o build ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_main.o ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_lcd_pcf8574t.c: In function 'PCF8574_LCD_Init': ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_lcd_pcf8574t.c:177:5: warning: implicit declaration of function 'delay_ms' [-Wimplicit-function-declaration] delay_ms(5); // (per HD44780U initialization spec) ^ build ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_mcp23017.o build ../../../apps/OpenBK7231N_App/src/i2c/drv_i2c_tc74.o build ../../../apps/OpenBK7231N_App/src/jsmn/jsmn.o build ../../../apps/OpenBK7231N_App/src/littlefs/lfs.o build ../../../apps/OpenBK7231N_App/src/littlefs/lfs_util.o build ../../../apps/OpenBK7231N_App/src/littlefs/our_lfs.o build ../../../apps/OpenBK7231N_App/src/logging/logging.o build ../../../apps/OpenBK7231N_App/src/mqtt/new_mqtt.o ../../../apps/OpenBK7231N_App/src/logging/logging.c:105:26: warning: 'g_mutex' defined but not used [-Wunused-variable] static SemaphoreHandle_t g_mutex = 0; ^ build ../../../apps/OpenBK7231N_App/src/ota/ota.o build ../tuya_os_adapter/src/adapter_platform.o build ../tuya_os_adapter/src/tuya_os_init.o build ../tuya_os_adapter/src/driver/tuya_drv_adc.o build ../tuya_os_adapter/src/driver/tuya_drv_pin.o build ../tuya_os_adapter/src/driver/tuya_drv_pwm.o build ../tuya_os_adapter/src/driver/tuya_drv_rtc.o build ../tuya_os_adapter/src/driver/tuya_drv_timer.o build ../tuya_os_adapter/src/driver/tuya_drv_uart.o build ../tuya_os_adapter/src/driver/tuya_os_adapt_bt.o build ../tuya_os_adapter/src/driver/tuya_os_adapt_ota.o build ../tuya_os_adapter/src/driver/tuya_os_adapt_storge.o build ../tuya_os_adapter/src/driver/tuya_os_adapt_wifi.o build ../tuya_os_adapter/src/system/tuya_os_adapt_memory.o build ../tuya_os_adapter/src/system/tuya_os_adapt_mutex.o build ../tuya_os_adapter/src/system/tuya_os_adapt_network.o build ../tuya_os_adapter/src/system/tuya_os_adapt_output.o build ../tuya_os_adapter/src/system/tuya_os_adapt_queue.o build ../tuya_os_adapter/src/system/tuya_os_adapt_semaphore.o build ../tuya_os_adapter/src/system/tuya_os_adapt_system.o build ../tuya_os_adapter/src/system/tuya_os_adapt_thread.o ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-gcc -g -Wl,--gc-sections -marm -mcpu=arm968e-s -mthumb-interwork -nostdlib -Xlinker -Map=tuya.map -Wl,-wrap,malloc -Wl,-wrap,_malloc_r -Wl,-wrap,free -Wl,-wrap,_free_r -Wl,-wrap,zalloc -Wl,-wrap,calloc -Wl,-wrap,realloc -Wl,-wrap,_realloc_r -Wl,-wrap,printf -Wl,-wrap,vsnprintf -Wl,-wrap,snprintf -Wl,-wrap,sprintf -Wl,-wrap,puts -Wl,-wrap,strtod -Wl,-wrap,qsort -Wl,-wrap,sscanf -o ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.axf Debug/obj/app_bk.o Debug/obj/ate_app.o Debug/obj/param_config.o Debug/obj/sa_ap.o Debug/obj/sa_station.o Debug/obj/ieee802_11_demo.o Debug/obj/dd.o Debug/obj/drv_model.o Debug/obj/dma.o Debug/obj/driver.o Debug/obj/arch_main.o Debug/obj/flash.o Debug/obj/general_dma.o Debug/obj/gpio.o Debug/obj/i2c1.o Debug/obj/i2c2.o Debug/obj/icu.o Debug/obj/intc.o Debug/obj/irda.o Debug/obj/mac_phy_bypass.o Debug/obj/phy_trident.o Debug/obj/pwm.o Debug/obj/pwm_new.o Debug/obj/mcu_ps_timer.o Debug/obj/bk_timer.o Debug/obj/rw_platf_pub.o Debug/obj/saradc.o Debug/obj/spi_bk7231n.o Debug/obj/spi_master_bk7231n.o Debug/obj/spi_slave_bk7231n.o Debug/obj/spidma.o Debug/obj/sys_ctrl.o Debug/obj/Retarget.o Debug/obj/uart_bk.o Debug/obj/printf.o Debug/obj/wdt.o Debug/obj/prf.o Debug/obj/prf_utils.o Debug/obj/comm.o Debug/obj/comm_task.o Debug/obj/app_comm.o Debug/obj/app_ble.o Debug/obj/app_task.o Debug/obj/ble_ui.o Debug/obj/rwip.o Debug/obj/rwble.o Debug/obj/ble_main.o Debug/obj/rf_xvr.o Debug/obj/uart_ble.o Debug/obj/ble_rf_port.o Debug/obj/app_ble_task.o Debug/obj/func.o Debug/obj/bk7231U_cal.o Debug/obj/bk7231N_cal.o Debug/obj/manual_cal_bk7231U.o Debug/obj/role_launch.o Debug/obj/hostapd_intf.o Debug/obj/ddrv.o Debug/obj/signal.o Debug/obj/sk_intf.o Debug/obj/fake_socket.o Debug/obj/main_none.o Debug/obj/aes-internal.o Debug/obj/aes-internal-dec.o Debug/obj/aes-internal-enc.o Debug/obj/aes-unwrap.o Debug/obj/aes-wrap.o Debug/obj/bk_md5.o Debug/obj/md5-internal.o Debug/obj/rc4.o Debug/obj/bk_sha1.o Debug/obj/sha1-internal.o Debug/obj/sha1-pbkdf2.o Debug/obj/sha1-prf.o Debug/obj/tls_none.o Debug/obj/ap_config.o Debug/obj/ap_drv_ops.o Debug/obj/ap_list.o Debug/obj/ap_mlme.o Debug/obj/beacon.o Debug/obj/drv_callbacks.o Debug/obj/hostapd.o Debug/obj/hw_features.o Debug/obj/ieee802_11_auth.o Debug/obj/ieee802_11.o Debug/obj/ieee802_11_ht.o Debug/obj/ieee802_11_shared.o Debug/obj/ieee802_1x.o Debug/obj/sta_info.o Debug/obj/tkip_countermeasures.o Debug/obj/utils.o Debug/obj/wmm.o Debug/obj/wpa_auth.o Debug/obj/wpa_auth_glue.o Debug/obj/wpa_auth_ie.o Debug/obj/hw_features_common.o Debug/obj/ieee802_11_common.o Debug/obj/wpa_common.o Debug/obj/driver_beken.o Debug/obj/driver_common.o Debug/obj/drivers.o Debug/obj/l2_packet_none.o Debug/obj/wpa.o Debug/obj/wpa_ie.o Debug/obj/common.o Debug/obj/eloop.o Debug/obj/os_none.o Debug/obj/wpabuf.o Debug/obj/blacklist.o Debug/obj/bss.o Debug/obj/config.o Debug/obj/config_none.o Debug/obj/events.o Debug/obj/main_supplicant.o Debug/obj/notify.o Debug/obj/wmm_ac.o Debug/obj/wpa_scan.o Debug/obj/wpas_glue.o Debug/obj/wpa_supplicant.o Debug/obj/lib_libvscanf.o Debug/obj/lib_memsistream.o Debug/obj/lib_meminstream.o Debug/obj/lib_sscanf.o Debug/obj/lib_vsscanf.o Debug/obj/lib_strtod.o Debug/obj/lib_qsort.o Debug/obj/ethernetif.o Debug/obj/net.o Debug/obj/sys_arch.o Debug/obj/api_lib.o Debug/obj/api_msg.o Debug/obj/err.o Debug/obj/netbuf.o Debug/obj/netdb.o Debug/obj/netifapi.o Debug/obj/sockets.o Debug/obj/tcpip.o Debug/obj/def.o Debug/obj/dns.o Debug/obj/inet_chksum.o Debug/obj/init.o Debug/obj/ip.o Debug/obj/autoip.o Debug/obj/dhcp.o Debug/obj/etharp.o Debug/obj/icmp.o Debug/obj/igmp.o Debug/obj/ip4_addr.o Debug/obj/ip4.o Debug/obj/ip4_frag.o Debug/obj/dhcp6.o Debug/obj/ethip6.o Debug/obj/icmp6.o Debug/obj/inet6.o Debug/obj/ip6_addr.o Debug/obj/ip6.o Debug/obj/ip6_frag.o Debug/obj/mld6.o Debug/obj/nd6.o Debug/obj/mem.o Debug/obj/memp.o Debug/obj/netif.o Debug/obj/pbuf.o Debug/obj/raw.o Debug/obj/stats.o Debug/obj/sys.o Debug/obj/tcp.o Debug/obj/tcp_in.o Debug/obj/tcp_out.o Debug/obj/timeouts.o Debug/obj/udp.o Debug/obj/ethernet.o Debug/obj/httpd.o Debug/obj/fs.o Debug/obj/mqtt.o Debug/obj/dhcp-server.o Debug/obj/dhcp-server-main.o Debug/obj/fake_clock.o Debug/obj/target_util.o Debug/obj/start_type.o Debug/obj/soft_encrypt.o Debug/obj/power_save.o Debug/obj/manual_ps.o Debug/obj/mcu_ps.o Debug/obj/rx_sensitivity.o Debug/obj/tx_evm.o Debug/obj/rw_ieee80211.o Debug/obj/rw_msdu.o Debug/obj/rw_msg_rx.o Debug/obj/rw_msg_tx.o Debug/obj/gpio_uart.o Debug/obj/pwm_uart.o Debug/obj/spidma_intf.o Debug/obj/temp_detect.o Debug/obj/cmd_evm.o Debug/obj/cmd_help.o Debug/obj/cmd_reg.o Debug/obj/cmd_rx_sensitivity.o Debug/obj/command_line.o Debug/obj/command_table.o Debug/obj/udebug.o Debug/obj/BkDriverFlash.o Debug/obj/BkDriverRng.o Debug/obj/BkDriverGpio.o Debug/obj/BkDriverPwm.o Debug/obj/BkDriverUart.o Debug/obj/BkDriverWdg.o Debug/obj/BkDriverTimer.o Debug/obj/wlan_cli.o Debug/obj/wlan_ui.o Debug/obj/bk_tuya_pwm.o Debug/obj/net_param.o Debug/obj/multi_button.o Debug/obj/key_main.o Debug/obj/mem_arch.o Debug/obj/platform_stub.o Debug/obj/str_arch.o Debug/obj/new_builtin_devices.o Debug/obj/new_cfg.o Debug/obj/new_common.o Debug/obj/new_ping.o Debug/obj/new_pins.o Debug/obj/rgb2hsv.o Debug/obj/tiny_crc8.o Debug/obj/user_main.o Debug/obj/win_main.o Debug/obj/win_stubs.o Debug/obj/bitmessage_read.o Debug/obj/bitmessage_write.o Debug/obj/cmd_channels.o Debug/obj/cmd_eventHandlers.o Debug/obj/cmd_main.o Debug/obj/cmd_newLEDDriver.o Debug/obj/cmd_repeatingEvents.o Debug/obj/cmd_send.o Debug/obj/cmd_tasmota.o Debug/obj/cmd_test.o Debug/obj/cmd_tokenizer.o Debug/obj/deviceGroups_read.o Debug/obj/deviceGroups_util.o Debug/obj/deviceGroups_write.o Debug/obj/drv_bl_shared.o Debug/obj/drv_bl0937.o Debug/obj/drv_bl0942.o Debug/obj/drv_main.o Debug/obj/drv_ntp.o Debug/obj/drv_tasmotaDeviceGroups.o Debug/obj/drv_tuyaMCU.o Debug/obj/drv_uart.o Debug/obj/hal_flashConfig_bk7231.o Debug/obj/hal_flashVars_bk7231.o Debug/obj/hal_generic_bk7231.o Debug/obj/hal_main_bk7231.o Debug/obj/hal_pins_bk7231.o Debug/obj/hal_wifi_bk7231.o Debug/obj/hal_flashConfig_bl602.o Debug/obj/hal_flashVars_bl602.o Debug/obj/hal_generic_bl602.o Debug/obj/hal_main_bl602.o Debug/obj/hal_pins_bl602.o Debug/obj/hal_wifi_bl602.o Debug/obj/hal_flashConfig_xr809.o Debug/obj/hal_flashVars_xr809.o Debug/obj/hal_generic_xr809.o Debug/obj/hal_main_xr809.o Debug/obj/hal_pins_xr809.o Debug/obj/hal_wifi_xr809.o Debug/obj/http_client.o Debug/obj/utils_net.o Debug/obj/utils_timer.o Debug/obj/http_fns.o Debug/obj/http_tcp_server.o Debug/obj/new_http.o Debug/obj/rest_interface.o Debug/obj/drv_i2c_lcd_pcf8574t.o Debug/obj/drv_i2c_main.o Debug/obj/drv_i2c_mcp23017.o Debug/obj/drv_i2c_tc74.o Debug/obj/jsmn.o Debug/obj/lfs.o Debug/obj/lfs_util.o Debug/obj/our_lfs.o Debug/obj/logging.o Debug/obj/new_mqtt.o Debug/obj/ota.o Debug/obj/adapter_platform.o Debug/obj/tuya_os_init.o Debug/obj/tuya_drv_adc.o Debug/obj/tuya_drv_pin.o Debug/obj/tuya_drv_pwm.o Debug/obj/tuya_drv_rtc.o Debug/obj/tuya_drv_timer.o Debug/obj/tuya_drv_uart.o Debug/obj/tuya_os_adapt_bt.o Debug/obj/tuya_os_adapt_ota.o Debug/obj/tuya_os_adapt_storge.o Debug/obj/tuya_os_adapt_wifi.o Debug/obj/tuya_os_adapt_memory.o Debug/obj/tuya_os_adapt_mutex.o Debug/obj/tuya_os_adapt_network.o Debug/obj/tuya_os_adapt_output.o Debug/obj/tuya_os_adapt_queue.o Debug/obj/tuya_os_adapt_semaphore.o Debug/obj/tuya_os_adapt_system.o Debug/obj/tuya_os_adapt_thread.o Debug/obj/boot_handlers.o Debug/obj/boot_vectors.o Debug/obj/croutine.o Debug/obj/event_groups.o Debug/obj/list.o Debug/obj/port.o Debug/obj/heap_4.o Debug/obj/queue.o Debug/obj/tasks.o Debug/obj/timers.o Debug/obj/rtos_pub.o -L./beken378/lib/ -lrwnx -L./beken378/lib/ -lble -T./beken378/build/bk7231n_ota.ld ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-nm ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.axf | sort > ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.map ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-objdump -d ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.axf > ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.asm ../toolchain/windows/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi-objcopy -O binary ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.axf ../../../apps/OpenBK7231N_App/output/1.0.0/OpenBK7231N_App_1.0.0.bin make[2]: Opuszczenie katalogu '/cygdrive/w/GIT/OpenBK7231N/platforms/bk7231n/bk7231n_os' make[1]: Opuszczenie katalogu '/cygdrive/w/GIT/OpenBK7231N/platforms/bk7231n/bk7231n_os' Start Combined /*< @author jiewu@bekencorp.com / /*< @version v0.3.1 / encrypt without crc successfully! -file size: 0xb6870 { "count": 4, "magic": "RT-Thread", "section": [ { "firmware": "bk7231n_bootloader_enc.bin", "partition": "bootloader", "size": "68K", "start_addr": "0x00000000", "version": "1.00" }, { "firmware": "OpenBK7231N_App_1.0.0_enc.bin", "partition": "app", "size": "1150832", "start_addr": "0x00011000", "version": "1.00" } ], "version": "0.1" } beken packager V2.0.0 Shanghai Real-Thread Electronic Technology Co.,Ltd

load_config: config.json

partition flash_name phy addr size logic addr size file


bootloader beken_onchip_crc 0x00000000 68K 0x00000000 64K bk7231n_bootloader_enc.bin app beken_onchip_crc 0x00011000 1150832 0x00010000 1083136 OpenBK7231N_App_1.0.0_enc.bin

image size: 1220464 Byte image name: all_1.00.bin

export app partition image: OpenBK7231N_App_1.0.0_enc_uart_1.00.bin

time: 4.82s Good bye! End Combined generate ota file sw_version:1.0.0 OpenBK7231N_App_1.0.0.rbl file_size:0x79a50 OpenBK7231N_App_1.0.0.rbl sum:0x3c9dc21 header_sum:0x5a5 rm OpenBK7231N_App_1.0.0.rbl ug_file size: 500208 /cygdrive/w/GIT/OpenBK7231N/platforms/bk7231n/bk7231n_os/tools/generate




*****OpenBK7231N_App_1.0.0.bin****


**COMPILE SUCCESS****


not is ci build

openshwprojects commented 2 years ago

I asked about that 6 hours ago, but I will ask again, because I am still suspicious.

Is your App directory called "OpenBK7231N_App" when compiling with N SDK? Or did you put a directory named "OpenBK7231T_App" in N sdk?

Here is how it looks for me: image and inside that dir: image

AcuarioCat commented 2 years ago

I renamed the App to N but the code is from the T app. Here is my directory structure. I see you have a bk7231n folder in the apps directory - what does this contain? And what do you have in the OpenBK7231N folder? I'm sure it's just a case of the files/folders being in the wrong places. Maybe if you could follow the instructions from the readme or what I did as described in my first post (which was what I understood from the readme) then you would see what is wrong. Possibly it is because I am downloading the zip files and not using the git desktop/ide/whatever? level1 level2

openshwprojects commented 2 years ago

I see what you did wrong and readme is correct.

Why do you have the same repo copied twice?

image

the SDK Repo for N: https://github.com/openshwprojects/OpenBK7231N The App repo: https://github.com/openshwprojects/OpenBK7231T_App The SDK repo for T: https://github.com/openshwprojects/OpenBK7231T

You should put N SDK on your HDD, and then out the BK7231T_App (T is irrevelant here, now it's a shared app) in the apps folder of N SDK (name it BK7231N_App or smth).

Do not try putting SDK in another SDK.

Timo-Beil commented 2 years ago

Thanks, now it runs like a charme. My mistake. I hadn't put the "make" package in my Cygwin.

AcuarioCat commented 2 years ago

I thought that was what I was doing, simply copying the contents from the zip to the correct directory. Here is the contents of the SDK that I copy (extract) to c:\bk7231sdk sdk level2

Next the contents of the app that I copy (extract) to the apps folder and rename from T to N

app c_app

The app contains an SDK folder, I don't add anything, just extract from the zip

I see the app has folders that are in the sdk - apps, platform, sdk - I didn't create or add them. I then try running the build (there are 2 b.sh scripts, one in the bk7231sdk folder and one in the bk7231sdk/apps/OpenBK7231_App folder) but neither work as noted above

.

openshwprojects commented 2 years ago

Again.... image Those are NOT a contents of "App", this is OpenBK7231T SDK. You need "App", not "SDK", it's called "OpenBK7231T_App".

Please take your time and look closely and repository file names. Maybe try doing it in a clean way, again, from scratch, because you are clearily confusing "OpenBK7231T" repository with "OpenBK7231T_App"

AcuarioCat commented 2 years ago

ok, done - somehow yes it looks like they were mixed. Now it compiles. Next challenge understand it and modify for my system but that's another story.. thanks for your help.

exzombie commented 2 years ago

Posting here in case anyone has problems building and finds this closed issue: the errors shown in initial posts (like /bin/sh: ../toolchain/.../bin/arm-none-eabi-gcc: No such file or directory) indicate that the system doesn't have the right dynamic loader. For example, you are on 64-bit linux (which you surely are) and don't have a 32-bit libc installed. You need to install libc6-i386 on Debian/Ubuntu to make it work. Still, I had issues running otafix on Ubuntu 22.04 which was crashing. And then there's the missing python problem …

The easiest solution is to build a docker container with an older Ubuntu. The following Dockerfile allowed me to build the images:

FROM ubuntu:20.04
    MAINTAINER Johann Hirschkuh <me@mymail.com>

env    DEBIAN_FRONTEND noninteractive
run    apt-get -q -y update && apt-get -q -y upgrade
run    apt-get -q -y install npm
run    apt-get -q -y install make
run    apt-get -q -y install libc6-i386
run    apt-get -q -y install python2 && ln -s /usr/bin/python2 /usr/local/bin/python
NorthernMan54 commented 1 year ago

@exzombie Tks for sharing this. With my builds I keep all the checked out code in my ~/Code directory. So I did this

# Copy the repo's

cd ~/Code/
git clone https://github.com/openshwprojects/OpenBK7231T.git
cd OpenBK7231T/apps
git clone https://github.com/openshwprojects/OpenBK7231T_App.git

# Create the docker environment
mkdir ~/Docker/OpenBK7231T
cd ~/Docker/OpenBK7231T
# Copied the `Dockerfile` from above

# build the docker environment
docker build -t openbk .
docker run -it --mount src=~/Code,target=/Code,type=bind --workdir /Code/OpenBK7231T openbk bash "./b.sh"

# After about 10 minutes, the binaries are here
cd /Code/OpenBK7231T/apps/OpenBK7231T_App/output/1.0.0