| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef __DEFINE_H__
- #define __DEFINE_H__
- #include <stdlib.h>
- #include <string.h>
- #include <stdbool.h>
- #include <stdint.h>
- #include "CONFIG.h"
- #include "HAL.h"
- #define LOG_OUTPUT_TIME 3000
- #define Timecount 256
- #define REBYTE_LEN 512
- #define SEND_LEN 128
- #define HIGH 1
- #define LOW 0
- #define SOFTWARE_VERSION 0x10
- #define HARDWARE_VERSION 0x14
- #define AES_ENABLE 0
- /* OTA upgrade logo */
- #define IMAGE_OTA_FLAG 0x03
- /* Store on the DataFlash address, the position of Bluetooth cannot be occupied */
- #define OTA_DATAFLASH_ADDR 0x08077000
- #define IMAGE_FLAG_1 0x1A
- #define IMAGE_FLAG_2 0x2A
- #define IMAGE_FLAG_3 0x3A
- #define CONFIG_DATAFLASH_ADDR 0x08077100
- #define CAN_OFFLINE_TIMEOUT_DEFAULT 5000
- #define USER_WS2812B_COUNT_DEFAULT 6
- #endif /* USER_DEFINE_H_ */
|