From: 侯雨晴 <821478748@qq.com> Date: Thu, 26 Mar 2026 07:01:20 +0000 (+0800) Subject: Revert "修改编译pystack,删掉基站定位功能 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=63087426c6328e9c7b1c0cde526882d5e81d09ec;p=mirrors%2FASR1603_G5.git Revert "修改编译pystack,删掉基站定位功能 " --- diff --git a/2.sdk/Helios_SDK/services/microPython/py/pystack.h b/2.sdk/Helios_SDK/services/microPython/py/pystack.h index 976806aa..16b9d810 100644 --- a/2.sdk/Helios_SDK/services/microPython/py/pystack.h +++ b/2.sdk/Helios_SDK/services/microPython/py/pystack.h @@ -87,7 +87,6 @@ static inline void *mp_nonlocal_alloc(size_t n_bytes) { } static inline void *mp_nonlocal_realloc(void *ptr, size_t old_n_bytes, size_t new_n_bytes) { - (void)old_n_bytes; return m_renew(uint8_t, ptr, old_n_bytes, new_n_bytes); } diff --git a/2.sdk/project/7PIN_1_5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_VOLTE/config/mpconfigboard.h b/2.sdk/project/7PIN_1_5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_VOLTE/config/mpconfigboard.h index 5d5ea60e..ea734f6d 100644 --- a/2.sdk/project/7PIN_1_5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_VOLTE/config/mpconfigboard.h +++ b/2.sdk/project/7PIN_1_5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_VOLTE/config/mpconfigboard.h @@ -35,7 +35,7 @@ #define MICROPY_QPY_MODULE_LPM (1) #define MICROPY_QPY_MODULE_NET (1) #define MICROPY_QPY_MODULE_CELLLOCATOR (0) -#define MICROPY_QPY_MODULE_CELLLOCATOR_QPY (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) @@ -54,7 +54,7 @@ #define MICROPY_QPY_MODULE_UCRYPTOLIB (1) #define MICROPY_QPY_MODULE_ALIPAY (0) #define MICROPY_QPY_MODULE_VFS_THREADSAFE (1) -#define MICROPY_QPY_CAMERA_LVGL_PREVIEW (0) +#define MICROPY_QPY_CAMERA_LVGL_PREVIEW (1) #if CONFIG_MBEDTLS #define MICROPY_QPY_MODULE_USSL (1) #define MICROPY_QPY_SSL_MBEDTLS (1)