- Added the Sensinode platform programming tools to /tools
This commit is contained in:
parent
83988ef554
commit
fc237101be
24 changed files with 5847 additions and 0 deletions
14
tools/sensinode/nano_usb_programmer/Rules.make
Normal file
14
tools/sensinode/nano_usb_programmer/Rules.make
Normal file
|
@ -0,0 +1,14 @@
|
|||
ifeq "$(PLATFORM)" "linux"
|
||||
CC=gcc
|
||||
CFLAGS= -I. -I./ftdi_linux -L. -L./ftdi_linux -DPLATFORM_LINUX
|
||||
LDFLAGS= -lftd2xx -Wl,-rpath /usr/local/lib
|
||||
SOURCES=main.c prog.c cdi.c ihex.c
|
||||
SUFFIX=
|
||||
else
|
||||
CC=gcc
|
||||
CFLAGS=-I. -I./ftdi_win32 -L. -L./ftdi_win32 -DPLATFORM_WINDOWS
|
||||
CFLAGS+= -mwin32
|
||||
LDFLAGS=ftdi_win32/ftd2xx.lib -lkernel32
|
||||
SOURCES=main.c prog.c cdi.c ihex.c
|
||||
SUFFIX=.exe
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue