sw_apps & lib: sw_apps and library tcl files have been changed

This patch updates the openamp & freertos sw_apps and
lwip & xilopenamp library to support latest freertos kernel

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Kinjal Pravinbhai Patel 2015-11-03 17:37:44 +05:30 committed by Nava kishore Manne
parent 419545b52a
commit 7859933f8a
8 changed files with 17 additions and 17 deletions

View file

@ -6,7 +6,7 @@ BEGIN LIBRARY lwip141
OPTION copyfiles = all;
OPTION desc = "lwIP TCP/IP Stack library: lwIP v1.4.1";
OPTION app_linker_flags = "-Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group";
OPTION requires_os = (standalone xilkernel freertos821_xilinx);
OPTION requires_os = (standalone xilkernel freertos823_xilinx);
OPTION VERSION = 1.3;
OPTION NAME = lwip141;

View file

@ -239,7 +239,7 @@ proc lwip_sw_drc {libhandle emacs_list} {
set os_handle [hsi::get_os]
set os_name [common::get_property NAME $os_handle]
if { [string compare -nocase "xilkernel" $os_name] != 0} {
if { [string compare -nocase "freertos821_xilinx" $os_name] != 0} {
if { [string compare -nocase "freertos823_xilinx" $os_name] != 0} {
error "ERROR: lwIP with Sockets requires \"xilkernel or freertos\" OS" "" "mdt_error"
}
}
@ -443,7 +443,7 @@ proc generate_lwip_opts {libhandle} {
puts $lwipopts_fd "\#define TCPIP_THREAD_STACKSIZE 4096"
puts $lwipopts_fd ""
}
if { [string compare -nocase "freertos821_xilinx" $os_name] == 0} {
if { [string compare -nocase "freertos823_xilinx" $os_name] == 0} {
puts $lwipopts_fd "\#define OS_IS_FREERTOS"
puts $lwipopts_fd "\#define DEFAULT_THREAD_PRIO $thread_prio"
puts $lwipopts_fd "\#define TCPIP_THREAD_PRIO ($thread_prio + 1)"

View file

@ -43,7 +43,7 @@ OPTION psf_version = 2.1;
BEGIN LIBRARY xilopenamp
OPTION DRC = openamp_drc;
OPTION COPYFILES = all;
OPTION REQUIRES_OS = (standalone, freertos821_xilinx);
OPTION REQUIRES_OS = (standalone, freertos823_xilinx);
OPTION APP_LINKER_FLAGS = "-Wl,--start-group,-lxil,-lxilopenamp,-lgcc,-lc,--end-group";
OPTION DESC = "Xilinx openamp Library ";
OPTION VERSION = 1.0;

View file

@ -86,7 +86,7 @@ proc xgen_opts_file {libhandle} {
puts $ampos "/******************************************************************/"
puts $ampos ""
puts $ampos "/* Operating System definition */"
if { $os == "freertos821_xilinx" } {
if { $os == "freertos823_xilinx" } {
puts $ampos "#define USE_FREERTOS TRUE"
} else {
puts $ampos "#define USE_BAREMETAL TRUE"

View file

@ -46,8 +46,8 @@ proc check_freertos_os {} {
}
set os [lindex $oslist 0];
if { $os != "freertos821_xilinx" } {
error "This application is supported only on the freertos821_xilinx.";
if { $os != "freertos823_xilinx" } {
error "This application is supported only on the freertos823_xilinx.";
}
}
@ -99,5 +99,5 @@ proc swapp_get_supported_processors {} {
}
proc swapp_get_supported_os {} {
return "freertos821_xilinx";
return "freertos823_xilinx";
}

View file

@ -46,8 +46,8 @@ proc check_standalone_os {} {
}
set os [lindex $oslist 0];
if { ( $os != "standalone" ) && ( $os != "freertos821_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos821.";
if { ( $os != "standalone" ) && ( $os != "freertos823_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos823_xilinx.";
}
}
@ -138,5 +138,5 @@ proc swapp_get_supported_processors {} {
}
proc swapp_get_supported_os {} {
return "freertos821_xilinx standalone";
return "freertos823_xilinx standalone";
}

View file

@ -46,8 +46,8 @@ proc check_standalone_os {} {
}
set os [lindex $oslist 0];
if { ( $os != "standalone" ) && ( $os != "freertos821_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos821.";
if { ( $os != "standalone" ) && ( $os != "freertos823_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos823_xilinx.";
}
}
@ -138,5 +138,5 @@ proc swapp_get_supported_processors {} {
}
proc swapp_get_supported_os {} {
return "freertos821_xilinx standalone";
return "freertos823_xilinx standalone";
}

View file

@ -46,8 +46,8 @@ proc check_standalone_os {} {
}
set os [lindex $oslist 0];
if { ( $os != "standalone" ) && ( $os != "freertos821_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos821.";
if { ( $os != "standalone" ) && ( $os != "freertos823_xilinx" ) } {
error "This application is supported only on the Standalone Board Support Package and freertos823_xilinx.";
}
}
@ -140,5 +140,5 @@ proc swapp_get_supported_processors {} {
}
proc swapp_get_supported_os {} {
return "freertos821_xilinx standalone";
return "freertos823_xilinx standalone";
}