summaryrefslogtreecommitdiff
path: root/hal/leon/test/timer/ecos.ecc.sh
blob: 9307c8bcac493fb5c1254e7efbef663d6db3c7f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
config=${1:-ecos-gen.ecc}
ecosconfig --config=$config new sparc_leon default
cat >> $config <<'EOF'
cdl_component CYGPKG_HAL_SPARC_REGISTER_WINDOWS {
    user_value 2
}
cdl_component CYGHWR_HAL_SPARC_FLAT {
    user_value 1
}
cdl_option CYGBLD_GLOBAL_CFLAGS_PRE {
        user_value "-mflat -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority"
}
EOF
ecosconfig --config=$config check