|
|
@@ -1,44 +0,0 @@
|
|
|
-#ifndef __CONFIG_H
|
|
|
-#define __CONFIG_H
|
|
|
-#include <stdint.h>
|
|
|
-
|
|
|
-
|
|
|
-#define DEBUG 1 // Debug开关 1是开,0是关
|
|
|
-
|
|
|
-// 测试环境
|
|
|
-#define TEST_ENV 1
|
|
|
-// 生产环境
|
|
|
-//#define PROD_ENV 1
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-//#define EC800M 1 //4G开关,不能数字开头
|
|
|
-//#define BC260Y 1 // NB
|
|
|
-#define ESP32 1 //WiFi
|
|
|
-//#define AIWB2 1 //WIFI_AIWB2-32S
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-// 何龙祥的配置
|
|
|
-//睡眠相关IO配置
|
|
|
-#define WAKE_GPIO_RCC RCC_APB2Periph_GPIOA
|
|
|
-#define WAKE_GPIO GPIOA
|
|
|
-#define WAKE_GPIO_Pin GPIO_Pin_6 // 睡眠的引脚
|
|
|
-//flash相关配置
|
|
|
-#define FLASH_SIZE 64
|
|
|
-#define FLASH_SAVE_ADDR 0X0800F800
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-// 刘艳斌的配置
|
|
|
-//睡眠相关IO配置
|
|
|
-//#define WAKE_GPIO_RCC RCC_APB2Periph_GPIOE
|
|
|
-//#define WAKE_GPIO GPIOE
|
|
|
-//#define WAKE_GPIO_Pin GPIO_Pin_5 // 睡眠的引脚
|
|
|
-////flash相关配置
|
|
|
-//#define FLASH_SIZE 512
|
|
|
-//#define SAVE_ADDR 0X0807E000
|
|
|
-
|
|
|
-
|
|
|
-#endif
|