mirror of
https://github.com/m5stack/StackFlow.git
synced 2026-05-20 11:32:11 -07:00
[update] update sdk version & chip name
This commit is contained in:
@@ -12,8 +12,8 @@ menuconfig AX_MSP_ENABLED
|
||||
bool "enable ax620e bsp"
|
||||
help
|
||||
build by AXERA!
|
||||
config AX_650N_MSP_ENABLED
|
||||
bool "enable ax650n bsp"
|
||||
config AX_650C_MSP_ENABLED
|
||||
bool "enable ax650C bsp"
|
||||
help
|
||||
build by AXERA!
|
||||
config AX_520_MSP_ENABLED
|
||||
@@ -26,8 +26,8 @@ menuconfig AX_MSP_ENABLED
|
||||
prompt "choice common version"
|
||||
default MSP_V2_0_0_ENABLED
|
||||
depends on AX_MSP_ENABLED
|
||||
config MSP_V3_0_0_ENABLED
|
||||
bool "enable v3.0.0 bsp"
|
||||
config MSP_V3_6_2_ENABLED
|
||||
bool "enable v3.6.2 bsp"
|
||||
help
|
||||
build by m5stack!
|
||||
config MSP_V2_0_0_ENABLED
|
||||
|
||||
@@ -55,9 +55,9 @@ if 'CONFIG_AX_620E_MSP_ENABLED' in os.environ:
|
||||
'REGISTER':'static'
|
||||
})
|
||||
|
||||
if 'CONFIG_AX_650N_MSP_ENABLED' in os.environ:
|
||||
if 'CONFIG_AX_650C_MSP_ENABLED' in os.environ:
|
||||
MSP_PATH = ''
|
||||
if 'CONFIG_MSP_V3_0_0_ENABLED' in os.environ:
|
||||
if 'CONFIG_MSP_V3_6_2_ENABLED' in os.environ:
|
||||
MSP_PATH = os.environ.get('EXT_MSP_PATH', check_wget_down("https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/linux/llm/m5stack_ax650n_msp.tar.gz", 'm5stack_ax650n_msp.tar.gz'))
|
||||
|
||||
SRCS=[]
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <global_config.h>
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static const char *strAlgoModelType[AX_ENGINE_MODEL_TYPE_BUTT] = {"3.6T", "7.2T", "18T"};
|
||||
#endif
|
||||
|
||||
@@ -32,7 +32,7 @@ typedef enum axNPU_TYPE_E {
|
||||
AX_BL_VNPU_2 = (1 << 4) /* running under BIG-LITTLE VNPU2 */
|
||||
} AX_NPU_TYPE_E;
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static AX_S32 CheckModelVNpu(const std::string &strModel, const AX_ENGINE_MODEL_TYPE_T &eModelType,
|
||||
const AX_S32 &nNpuType, AX_U32 &nNpuSet)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <cstdlib>
|
||||
#include <global_config.h>
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static const char *strAlgoModelType[AX_ENGINE_MODEL_TYPE_BUTT] = {"3.6T", "7.2T", "18T"};
|
||||
#endif
|
||||
|
||||
@@ -32,7 +32,7 @@ typedef enum axNPU_TYPE_E {
|
||||
AX_BL_VNPU_2 = (1 << 4) /* running under BIG-LITTLE VNPU2 */
|
||||
} AX_NPU_TYPE_E;
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static AX_S32 CheckModelVNpu(const std::string &strModel, const AX_ENGINE_MODEL_TYPE_T &eModelType, const AX_S32 &nNpuType, AX_U32 &nNpuSet) {
|
||||
AX_ENGINE_NPU_ATTR_T stNpuAttr;
|
||||
memset(&stNpuAttr, 0x00, sizeof(stNpuAttr));
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <global_config.h>
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static const char *strAlgoModelType[AX_ENGINE_MODEL_TYPE_BUTT] = {"3.6T", "7.2T", "18T"};
|
||||
#endif
|
||||
|
||||
@@ -33,7 +33,7 @@ typedef enum axNPU_TYPE_E {
|
||||
AX_BL_VNPU_2 = (1 << 4) /* running under BIG-LITTLE VNPU2 */
|
||||
} AX_NPU_TYPE_E;
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static AX_S32 CheckModelVNpu(const std::string &strModel, const AX_ENGINE_MODEL_TYPE_T &eModelType, const AX_S32 &nNpuType, AX_U32 &nNpuSet) {
|
||||
AX_ENGINE_NPU_ATTR_T stNpuAttr;
|
||||
memset(&stNpuAttr, 0x00, sizeof(stNpuAttr));
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <global_config.h>
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static const char* strAlgoModelType[AX_ENGINE_MODEL_TYPE_BUTT] = {"3.6T", "7.2T", "18T"};
|
||||
#endif
|
||||
|
||||
@@ -33,7 +33,7 @@ typedef enum axNPU_TYPE_E {
|
||||
AX_BL_VNPU_2 = (1 << 4) /* running under BIG-LITTLE VNPU2 */
|
||||
} AX_NPU_TYPE_E;
|
||||
|
||||
#if defined(CONFIG_AX_650N_MSP_ENABLED)
|
||||
#if defined(CONFIG_AX_650C_MSP_ENABLED)
|
||||
static AX_S32 CheckModelVNpu(const std::string& strModel, const AX_ENGINE_MODEL_TYPE_T& eModelType,
|
||||
const AX_S32& nNpuType, AX_U32& nNpuSet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user