mirror of
https://github.com/sandeepmistry/rtl8710-openocd.git
synced 2025-07-31 19:21:03 +00:00
added GPL headers
This commit is contained in:
parent
2f0181f672
commit
4b443f625d
7 changed files with 67 additions and 10 deletions
7
Makefile
7
Makefile
|
|
@ -7,7 +7,12 @@ all:
|
|||
arm-none-eabi-gcc -Wall -g -Os -mlittle-endian -mlong-calls -mthumb -mcpu=cortex-m3 -mfloat-abi=soft -mthumb-interwork -ffunction-sections -ffreestanding -fsingle-precision-constant -Wstrict-aliasing=0 -Wl,-T,rtl8710.ld -nostartfiles -nostdlib -u main -Wl,--section-start=.text=$(FIRMWARE_ADDRESS) -DBUFFER_ADDRESS=$(BUFFER_ADDRESS) rtl8710_flasher.c spi_flash.c -o rtl8710_flasher.elf
|
||||
arm-none-eabi-objcopy -O binary rtl8710_flasher.elf rtl8710_flasher.bin
|
||||
gcc make_array.c -o make_array
|
||||
cp rtl8710_cpu.tcl rtl8710.ocd
|
||||
echo "#" >rtl8710.ocd
|
||||
echo "# OpenOCD script for RTL8710" >>rtl8710.ocd
|
||||
echo "# Copyright (C) 2016 Rebane, rebane@alkohol.ee" >>rtl8710.ocd
|
||||
echo "#" >>rtl8710.ocd
|
||||
echo >>rtl8710.ocd
|
||||
cat rtl8710_cpu.tcl >>rtl8710.ocd
|
||||
echo "set rtl8710_flasher_firmware_ptr $(FIRMWARE_ADDRESS)" >>rtl8710.ocd
|
||||
echo "set rtl8710_flasher_buffer $(BUFFER_ADDRESS)" >>rtl8710.ocd
|
||||
echo "set rtl8710_flasher_buffer_size $(BUFFER_SIZE)" >>rtl8710.ocd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue