From 1da3451cffbf7ac473cd7c0679acd2258417fcaa Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Wed, 25 Mar 2015 10:36:25 +0530 Subject: [PATCH] sw_apps: FreeRTOS hello world app: modified tcl file This patch deletes the *.mss file and modified the tcl file to prevent the error in SDK log when any other processor or OS is selected in create application project GUI of SDK Signed-off-by: Kinjal Pravinbhai Patel --- .../data/freertos_hello_world.mss | 40 ------------------- .../data/freertos_hello_world.tcl | 7 +++- 2 files changed, 5 insertions(+), 42 deletions(-) delete mode 100644 lib/sw_apps/freertos_hello_world/data/freertos_hello_world.mss diff --git a/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.mss b/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.mss deleted file mode 100644 index 9606c3f3..00000000 --- a/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.mss +++ /dev/null @@ -1,40 +0,0 @@ -#/****************************************************************************** -#* -#* Copyright (C) 2015 Xilinx, Inc. All rights reserved. -#* -#* Permission is hereby granted, free of charge, to any person obtaining a copy -#* of this software and associated documentation files (the "Software"), to deal -#* in the Software without restriction, including without limitation the rights -#* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -#* copies of the Software, and to permit persons to whom the Software is -#* furnished to do so, subject to the following conditions: -#* -#* The above copyright notice and this permission notice shall be included in -#* all copies or substantial portions of the Software. -#* -#* Use of the Software is limited solely to applications: -#* (a) running on a Xilinx device, or -#* (b) that interact with a Xilinx device through a bus or interconnect. -#* -#* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -#* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -#* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -#* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -#* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -#* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -#* SOFTWARE. -#* -#* Except as contained in this notice, the name of the Xilinx shall not be used -#* in advertising or otherwise to promote the sale, use or other dealings in -#* this Software without prior written authorization from Xilinx. -#* -#******************************************************************************/ - -PARAMETER VERSION = 2.2.0 - - -BEGIN OS - PARAMETER OS_NAME = freertos820_xilinx - PARAMETER STDIN = * - PARAMETER STDOUT = * -END \ No newline at end of file diff --git a/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.tcl b/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.tcl index 2e497b2b..e84ad519 100644 --- a/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.tcl +++ b/lib/sw_apps/freertos_hello_world/data/freertos_hello_world.tcl @@ -38,7 +38,7 @@ proc swapp_get_description {} { return " FreeRTOS R5 Hello World application"; } -proc check_standalone_os {} { +proc check_freertos_os {} { set oslist [get_os]; if { [llength $oslist] != 1 } { @@ -52,7 +52,10 @@ proc check_standalone_os {} { } proc swapp_is_supported_sw {} { - return 0; + + check_freertos_os + + return 1; } proc swapp_is_supported_hw {} {