CONFIG.h 631 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef __CONFIG_H
  2. #define __CONFIG_H
  3. #include <stdint.h>
  4. #define DEBUG 1 // Debug开关 1是开,0是关
  5. //#define EC800M 1 //4G开关,不能数字开头
  6. #define BC260Y 1 // NB
  7. // 何龙祥的配置
  8. //睡眠相关IO配置
  9. #define WAKE_GPIO_RCC RCC_APB2Periph_GPIOA
  10. #define WAKE_GPIO GPIOA
  11. #define WAKE_GPIO_Pin GPIO_Pin_6 // 睡眠的引脚
  12. //flash相关配置
  13. #define FLASH_SIZE 64
  14. #define SAVE_ADDR 0X0800FC00
  15. // 刘艳斌的配置
  16. //睡眠相关IO配置
  17. //#define WAKE_GPIO_RCC RCC_APB2Periph_GPIOE
  18. //#define WAKE_GPIO GPIOE
  19. //#define WAKE_GPIO_Pin GPIO_Pin_5 // 睡眠的引脚
  20. ////flash相关配置
  21. //#define FLASH_SIZE 512
  22. //#define SAVE_ADDR 0X0807E000
  23. #endif