summaryrefslogtreecommitdiff
path: root/cesar/hal/leon/test/timer/ecos.ecc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/leon/test/timer/ecos.ecc.sh')
-rw-r--r--cesar/hal/leon/test/timer/ecos.ecc.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/cesar/hal/leon/test/timer/ecos.ecc.sh b/cesar/hal/leon/test/timer/ecos.ecc.sh
new file mode 100644
index 0000000000..9307c8bcac
--- /dev/null
+++ b/cesar/hal/leon/test/timer/ecos.ecc.sh
@@ -0,0 +1,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