OpenCores
URL https://opencores.org/ocsvn/xenie/xenie/trunk

Subversion Repositories xenie

[/] [xenie/] [trunk/] [examples/] [Eth_example/] [src/] [tcl/] [xsdk_prepare_workspace.tcl] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 DFC
#
2
# This script prepares workspace for SDK and builds testing app.
3
#
4
 
5
 
6
 
7
 
8
# Set the reference directory to where the script is
9
set origin_dir [file normalize [file dirname [info script]]]
10
 
11
# Set SDK workspace directory
12
set ws_dir [file normalize $origin_dir/../../mb_fw]
13
 
14
# Set path to HW specification file
15
set hw_spec [file normalize $origin_dir/../../vivado/eth_example.sdk/xenie_eth_example.hdf]
16
 
17
# Set workspace (it is supposed to be directory with projects)
18
setws $ws_dir
19
 
20
# Create HW project
21
createhw -name xenie_eth_example_hw_platform_0 -hwspec $hw_spec
22
 
23
# Set repository with modified IIC driver
24
repo -set $ws_dir/drivers
25
repo -scan
26
 
27
# Create BSP projects based on mss
28
createbsp -name mb_basic_test_bsp -mss $ws_dir/mb_basic_test_bsp_tmp/system.mss -hwproject xenie_eth_example_hw_platform_0
29
 
30
 
31
# Import application project
32
importprojects $ws_dir
33
 
34
# Set release build
35
configapp -app xenie_eth_test_womtd build-config release
36
 
37
# Clean projects and rebuild it
38
projects -clean
39
projects -build
40
 
41
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.