You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#define VERSION(mainv, sub, fix) (mainv << 16 | sub << 8 | fix)
/***********************************************************************************************************************
* SDK_CONFIG * ***********************************************************************************************************************/ #define SDK_DELAY_US_TIMER htim6 // ���ӳٶ�ʱ����ע������ʱ��ʱ����Ҫ���������ĵ��������� http://192.168.1.3:3000/zwikipedia/iflytop_wikipedia/src/branch/master/doc/stm32cubemx_us_timer.md
#define SDK_IRQ_PREEMPTPRIORITY_DEFAULT 5 // IO�ж�Ĭ���жϵȼ�
#define SDK_CFG__CFG_FLASH_ADDR 0x080C0000 // flash���õ�ַ
#define SDK_CFG__SN_FLASH_ADDR 0x080E0004 //
#define SDK_MAX_TASK 20 // ������������
/***********************************************************************************************************************
* FLASH���� * ***********************************************************************************************************************/ // #define BOARD_TYPE_ID_FLASH_ADD 0x080E0000 // ��������
// #define SN_FLASH_ADD 0x080E0004 // ʹ������11�洢SN����
#define HARDWARE_VERSION 1 // Ӳ���汾
#define PROJECT "hand_acid_main_board" // ��������
#define APP_VERSION VERSION(3, 1, 2)
#define APP_VERSION_MAIN ((APP_VERSION >> 16) & 0xff)
#define APP_VERSION_SUB ((APP_VERSION >> 8) & 0xff)
#define APP_VERSION_FIX (APP_VERSION & 0xff)
#define MOTOR_NUM 4
#define MAX_USR_NUM 8 // ��������ʱ����Ҫ��UsrMgrҳ��
#define DEFAULT_PASSWD "888888"
#define ENABLE_MOTOR_CHECK_THREAD 0 // �Ƿ����õ��������߳�
#define MAX_USR_NAME_LEN 31
|