Skip to content

Instantly share code, notes, and snippets.

Avatar

Derek Hildreth dhildreth

View GitHub Profile
@dhildreth
dhildreth / Makefile
Last active Apr 9, 2019
TS-7680 4-20mA Current Loop Example Code
View Makefile
NAME=getadc
SRCS=getadc.c
CFLAGS=-fno-tree-cselim -Wall -O0 -mcpu=arm9 -o $(NAME)
CC=gcc
INSTALL=/usr/local/bin/
all: main install
main: $(SRCS)
$(CC) $(CFLAGS) $(SRCS)