mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
1. Changed fuse bits to preserve EEPROM through the chip erase when uploading a new OS image.
2. Added a new make rule to erase EEPROM through the chip erase.
This commit is contained in:
parent
71b5872045
commit
1ee52635c8
@ -1,2 +1,5 @@
|
||||
%.upload: %.srec
|
||||
uisp -dprog=mib510 -dserial=$(PORT) --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=$< --verify
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user