mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
1ee52635c8
2. Added a new make rule to erase EEPROM through the chip erase.
6 lines
245 B
Makefile
6 lines
245 B
Makefile
%.upload: %.srec
|
|
uisp -dprog=mib510 -dserial=$(PORT) -dpart=ATmega128 --wr_fuse_h=0xd1 --wr_fuse_e=ff --erase --upload if=$< --verify
|
|
|
|
erase:
|
|
uisp -dprog=mib510 -dserial=$(PORT) -dpart=ATmega128 --wr_fuse_h=0xd9 --wr_fuse_e=ff --erase
|