self.SENSOR_time = time_tmp#防止改变时间的时候正在开启测量突然10s就停止测量
if self.get_hr_state == 2 and self.HR_state == 1:#自动检测的心率还在测量立马关了测试
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)
print("stop debug2")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
print("heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
print("stop debug4")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish("set_old_hr_data",heart_value)
print("stop debug5")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
print("stop_heart heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
print("stop debug7")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
#print("heart WEAR:{}".format(WEAR))
# print("self.heart_value:{}".format(self.heart_value))
if self.point >= 2:
- if self.heart_value < 40:
+ if self.heart_value < 50:
self.heart_value = 0
if self.heart_value != 0:
heartrate_bpm_label.set_text("{} bpm".format(self.heart_value))
else :
heartrate_start_label.set_text("测量结束,点击重测")
- if self.heart_value > 50:
+ if self.heart_value >= 50:
EventMesh.publish("set_old_hr_data",self.heart_value)
EventMesh.publish("set_history_hr_value",self.heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,self.heart_value)
heartrate_reset_btn_img.clear_flag(lv.obj.FLAG.HIDDEN)
- if self.heart_value != 0:
+ if self.heart_value >= 50:
heartrate_bpm_label.set_text("{} bpm".format(self.heart_value))
# heartrate_done_label.set_text("测量完成")
else:
EventMesh.publish(constants.EVENT.STOP_HEART)
if WEAR == 1:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
if self.get_spo2_state > 1:
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.debug_log("STOP_HEART:3")
else:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
# heart_value = 60+urandom.randint(0,10)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
#获取心率数据上传数据app
EventMesh.debug_log("STOP_HEART:")
EventMesh.debug_log("stop debug8")
if WEAR == 1:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish(constants.EVENT.STOP_HEART)
elif get_spo2_state > 1:
EventMesh.debug_log("stop debug7")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("play_hr_value",heart_value)
# EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish(constants.EVENT.STOP_HEART)
if WEAR == 1:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
if self.get_spo2_state > 1:
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.debug_log("STOP_HEART:3")
else:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
# heart_value = 60+urandom.randint(0,10)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
#获取心率数据上传数据app
EventMesh.debug_log("STOP_HEART:")
EventMesh.debug_log("stop debug8")
if WEAR == 1:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish(constants.EVENT.STOP_HEART)
elif get_spo2_state > 1:
EventMesh.debug_log("stop debug7")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("play_hr_value",heart_value)
# EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
self.SENSOR_time = time_tmp#防止改变时间的时候正在开启测量突然10s就停止测量
if self.get_hr_state == 2 and self.HR_state == 1:#自动检测的心率还在测量立马关了测试
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)
print("stop debug2")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
print("heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
print("stop debug4")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish("set_old_hr_data",heart_value)
print("stop debug5")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
print("stop_heart heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
print("stop debug7")
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
echo "ext_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
)
-..\..\Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c usr -b 4096 -r 4096 -p 4096 -s 180224 -i .\images\customer_fs.bin
+..\..\Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c usr -b 4096 -r 4096 -p 4096 -s 716800 -i .\images\customer_fs.bin
if errorlevel 1 (
echo "customer_fs.binÉú³Éʧ°Ü Çë¼ì²éusrĿ¼ÊÇ·ñ´óÓÚ316K!!!!!!!!!!!!!!!"
goto exit
copy font\ext_font.bin images\ext_font.bin
-..\..\Helios_SDK\tools\common\win32\7z\7z a sdk\system\platform\ASR_1606\boards\EG810MCN_GA_ALIPAY\images\firmware_base_release_pack.zip .\images\
+..\..\Helios_SDK\tools\common\win32\7z\7z a sdk\system\platform\ASR_1606\boards\EG810MCN_GA_VOLTE\images\firmware_base_release_pack.zip .\images\
if errorlevel 0 (
echo imagesѹËõ³É¹¦!!!!!!!!!!!!!!
)
)
xcopy sdk\ ..\..\Helios_SDK\ /e/h/y
cd ..\..\Helios_SDK
-helios make services/microPython @EG810MCN_GA_ALIPAY EG810MCN_GA_ALIPAY
+helios make services/microPython @EG810MCN_GA_VOLTE EG810MCN_GA_VOLTE
cd ..
:exit
\ No newline at end of file
source/modHsensor.c \
source/modHsensor_GH3018.c \
source/modHsensor_HX3918.c \
+ source/modgpio_encoder.c \
source/modrsa.c \
source/utils_crc32.c \
source/http_parser.c \
import modem
import sim
import osTimer
-import ALIPAY
+# import ALIPAY
from common import Lock, Abstract, LogAdapter
import utime
import lvgl as lv
from ui import style_screen,style_font_youyuan_20,style_btn,style_img,Screen,style_contact_btn
import audio
import utime
-import ALIPAY
+# import ALIPAY
import usys
from misc import Power
factorymode_cont_y = 0
EventMesh.publish(constants.EVENT.STOP_HEART)
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
EventMesh.debug_log("heart_value:{}".format(heart_value))
# heart_value = 60+urandom.randint(0,10)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
EventMesh.debug_log("stop debug8")
if WEAR == 1:
heart_value = EventMesh.publish(constants.EVENT.GET_HEART)
- if heart_value > 50 and heart_value != None:
+ if heart_value >= 50 and heart_value != None:
EventMesh.publish("set_old_hr_data",heart_value)
EventMesh.publish("set_history_hr_value",heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,heart_value)#上传心率数据
#print("heart WEAR:{}".format(WEAR))
# print("self.heart_value:{}".format(self.heart_value))
if self.point >= 2:
- if self.heart_value < 40:
+ if self.heart_value < 50:
self.heart_value = 0
if self.heart_value != 0:
heartrate_bpm_label.set_text("{} bpm".format(self.heart_value))
else :
heartrate_start_label.set_text("测量结束,点击重测")
- if self.heart_value > 50:
+ if self.heart_value >= 50:
EventMesh.publish("set_old_hr_data",self.heart_value)
EventMesh.publish("set_history_hr_value",self.heart_value)
EventMesh.publish(constants.PROTOCOL.HEART_SEND,self.heart_value)
heartrate_reset_btn_img.clear_flag(lv.obj.FLAG.HIDDEN)
- if self.heart_value != 0:
+ if self.heart_value >= 50:
heartrate_bpm_label.set_text("{} bpm".format(self.heart_value))
# heartrate_done_label.set_text("测量完成")
else:
Version="V1.0"
-Build_Time="2024-01-18 19:27:45"
+Build_Time="2024-02-01 18:17:58"
+++ /dev/null
-# Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-NAME := EG810MCN_GA_ALIPAY
-
-GLOBAL_INCS = include
-
-$(NAME)_ARCHIVES = \
- libraries/libHeliosAPI.lib \
- libraries/ql_common_api.lib
-
+++ /dev/null
-/*
- *
- * Automatically generated file; DO NOT EDIT.
- * Helios SDK Configuration
- *
- */
-#define PROJECT_NAME_G5_K5 1
-#define CONFIG_LVGL_SPAN 1
-#define CONFIG_LVGL_FS_HELIOS 1
-#define CONFIG_LVGL_GIF_DECODE 1
-#define CONFIG_LVGL_SPINNER 1
-#define CONFIG_LCD 1
-#define CONFIG_LVGL_ANIMIMG 1
-#define CONFIG_LVGL_KEYBOARD 1
-#define CONFIG_LVGL_CALENDAR 1
-#define CONFIG_LVGL_LED 1
-#define CONFIG_VIOCE_CALL 1
-#define CONFIG_LVGL_FS_EXTFLASH_HELIOS 1
-#define CONFIG_LVGL_TABVIEW 1
-#define CONFIG_LVGL_LINE 1
-#define CONFIG_LVGL 1
-#define CONFIG_LVGL_CHART 1
-#define CONFIG_LVGL_LIST 1
-#define CONFIG_LVGL_MSGBOX 1
-#define CONFIG_LVGL_ARC 1
-#define CONFIG_LVGL_METER 1
-#define CONFIG_LVGL_JPG_DECODE 1
-#define CONFIG_LVGL_PNG_DECODE 1
-#define CONFIG_LVGL_IMGBTN 1
-//#define CONFIG_GH301x 1
-#define CONFIG_HX3918 1
-#define CONFIG_MBEDTLS 1
-#define CONFIG_SC7A20 1
-#define CONFIG_LVGL_WIN 1
-#define CONFIG_LVGL_COLORWHEEL 1
-#define CONFIG_LVGL_CANVAS 1
-#define CONFIG_LVGL_SPINBOX 1
-#define CONFIG_LVGL_QRCODE 1
-#define CONFIG_LVGL_TILEVIEW 1
-#define CONFIG_LVGL_HANDLER_TASK_PRIORITY 80
+++ /dev/null
-
-mainmenu "Helios SDK Configuration"
-
-menu "System Configuration"
-source "../system/config.in"
-endmenu
-
-menu "EG810MCN_GA_ALIPAY"
-source "../services/microPython/config/config.in"
-source "../components/poc/poc_option.in"
-source "../components/GH301x/GH301x_option.in"
-source "../components/HX3918/HX3918_option.in"
-source "../components/SC7A20/SC7A20_option.in"
-
-endmenu
-
+++ /dev/null
-#
-# Automatically generated file; DO NOT EDIT.
-# Helios SDK Configuration
-#
-PROJECT_NAME_G5_K5=y
-#
-# System Configuration
-#
-CONFIG_MBEDTLS=y
-
-#
-# EG810MCN_GA_ALIPAY
-#
-CONFIG_LVGL=y
-
-#
-# lvgl option
-#
-CONFIG_LVGL_PNG_DECODE=y
-# CONFIG_LVGL_GIF_DECODE is not set
-CONFIG_LVGL_JPG_DECODE=y
-CONFIG_LVGL_FS_HELIOS=y
-# CONFIG_LVGL_FS_SD_HELIOS is not set
-CONFIG_LVGL_FS_EXTFLASH_HELIOS=y
-# CONFIG_LVGL_CUSTOMER_FONT_SUPPORT is not set
-CONFIG_LVGL_QRCODE=y
-# CONFIG_LVGL_FONT is not set
-# CONFIG_LVGL_ARC is not set
-CONFIG_LVGL_IMGBTN=y
-CONFIG_LVGL_LINE=y
-CONFIG_LVGL_LIST=y
-# CONFIG_LVGL_CHART is not set
-# CONFIG_LVGL_LED is not set
-CONFIG_LVGL_CANVAS=y
-CONFIG_LVGL_WIN=y
-# CONFIG_LVGL_TABVIEW is not set
-CONFIG_LVGL_TILEVIEW=y
-CONFIG_LVGL_MSGBOX=y
-# CONFIG_LVGL_METER is not set
-# CONFIG_LVGL_CALENDAR is not set
-# CONFIG_LVGL_SPINNER is not set
-# CONFIG_LVGL_SPINBOX is not set
-# CONFIG_LVGL_ANIMIMG is not set
-# CONFIG_LVGL_COLORWHEEL is not set
-CONFIG_LVGL_KEYBOARD=y
-CONFIG_LVGL_SPAN=y
-CONFIG_LVGL_HANDLER_TASK_PRIORITY=80
-# CONFIG_QRCODE is not set
-# CONFIG_CAMERA is not set
-# CONFIG_QUECTHING is not set
-# CONFIG_SPINAND is not set
-# CONFIG_RTMP is not set
-# CONFIG_JPEG is not set
-# CONFIG_SPI_SDCARD is not set
-CONFIG_VIOCE_CALL=y
-# CONFIG_TTS is not set
-CONFIG_LCD=y
-# CONFIG_UART_SLIP is not set
-# CONFIG_POC is not set
-#CONFIG_GH301x=y
-CONFIG_HX3918=y
-CONFIG_SC7A20=y
+++ /dev/null
-/*
- * Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __MPCONFIGBOARD_H__
-#define __MPCONFIGBOARD_H__
-
-#define MICROPY_QPY_MODULE_ATCMD (1)
-#define MICROPY_QPY_MODULE_UOS (1)
-#define MICROPY_QPY_MODULE_MACHINE (1)
-#define MICROPY_QPY_MODULE_USOCKET (1)
-#define MICROPY_QPY_MODULE_MISC (1)
-#define MICROPY_QPY_MODULE_OSTIMER (1)
-#define MICROPY_QPY_MODULE_EXAMPLE (1)
-#define MICROPY_QPY_MODULE_DATACALL (1)
-#define MICROPY_QPY_MODULE_MODEM (1)
-#define MICROPY_QPY_MODULE_UTIME (1)
-#define MICROPY_QPY_MODULE_UTILS (1)
-#define MICROPY_QPY_MODULE_HMACSHA1 (1)
-#define MICROPY_QPY_MODULE_SMS (1)
-#define MICROPY_QPY_MODULE_SIM (1)
-#define MICROPY_QPY_MODULE_DUALSIM (1)
-#define MICROPY_QPY_MODULE_LPM (1)
-#define MICROPY_QPY_MODULE_NET (1)
-#define MICROPY_QPY_MODULE_CELLLOCATOR (0)
-#define MICROPY_QPY_MODULE_CELLLOCATOR_QPY (1)
-#define MICROPY_QPY_MODULE_AUDIO (1)
-#define MICROPY_QPY_MODULE_FOTA (1)
-#define MICROPY_QPY_MODULE_WIFISCAN (1)
-#define MICROPY_QPY_MODULE_QUECGNSS (1)
-#define MICROPY_QPY_MODULE_WIFILOCATOR (1)
-#define MICROPY_QPY_MODULE_ETHERNET (0)
-#define MICROPY_QPY_MODULE_SENSOR (1)
-#define MICROPY_QPY_MODULE_SECUREDATA (1)
-#define MICROPY_QPY_MODULE_SLIP (0)
-#define MICROPY_QPY_MODULE_TP (1)
-#define MICROPY_QPY_MODULE_AUDIOCODEC (0)
-#define MICROPY_QPY_MODULE_CSD (0)
-#define MICROPY_QPY_MODULE_LWM2M (0)
-#define MICROPY_QPY_MODULE_NB (0)
-#define MICROPY_QPY_MODULE_UHASHLIB (1)
-#define MICROPY_QPY_MODULE_UCRYPTOLIB (1)
-#define MICROPY_QPY_MODULE_ALIPAY (1)
-#define MICROPY_QPY_MODULE_VFS_THREADSAFE (1)
-
-#if CONFIG_MBEDTLS
- #define MICROPY_QPY_MODULE_USSL (1)
- #define MICROPY_QPY_SSL_MBEDTLS (1)
-#endif
-
-#if CONFIG_QUECTHING
- #define MICROPY_QPY_MODULE_QUECIOT (1)
-#else
- #define MICROPY_QPY_MODULE_QUECIOT (0)
-#endif
-
-#if CONFIG_LVGL
- #define MICROPY_QPY_MODULE_LVGL (1)
-#else
- #define MICROPY_QPY_MODULE_LVGL (0)
-#endif
-
-#if CONFIG_CAMERA
- #define MICROPY_QPY_MODULE_CAMERA (1)
-#else
- #define MICROPY_QPY_MODULE_CAMERA (0)
-#endif
-
-#if CONFIG_RTMP
- #define MICROPY_QPY_MODULE_RTMP (1)
-#else
- #define MICROPY_QPY_MODULE_RTMP (0)
-#endif
-#if CONFIG_VIOCE_CALL
- #define MICROPY_QPY_MODULE_VIOCE_CALL (1)
-#else
- #define MICROPY_QPY_MODULE_VIOCE_CALL (0)
-#endif
-
-#if CONFIG_POC
- #define MICROPY_QPY_MODULE_POC (1)
-#else
- #define MICROPY_QPY_MODULE_POC (0)
-#endif
-#if CONFIG_QRCODE
- #define MICROPY_QPY_MODULE_QRCODE (1)
-#else
- #define MICROPY_QPY_MODULE_QRCODE (0)
-#endif
-
-#ifdef CONFIG_QUEC_PROJECT_FEATURE_BLE_GATT
- #define MICROPY_QPY_MODULE_BLE (1)
-#else
- #define MICROPY_QPY_MODULE_BLE (0)
-#endif
-
-#ifdef CONFIG_QUEC_PROJECT_FEATURE_CLASSIC_BT
- #define MICROPY_QPY_MODULE_BT (1)
-#else
- #define MICROPY_QPY_MODULE_BT (0)
-#endif
-
-
-//modmachine
-#if MICROPY_QPY_MODULE_MACHINE
- #define MICROPY_QPY_MACHINE_TIMER (1)
- #define MICROPY_QPY_MACHINE_RTC (1)
- #define MICROPY_QPY_MACHINE_WDT (1)
- #define MICROPY_QPY_MACHINE_PIN (1)
- #define MICROPY_QPY_MACHINE_EXTINT (1)
- #define MICROPY_QPY_MACHINE_UART (1)
- #define MICROPY_QPY_MACHINE_SPI (1)
- #define MICROPY_QPY_MACHINE_I2C (1)
- #define MICROPY_QPY_MACHINE_I2C_SOFT (1)
- #ifdef CONFIG_LCD
- #define MICROPY_QPY_MACHINE_LCD (1)
-#else
- #define MICROPY_QPY_MACHINE_LCD (0)
-#endif
- #define MICROPY_QPY_MACHINE_KEYPAD (1)
- #ifdef CONFIG_SPINAND
- #define MICROPY_QPY_MACHINE_NANDFLASH (1)
- #else
- #define MICROPY_QPY_MACHINE_NANDFLASH (0)
- #endif
-
-#if MICROPY_QPY_MACHINE_UART
- #define MICROPY_QPY_UART4 (1)
-#endif
-
-#endif
-
-#if MICROPY_QPY_MODULE_MISC
- #define MICROPY_QPY_MISC_POWER (1)
- #define MICROPY_QPY_MISC_ADC (1)
- #define MICROPY_QPY_MISC_POWERKEY (1)
- #define MICROPY_QPY_MISC_TEMPERATURE (0)
- #define MICROPY_QPY_MISC_PWM (1)
- #define MICROPY_QPY_MISC_USB (1)
- #define MICROPY_QPY_MISC_USBNET (1)
-#endif
-
-#if MICROPY_QPY_MODULE_AUDIO
- #define MICROPY_QPY_AUDIO_AUDIO (1)
- #if CONFIG_TTS
- #define MICROPY_QPY_AUDIO_TTS (1)
- #else
- #define MICROPY_QPY_AUDIO_TTS (0)
- #endif
- #define MICROPY_QPY_AUDIO_RECORD (1)
-#endif
-
-#if MICROPY_QPY_MODULE_ETHERNET
- #define MICROPY_QPY_ETHERNET_DM9051 (0)
- #define MICROPY_QPY_ETHERNET_W5500 (0)
-#endif
-
-#if MICROPY_QPY_MODULE_TP
- #define MICROPY_QPY_TP_XPT2046 (0)
- #define MICROPY_QPY_TP_GT9XX (0)
- #define MICROPY_QPY_TP_CST816 (1)
-#endif
-
-#if MICROPY_QPY_MODULE_AUDIOCODEC
- #define MICROPY_QPY_AUDIOCODEC_RT5616 (0)
-#endif
-
-#if MICROPY_QPY_MODULE_SENSOR
- #define MICROPY_QPY_SENSOR_SN95500 (0)
- #define MICROPY_QPY_SENSOR_ICC_KEY (0)
- #define MICROPY_QPY_SENSOR_GNSS (1)
-#endif
-
-#if MICROPY_QPY_MODULE_CAMERA
- #define MICROPY_QPY_CAMERA_CAMPREVIEW (1)
- #if CONFIG_CAMERA_SAVEPHOTOS
- #define MICROPY_QPY_CAMERA_CAMCAPTURE (1)
- #else
- #define MICROPY_QPY_CAMERA_CAMCAPTURE (0)
- #endif
- #ifdef CONFIG_CAMERA_DECODE
- #define MICROPY_QPY_CAMERA_CAMSCANDECODE (1)
- #else
- #define MICROPY_QPY_CAMERA_CAMSCANDECODE (0)
- #endif
-#endif
-
-#define MICROPY_QPY_DEVICE_REPORT (1)
-
-/***********************micropython opts*******************************/
-#define MICROPY_QPY_DEBUG_PRINTERS (0) //flash 4160 Byte
-#define MICROPY_QPY_PY_MATH (1) //flash 14880 Byte
-#define MICROPY_QPY_PY_CMATH (0) //flash 3136 Byte
-#define MICROPY_QPY_PY_USELECT (0) //flash 1792 Byte
-#define MICROPY_QPY_PY_UCTYPES (0) //flash 2816 Byte
-#define MICROPY_QPY_PY_UZLIB (0) //flash 3072 Byte
-#define MICROPY_QPY_PY_UASYNCIO (0) //flash 2048 Byte
-#define MICROPY_QPY_PY_ENABLE_WEBSERVER (0) //flash 3424 Byte
-#define MICROPY_QPY_PERSISTENT_CODE_LOAD (1) //flash 2048 Byte
-#define MICROPY_QPY_EMIT_XTENSAWIN (0) //flash 19776 Byte
-#define MICROPY_QPY_MODULE_VFS_THREADSAFE (1)
-#define MICROPY_QPY_GC_HEAP_SIZE (1000 * 1024)
-#endif
\ No newline at end of file
+++ /dev/null
-#ifndef __APP_LINK_START_ADDR_H__
-#define __APP_LINK_START_ADDR_H__
-
-#define APP_LINK_START_ADDR 0x805D5000
-#define APP_FLASH_MAX_SIZE 0x190000
-
-#define APP_RAM_START 0x7E3E0000
-#define APP_RAM_MAX_SIZE 0x150000
-
-#endif