From: ljyy <291517002@qq.com> Date: Thu, 26 Mar 2026 03:55:11 +0000 (+0800) Subject: 修改编译pystack,删掉基站定位功能 X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.js?a=commitdiff_plain;h=363adaffe6f20d5e75d342c5cbb942e6b2f192c2;p=mirrors%2FASR1603_G5.git 修改编译pystack,删掉基站定位功能 --- diff --git a/2.sdk/Helios_SDK/services/microPython/py/pystack.h b/2.sdk/Helios_SDK/services/microPython/py/pystack.h index 16b9d810..976806aa 100644 --- a/2.sdk/Helios_SDK/services/microPython/py/pystack.h +++ b/2.sdk/Helios_SDK/services/microPython/py/pystack.h @@ -87,6 +87,7 @@ 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 ea734f6d..5d5ea60e 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 (1) +#define MICROPY_QPY_MODULE_CELLLOCATOR_QPY (0) #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 (1) +#define MICROPY_QPY_CAMERA_LVGL_PREVIEW (0) #if CONFIG_MBEDTLS #define MICROPY_QPY_MODULE_USSL (1) #define MICROPY_QPY_SSL_MBEDTLS (1)