57 lines
1.1 KiB
C
57 lines
1.1 KiB
C
#ifndef __XTELL_H
|
||
#define __XTELL_H
|
||
|
||
#include "STC8G.h"
|
||
#include "intrins.h"
|
||
#include "reg51.h"
|
||
#include <stdio.h>
|
||
#include "helper.h"
|
||
#include "typedef.h"
|
||
|
||
|
||
#define MY_DEBUG 1
|
||
|
||
#if MY_DEBUG
|
||
#define LOG printf
|
||
#else
|
||
#define LOG printf("");
|
||
#endif
|
||
|
||
/*
|
||
#define _LOG_ENABLE
|
||
#ifdef _LOG_ENABLE
|
||
#define LOG printf
|
||
#else
|
||
#define LOG(...)
|
||
#endif
|
||
*/
|
||
|
||
|
||
#define VERSION_NUMBER "20220709-0901"
|
||
|
||
|
||
|
||
/********************************************************************/
|
||
|
||
//STC8H1K08开发板淘宝资料连接: 提取密码:1234
|
||
//https://pan.baidu.com/s/1EfH7I16LwM0gtapMV0oONg
|
||
|
||
//STC单片机开发环境搭建:
|
||
//https://view.inews.qq.com/a/20220304A00VOV00
|
||
|
||
//keil C51的三种模式:
|
||
//keil memory model:
|
||
//https://wenku.baidu.com/view/26cecb842b4ac850ad02de80d4d8d15abe23007e.html
|
||
|
||
//KEIL的优化等级方法:
|
||
//https://jingyan.baidu.com/article/546ae185d915971148f28c69.html
|
||
|
||
// Keil的Option optimization等级优化问题:
|
||
// https://blog.csdn.net/qq_20017379/article/details/122770788
|
||
|
||
//在KEIL中添加STC型号单片机的3种方法:
|
||
//https://wenku.baidu.com/view/904916af8462caaedd3383c4bb4cf7ec4afeb6ba.html
|
||
|
||
#endif
|
||
|