📄 makefile
字号:
PLATFORMS=mica2 mica2dot
COMPONENT=XnpBlink
SENSORBOARD=basicsb
XNP=yes
#CFLAGS= -v
include ../Makerules
# Special installation with bootloader for In-Network Programming
# This requires modification to apps/Makerules for new target 'inp' which
# loads bootloader or typing the command line manually.
#
# Loading application SREC: this can be done with 'make <platform> install' or
# 'make <platform> reinstall'
#
# @echo " installing $(PLATFORM) binary"
# @#$(SET_ID) $(MAIN_SREC) $(MAIN_SREC).out `echo $@ |sed 's:reinstall.::g'`
# $(SET_ID) $(MAIN_SREC) $(MAIN_SREC).out `echo $@ |perl -pe 's/^reinstall.//; $$_=hex if /^0x/i;'`
# uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --erase
# sleep 1
# uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --upload if=$(MAIN_SREC).out
# sleep 1
# uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --verify if=$(MAIN_SREC).out
# sleep 1
#
# Load Bootloader over top: this can be done with 'make <platform> inp'
#
# uisp -dprog=dapa --upload if=inpispm2d.srec # mica2dot
# uisp -dprog=dapa --wr_fuse_e=ff --upload if=inpispm2.srec # mica2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -