1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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