de6477efa8
Otherwise a crash results with a bootloader compiled with a newer AVR toolchain (e.g. Debian Jessie). If you still have an ages-old bootloader without a jump-table, as a short-term measure you can revert this change in your run.sh. As a long-term fix we recommend you get your bootloader updated!
9 lines
509 B
Bash
Executable file
9 lines
509 B
Bash
Executable file
#!/bin/bash
|
|
# For the ages-old bootloader (before 2014) you want to use
|
|
# BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
|
|
make clean TARGET=osd-merkur
|
|
make TARGET=osd-merkur
|
|
avr-size -C --mcu=MCU=atmega128rfa1 embedd-vm-server.osd-merkur
|
|
avr-objcopy -j .text -j .data -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.hex
|
|
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.eep
|