📄 wmcommondefines
字号:
!if 0
*-----------------------------------------------------------------------------
* Copyright (c) Wolfson Microelectronics plc. All rights reserved.
*
* This software as well as any related documentation is furnished under
* license and may only be used or copied in accordance with the terms of the
* license. The information in this file is furnished for informational use
* only, is subject to change without notice, and should not be construed as
* a commitment by Wolfson Microelectronics plc. Wolfson Microelectronics plc
* assumes no responsibility or liability for any errors or inaccuracies that
* may appear in this document or any software that may be provided in
* association with this document.
*
* Except as permitted by such license, no part of this document may be
* reproduced, stored in a retrieval system, or transmitted in any form or by
* any means without the express written consent of Wolfson Microelectronics plc.
*
* $Id: WMCommonDefines 2654 2006-01-26 13:46:03Z ian $
*
* Generic makefile which sets up Wolfson definitions for use by other
* projects.
*
* To include it, put a line like the following in your sources file:
*
* !include $(_TARGETPLATROOT)\WMCommonDefines
*-----------------------------------------------------------------------------
!endif
CDEFINES=$(CDEFINES) -DWM_BSP_$(WM_BSP)
!IF "$(WM_DEVICE_WM8711)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WM8711
!ENDIF
!IF "$(WM_DEVICE_WM8721)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WM8721
!ENDIF
!IF "$(WM_DEVICE_WM8731)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WM8731
!ENDIF
!IF "$(WM_DEVICE_WM8734)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WM8734
!ENDIF
!IF "$(WM_DEVICE_WM8753)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WM8753
!ENDIF
!IF "$(WM_DEVICE_WMI2S_7BIT)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WMI2S_7BIT_ADDR
!ENDIF
!IF "$(WM_DEVICE_WMI2S_8BIT)" == "1"
CDEFINES=$(CDEFINES) -DWM_AUDIO_I2S_DEVICE=WM_CHIP_WMI2S_8BIT_ADDR
!ENDIF
SOURCELIBS=$(SOURCELIBS) $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\Wolfson.lib
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -