mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-03 22:06:22 +00:00
d4b3436d21
Atmel ATmega128. Very brief instructions: - Configure your programmer etc. in Makefile.stk501 - Use 'make upload' to flash your STK501. - Setup a SLIP connection to your board (on the first serial port) and make sure you can ping it. - Use 'make loadable_prg.ko' to build a demo module. - gcc -ocodeprop ../../tools/codeprop.c - ./codeprop <IP of STK> loadable_prg.ko - Watch the module print "Tick, Tack, Tick, ..." on the second serial port.
11 lines
185 B
Makefile
11 lines
185 B
Makefile
# $$
|
|
|
|
all: contiki-stk501-main.out loadable_prg.ko
|
|
upload: contiki-stk501-main.eep contiki-stk501-main.u
|
|
|
|
CONTIKI=../..
|
|
TARGET=stk501
|
|
APPS=codeprop
|
|
|
|
include $(CONTIKI)/Makefile.include
|