aboutsummaryrefslogtreecommitdiff
path: root/recipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh')
-rwxr-xr-xrecipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh b/recipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh
new file mode 100755
index 0000000..c35c221
--- /dev/null
+++ b/recipes-demo/de10-nano-adxl-apps/files/build_watch_adxl.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+gcc \
+ -march=armv7-a \
+ -mfloat-abi=hard \
+ -mfpu=vfp3 \
+ -mthumb-interwork \
+ -mthumb \
+ -O2 \
+ -g \
+ -feliminate-unused-debug-types \
+ -std=gnu99 \
+ -W \
+ -Wall \
+ -Werror \
+ -Wc++-compat \
+ -Wwrite-strings \
+ -Wstrict-prototypes \
+ -pedantic \
+ -o watch_adxl \
+ watch_adxl.c
+