# CONFIG_TY_CATEGORY_TP_LIGHT is not set
CONFIG_TY_CATEGORY_TP_ELE=y
# CONFIG_TY_CATEGORY_TP_COMM_PROT is not set
# CONFIG_TY_CATEGORY_TP_SENSOR is not set
# CONFIG_TY_CATEGORY_TP_LOCK is not set
# CONFIG_TY_CATEGORY_TP_APPLIANCE is not set
# CONFIG_TY_CATEGORY_TP_REMOTE is not set
CONFIG_ENABLE_TY_SOC_DEV=y
CONFIG_TY_FIRMWARE_KEY="keykespntekm3dsj"
# CONFIG_ENABLE_TY_FIRMWARE_OEM is not set
# CONFIG_ENABLE_TY_MATTER is not set
CONFIG_TY_PRODUCT_ID="3y7vno9hmmxnkeqe"
CONFIG_TY_NET_CFG_TIME=3
CONFIG_TY_WIFI_CFG_MTHD=2
CONFIG_TY_WIFI_START_MODE=3
CONFIG_ENABLE_MF_TEST_STATUS=y
CONFIG_ENABLE_PRODUCT_TEST_SCAN_WIFI=y
# CONFIG_ENABLE_PRODUCT_TEST_MF is not set
# CONFIG_ENABLE_TY_INFORM_OTA_REQ is not set
CONFIG_ENABLE_TY_PROD_INIT_NORMAL_PROCESS=y
#
# TuyaOS elec application configuration
#
CONFIG_ENABLE_ELEC_CHILD_LOCK=y
CONFIG_ELEC_CHILD_LOCK_DPID=41
CONFIG_ELEC_CHILD_LOCK_AUTO_LOCK_ENABLE=y
CONFIG_ELEC_CHILD_LOCK_AUTO_LOCK_TIME_MS=5000
#
# elec channel configuration
#
CONFIG_ELEC_CHANNEL_POWER_ON_MODE=0
CONFIG_ELEC_CHANNEL_POWER_ON_DPID=38
CONFIG_ELEC_CHANNEL_NUM=1
CONFIG_ENABLE_ELEC_CHANNEL_1=y
CONFIG_ELEC_CHANNEL_1_SWITCH_DPID=1
CONFIG_ELEC_CHANNEL_1_RELAY_NAME="relay_1"
CONFIG_ELEC_CHANNEL_1_RELAY_TYPE=0
CONFIG_ELEC_CHANNEL_1_RELAY_PIN=6 //电流电压检测
CONFIG_ELEC_CHANNEL_1_RELAY_PIN_MODE=4
CONFIG_ELEC_CHANNEL_1_RELAY_LEVEL=1
# CONFIG_ENABLE_ELEC_CHANNEL_1_LED is not set
# end of elec channel configuration
#
# elec button configuration
#
CONFIG_ELEC_BUTTON_NUM=1
CONFIG_ENABLE_ELEC_BUTTON_0=y
CONFIG_ELEC_BUTTON_0_NAME="button_0"
CONFIG_ELEC_BUTTON_0_PIN=26 //继电器P26
CONFIG_ELEC_BUTTON_0_ACTIVE_LEVEL=0
CONFIG_ELEC_BUTTON_0_DEBOUNCE_MS=50
CONFIG_ELEC_BUTTON_0_LONG_START_MS=3000
CONFIG_ELEC_BUTTON_0_LONG_KEEP_MS=1000
CONFIG_ELEC_BUTTON_0_REPEAT_COUNT=4
CONFIG_ELEC_BUTTON_0_REPEAT_MS=500
CONFIG_ELEC_BUTTON_0_SINGLE_CLICK=1
CONFIG_ELEC_BUTTON_0_DOUBLE_CLICK=0
CONFIG_ELEC_BUTTON_0_LONG_PRESS=10
CONFIG_ELEC_BUTTON_0_REPEAT_CLICK=11
# end of elec button configuration
#
# elec led indicate configuration
#
CONFIG_ENABLE_ELEC_NET_INDICATOR_MUX_MODE=y
CONFIG_ELEC_NET_LED_NAME="net_led"
CONFIG_ELEC_NET_LED_PIN=8 //网络指示灯
CONFIG_ELEC_NET_LED_LEVEL=1
CONFIG_ELEC_NET_LED_PIN_MODE=4
CONFIG_ELEC_NET_LED_AP_FLASH_MS=1500
CONFIG_ELEC_NET_LED_EZ_FLASH_MS=250
CONFIG_ENABLE_POWER_INDICATOR=y
CONFIG_ELEC_LIGHT_MODE_DPID=40
CONFIG_ELEC_LIGHT_MODE=0
CONFIG_ELEC_POWER_LED_NAME="pow_led"
# end of elec led indicate configuration
CONFIG_ENERGY_MONITOR_ENABLE=y
CONFIG_ENABLE_ENERGY_OVERCHARGE=y
CONFIG_ENERGY_METER_OVERCHARGE_DPID=39
CONFIG_OVERCHARGE_POWER_THRESHOLD=3
CONFIG_OVERCHARGE_DURATION_MINS=40
CONFIG_ENABLE_ENERGY_FAULT=y
CONFIG_ENERGY_METER_FAULT_DPID=26
CONFIG_ENERGY_METER_FAULT_OVER_CURRENT=0
CONFIG_ENERGY_METER_FAULT_OVER_VOLTAGE=0
CONFIG_ENERGY_METER_FAULT_LESS_VOLTAGE=0
CONFIG_PRODUCT_TEST_ENERGY_MONITOR=y
#
# elec factory production test configuration
#
CONFIG_ENERGY_MONITOR_CAL_ERR_PERCENT=50
CONFIG_ENERGY_MONITOR_CAL_VOLTAGE=2200
CONFIG_ENERGY_MONITOR_CAL_CURRENT=392
CONFIG_ENERGY_MONITOR_CAL_POWER=864
CONFIG_ENERGY_MONITOR_SAMPLE_RESISTOR=1
CONFIG_ENERGY_MONITOR_NAME="energy_monitor"
#
# energy monitor chip configuration
#
# CONFIG_ENERGY_MONITOR_CHIP_HLW8012 is not set
# CONFIG_ENERGY_MONITOR_CHIP_HLW8032 is not set
CONFIG_ENERGY_MONITOR_CHIP_BL0937=y //贝岭bl0937
# CONFIG_ENERGY_MONITOR_CHIP_BL0942 is not set
CONFIG_ENERGY_MONITOR_TIMER_ID=0
CONFIG_ENERGY_MONITOR_SEL_PIN=20
CONFIG_ENERGY_MONITOR_SEL_LEVEL=1
CONFIG_ENERGY_MONITOR_CF1_PIN=8
CONFIG_ENERGY_MONITOR_CF_PIN=7//电量统计
# end of energy monitor chip configuration
CONFIG_ENERGY_MONITOR_ADD_ELE_DPID=17
CONFIG_ENERGY_MONITOR_CUR_CURRENT_DPID=18
CONFIG_ENERGY_MONITOR_CUR_POWER_DPID=19
CONFIG_ENERGY_MONITOR_CUR_VOLTAGE_DPID=20
CONFIG_ENERGY_MONITOR_TEST_RESULT_DPID=21
CONFIG_ENERGY_MONITOR_COE_VOLTAGE_DPID=22
CONFIG_ENERGY_MONITOR_COE_CURRENT_DPID=23
CONFIG_ENERGY_MONITOR_COE_POWER_DPID=24
CONFIG_ENERGY_MONITOR_COE_ENERGY_DPID=25
#
# elec timer configuration
#
CONFIG_ENABLE_ELEC_DELAY_OFF_TIMER=y
CONFIG_ELEC_DELAY_OFF_DPID=44
CONFIG_ENABLE_ELEC_CYCLE_TIMER=y
CONFIG_ELEC_CYCLE_TIMER_DPID=42
CONFIG_ENABLE_ELEC_RANDOM_TIMER=y
CONFIG_ELEC_RANDOM_TIMER_DPID=43
CONFIG_ENABLE_ELEC_COUNTDOWN_TIMER=y
CONFIG_ELEC_COUNTDOWN_TIMER_NUM=1
CONFIG_ELEC_COUNTDOWN_TM_1_DPID=9
# end of elec timer configuration
# end of TuyaOS elec application configuration
# CONFIG_TY_CATEGORY_TP_LIGHT is not set
CONFIG_TY_CATEGORY_TP_ELE=y
# CONFIG_TY_CATEGORY_TP_COMM_PROT is not set
# CONFIG_TY_CATEGORY_TP_SENSOR is not set
# CONFIG_TY_CATEGORY_TP_LOCK is not set
# CONFIG_TY_CATEGORY_TP_APPLIANCE is not set
# CONFIG_TY_CATEGORY_TP_REMOTE is not set
CONFIG_ENABLE_TY_SOC_DEV=y
CONFIG_TY_FIRMWARE_KEY="keykespntekm3dsj"
# CONFIG_ENABLE_TY_FIRMWARE_OEM is not set
# CONFIG_ENABLE_TY_MATTER is not set
CONFIG_TY_PRODUCT_ID="3y7vno9hmmxnkeqe"
CONFIG_TY_NET_CFG_TIME=3
CONFIG_TY_WIFI_CFG_MTHD=2
CONFIG_TY_WIFI_START_MODE=3
CONFIG_ENABLE_MF_TEST_STATUS=y
CONFIG_ENABLE_PRODUCT_TEST_SCAN_WIFI=y
# CONFIG_ENABLE_PRODUCT_TEST_MF is not set
# CONFIG_ENABLE_TY_INFORM_OTA_REQ is not set
CONFIG_ENABLE_TY_PROD_INIT_NORMAL_PROCESS=y
#
# TuyaOS elec application configuration
#
CONFIG_ENABLE_ELEC_CHILD_LOCK=y
CONFIG_ELEC_CHILD_LOCK_DPID=41
CONFIG_ELEC_CHILD_LOCK_AUTO_LOCK_ENABLE=y
CONFIG_ELEC_CHILD_LOCK_AUTO_LOCK_TIME_MS=5000
#
# elec channel configuration
#
CONFIG_ELEC_CHANNEL_POWER_ON_MODE=0
CONFIG_ELEC_CHANNEL_POWER_ON_DPID=38
CONFIG_ELEC_CHANNEL_NUM=1
CONFIG_ENABLE_ELEC_CHANNEL_1=y
CONFIG_ELEC_CHANNEL_1_SWITCH_DPID=1
CONFIG_ELEC_CHANNEL_1_RELAY_NAME="relay_1"
CONFIG_ELEC_CHANNEL_1_RELAY_TYPE=0
CONFIG_ELEC_CHANNEL_1_RELAY_PIN=26
CONFIG_ELEC_CHANNEL_1_RELAY_PIN_MODE=4
CONFIG_ELEC_CHANNEL_1_RELAY_LEVEL=1
CONFIG_ENABLE_ELEC_CHANNEL_1_LED=y
CONFIG_ELEC_CHANNEL_1_LED_NAME="led_1"
CONFIG_ELEC_CHANNEL_1_LED_PIN=23
CONFIG_ELEC_CHANNEL_1_LED_MODE=4
CONFIG_ELEC_CHANNEL_1_LED_LEVEL=1
# end of elec channel configuration
#
# elec button configuration
#
CONFIG_ELEC_BUTTON_NUM=1
CONFIG_ENABLE_ELEC_BUTTON_0=y
CONFIG_ELEC_BUTTON_0_NAME="button_0"
CONFIG_ELEC_BUTTON_0_PIN=10
CONFIG_ELEC_BUTTON_0_ACTIVE_LEVEL=0
CONFIG_ELEC_BUTTON_0_DEBOUNCE_MS=50
CONFIG_ELEC_BUTTON_0_LONG_START_MS=5000
CONFIG_ELEC_BUTTON_0_LONG_KEEP_MS=1000
CONFIG_ELEC_BUTTON_0_REPEAT_COUNT=4
CONFIG_ELEC_BUTTON_0_REPEAT_MS=500
CONFIG_ELEC_BUTTON_0_SINGLE_CLICK=1
CONFIG_ELEC_BUTTON_0_DOUBLE_CLICK=0
CONFIG_ELEC_BUTTON_0_LONG_PRESS=10
CONFIG_ELEC_BUTTON_0_REPEAT_CLICK=11
# end of elec button configuration
#
# elec led indicate configuration
#
CONFIG_ENABLE_ELEC_NET_INDICATOR_MUX_MODE=y
CONFIG_ELEC_NET_LED_NAME="net_led"
CONFIG_ELEC_NET_LED_PIN=8
CONFIG_ELEC_NET_LED_LEVEL=0
CONFIG_ELEC_NET_LED_PIN_MODE=4
CONFIG_ELEC_NET_LED_AP_FLASH_MS=1500
CONFIG_ELEC_NET_LED_EZ_FLASH_MS=250
CONFIG_ENABLE_POWER_INDICATOR=y
CONFIG_ELEC_LIGHT_MODE_DPID=40
CONFIG_ELEC_LIGHT_MODE=0
CONFIG_ELEC_POWER_LED_NAME="pow_led"
# end of elec led indicate configuration
CONFIG_ENERGY_MONITOR_ENABLE=y
CONFIG_ENABLE_ENERGY_OVERCHARGE=y
CONFIG_ENERGY_METER_OVERCHARGE_DPID=39
CONFIG_OVERCHARGE_POWER_THRESHOLD=3
CONFIG_OVERCHARGE_DURATION_MINS=40
CONFIG_ENABLE_ENERGY_FAULT=y
CONFIG_ENERGY_METER_FAULT_DPID=26
CONFIG_ENERGY_METER_FAULT_OVER_CURRENT=0
CONFIG_ENERGY_METER_FAULT_OVER_VOLTAGE=0
CONFIG_ENERGY_METER_FAULT_LESS_VOLTAGE=0
CONFIG_PRODUCT_TEST_ENERGY_MONITOR=y
#
# elec factory production test configuration
#
CONFIG_ENERGY_MONITOR_CAL_ERR_PERCENT=50
CONFIG_ENERGY_MONITOR_CAL_VOLTAGE=2200
CONFIG_ENERGY_MONITOR_CAL_CURRENT=392
CONFIG_ENERGY_MONITOR_CAL_POWER=864
CONFIG_ENERGY_MONITOR_SAMPLE_RESISTOR=1
CONFIG_ENERGY_MONITOR_NAME="energy_monitor"
#
# energy monitor chip configuration
#
# CONFIG_ENERGY_MONITOR_CHIP_HLW8012 is not set
# CONFIG_ENERGY_MONITOR_CHIP_HLW8032 is not set
CONFIG_ENERGY_MONITOR_CHIP_BL0937=y
# CONFIG_ENERGY_MONITOR_CHIP_BL0942 is not set
CONFIG_ENERGY_MONITOR_TIMER_ID=0
CONFIG_ENERGY_MONITOR_SEL_PIN=24
CONFIG_ENERGY_MONITOR_SEL_LEVEL=1
CONFIG_ENERGY_MONITOR_CF1_PIN=8
CONFIG_ENERGY_MONITOR_CF_PIN=7
# end of energy monitor chip configuration
CONFIG_ENERGY_MONITOR_ADD_ELE_DPID=17
CONFIG_ENERGY_MONITOR_CUR_CURRENT_DPID=18
CONFIG_ENERGY_MONITOR_CUR_POWER_DPID=19
CONFIG_ENERGY_MONITOR_CUR_VOLTAGE_DPID=20
CONFIG_ENERGY_MONITOR_TEST_RESULT_DPID=21
CONFIG_ENERGY_MONITOR_COE_VOLTAGE_DPID=22
CONFIG_ENERGY_MONITOR_COE_CURRENT_DPID=23
CONFIG_ENERGY_MONITOR_COE_POWER_DPID=24
CONFIG_ENERGY_MONITOR_COE_ENERGY_DPID=25
#
# elec timer configuration
#
CONFIG_ENABLE_ELEC_DELAY_OFF_TIMER=y
CONFIG_ELEC_DELAY_OFF_DPID=44
CONFIG_ENABLE_ELEC_CYCLE_TIMER=y
CONFIG_ELEC_CYCLE_TIMER_DPID=42
CONFIG_ENABLE_ELEC_RANDOM_TIMER=y
CONFIG_ELEC_RANDOM_TIMER_DPID=43
CONFIG_ENABLE_ELEC_COUNTDOWN_TIMER=y
CONFIG_ELEC_COUNTDOWN_TIMER_NUM=1
CONFIG_ELEC_COUNTDOWN_TM_1_DPID=9
# end of elec timer configuration
# end of TuyaOS elec application configuration
我是通过/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS -> 输入
make app_menuconfig 命令开始图形化配置
但我无法通过/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS/apps/tuyaos_wf_bk7231n_elp-tuyaos_wf_bk7231n_elp_plug -> 输入
make app_menuconfig 会出现
make: *** No rule to make target 'app_menuconfig'. Stop.
我是通过/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS -> 输入
make app_menuconfig 命令开始图形化配置
但我无法通过/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS/apps/tuyaos_wf_bk7231n_elp-tuyaos_wf_bk7231n_elp_plug -> 输入
make app_menuconfig 会出现
make: *** No rule to make target 'app_menuconfig'. Stop.
但我无法通过/home/david/Documents/tuya/Projects/BK7231N_TuyaOS-3.3.4/software/TuyaOS/apps/tuyaos_wf_bk7231n_elp-tuyaos_wf_bk7231n_elp_plug -> 输入
make app_menuconfig 会出现
make: *** No rule to make target 'app_menuconfig'. Stop.
这个问题可能是因为编译的应用名称不对导致的。