[X9D] Makefile option added: CPUARM
[Sky9x] GVARS Bug in EEPROM [Sky9x] Mu-law codec added
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file Project/Macro_define.h
|
||||
* @author X9D Application Team
|
||||
* @Hardware version V0.2
|
||||
* @date 11-July-2012
|
||||
* @brief This file provides Macro defines for testing or working.
|
||||
* *
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef _Macro_Define_H_
|
||||
#define _Macro_Define_H_
|
||||
#include "stm32f2xx.h"
|
||||
|
||||
#define assert(x) do{ if(!(x)) while(1);}while(0);
|
||||
|
||||
#define udelay(x) do{ uint32_t temp; temp=((x+0)<<3); while(--temp);}while(0)
|
||||
#define delayUsec(x) udelay(x)
|
||||
|
||||
#define LCD_TEST
|
||||
#define AUDIO_TEST
|
||||
//#define I2C_TEST
|
||||
//#define ADC_TEST
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user