Preparing for next release...
Zynq ZC702 demo application: Update the memcpy, memset and memcmp implementations so they don't err with -O3 optimisation. Update to use the 2015.2 version of the SDK.pull/1/head
parent
4c3722bd76
commit
95eed0c8f3
@ -0,0 +1,5 @@
|
|||||||
|
[{000214A0-0000-0000-C000-000000000046}]
|
||||||
|
Prop3=19,2
|
||||||
|
[InternetShortcut]
|
||||||
|
URL=http://www.freertos.org/RTOS-Xilinx-Zynq.html
|
||||||
|
IDList=
|
@ -1,3 +1,4 @@
|
|||||||
THIRPARTY=false
|
THIRPARTY=false
|
||||||
|
HW_PROJECT_REFERENCE=ZC702_hw_platform
|
||||||
PROCESSOR=ps7_cortexa9_0
|
PROCESSOR=ps7_cortexa9_0
|
||||||
MSS_FILE=system.mss
|
MSS_FILE=system.mss
|
||||||
|
@ -1,98 +1,89 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* (c) Copyright 2010-13 Xilinx, Inc. All rights reserved.
|
* Copyright (C) 2010 - 2014 Xilinx, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* This file contains confidential and proprietary information of Xilinx, Inc.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* and is protected under U.S. and international copyright and other
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* intellectual property laws.
|
* in the Software without restriction, including without limitation the rights
|
||||||
*
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* DISCLAIMER
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This disclaimer is not a license and does not grant any rights to the
|
* furnished to do so, subject to the following conditions:
|
||||||
* materials distributed herewith. Except as otherwise provided in a valid
|
*
|
||||||
* license issued to you by Xilinx, and to the maximum extent permitted by
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* applicable law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND WITH ALL
|
* all copies or substantial portions of the Software.
|
||||||
* FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS,
|
*
|
||||||
* IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
|
* Use of the Software is limited solely to applications:
|
||||||
* MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE;
|
* (a) running on a Xilinx device, or
|
||||||
* and (2) Xilinx shall not be liable (whether in contract or tort, including
|
* (b) that interact with a Xilinx device through a bus or interconnect.
|
||||||
* negligence, or under any other theory of liability) for any loss or damage
|
*
|
||||||
* of any kind or nature related to, arising under or in connection with these
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* materials, including for any direct, or any indirect, special, incidental,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* or consequential loss or damage (including loss of data, profits, goodwill,
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
* or any type of loss or damage suffered as a result of any action brought by
|
* XILINX BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
* a third party) even if such damage or loss was reasonably foreseeable or
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||||
* Xilinx had been advised of the possibility of the same.
|
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
*
|
* SOFTWARE.
|
||||||
* CRITICAL APPLICATIONS
|
*
|
||||||
* Xilinx products are not designed or intended to be fail-safe, or for use in
|
* Except as contained in this notice, the name of the Xilinx shall not be used
|
||||||
* any application requiring fail-safe performance, such as life-support or
|
* in advertising or otherwise to promote the sale, use or other dealings in
|
||||||
* safety devices or systems, Class III medical devices, nuclear facilities,
|
* this Software without prior written authorization from Xilinx.
|
||||||
* applications related to the deployment of airbags, or any other applications
|
*
|
||||||
* that could lead to death, personal injury, or severe property or
|
******************************************************************************/
|
||||||
* environmental damage (individually and collectively, "Critical
|
/*****************************************************************************/
|
||||||
* Applications"). Customer assumes the sole risk and liability of any use of
|
/**
|
||||||
* Xilinx products in Critical Applications, subject only to applicable laws
|
*
|
||||||
* and regulations governing limitations on product liability.
|
* @file xcanps_hw.c
|
||||||
*
|
*
|
||||||
* THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS PART OF THIS FILE
|
* This file contains the implementation of the canps interface reset sequence
|
||||||
* AT ALL TIMES.
|
*
|
||||||
*
|
* <pre>
|
||||||
******************************************************************************/
|
* MODIFICATION HISTORY:
|
||||||
/*****************************************************************************/
|
*
|
||||||
/**
|
* Ver Who Date Changes
|
||||||
*
|
* ----- ---- -------- -------------------------------------------------------
|
||||||
* @file xcanps_hw.c
|
* 1.02a adk 08/08/13 First release
|
||||||
*
|
* </pre>
|
||||||
* This file contains the implementation of the canps interface reset sequence
|
*
|
||||||
*
|
******************************************************************************/
|
||||||
* <pre>
|
|
||||||
* MODIFICATION HISTORY:
|
/***************************** Include Files *********************************/
|
||||||
*
|
|
||||||
* Ver Who Date Changes
|
#include "xparameters.h"
|
||||||
* ----- ---- -------- -------------------------------------------------------
|
#include "xcanps_hw.h"
|
||||||
* 1.02a adk 08/08/13 First release
|
|
||||||
* </pre>
|
/************************** Constant Definitions *****************************/
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
/**************************** Type Definitions *******************************/
|
||||||
/***************************** Include Files *********************************/
|
|
||||||
|
|
||||||
#include "xparameters.h"
|
/***************** Macros (Inline Functions) Definitions *********************/
|
||||||
#include "xcanps_hw.h"
|
|
||||||
|
|
||||||
/************************** Constant Definitions *****************************/
|
/************************** Function Prototypes ******************************/
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
/**************************** Type Definitions *******************************/
|
/**
|
||||||
|
*
|
||||||
|
* This function resets the CAN device. Calling this function resets the device
|
||||||
/***************** Macros (Inline Functions) Definitions *********************/
|
* immediately, and any pending transmission or reception is terminated at once.
|
||||||
|
* Both Object Layer and Transfer Layer are reset. This function does not reset
|
||||||
|
* the Physical Layer. All registers are reset to the default values, and no
|
||||||
/************************** Function Prototypes ******************************/
|
* previous status will be restored. TX FIFO, RX FIFO and TX High Priority
|
||||||
|
* Buffer are also reset.
|
||||||
/*****************************************************************************/
|
*
|
||||||
/**
|
* The CAN device will be in Configuration Mode immediately after this function
|
||||||
*
|
* returns.
|
||||||
* This function resets the CAN device. Calling this function resets the device
|
*
|
||||||
* immediately, and any pending transmission or reception is terminated at once.
|
* @param BaseAddr is the baseaddress of the interface.
|
||||||
* Both Object Layer and Transfer Layer are reset. This function does not reset
|
*
|
||||||
* the Physical Layer. All registers are reset to the default values, and no
|
* @return None.
|
||||||
* previous status will be restored. TX FIFO, RX FIFO and TX High Priority
|
*
|
||||||
* Buffer are also reset.
|
* @note None.
|
||||||
*
|
*
|
||||||
* The CAN device will be in Configuration Mode immediately after this function
|
******************************************************************************/
|
||||||
* returns.
|
void XCanPs_ResetHw(u32 BaseAddr)
|
||||||
*
|
{
|
||||||
* @param BaseAddr is the baseaddress of the interface.
|
XCanPs_WriteReg(BaseAddr, XCANPS_SRR_OFFSET, \
|
||||||
*
|
XCANPS_SRR_SRST_MASK);
|
||||||
* @return None.
|
|
||||||
*
|
|
||||||
* @note None.
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
void XCanPs_ResetHw(u32 BaseAddr)
|
|
||||||
{
|
|
||||||
XCanPs_WriteReg(BaseAddr, XCANPS_SRR_OFFSET, \
|
|
||||||
XCANPS_SRR_SRST_MASK);
|
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue