summaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index ab93862..faa5291 100644
--- a/README.txt
+++ b/README.txt
@@ -1,5 +1,5 @@
Compile and upload
-$ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -o a.elf main.c
+$ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -T script.ld -nostartfiles -nostdlib -o a.elf main.c
$ arm-none-eabi-objcopy -O ihex -j .text -j .data a.elf a.hex
$ avrdude -c arduino -p atmel_sam3x8e -v -b 115200 -U flash:w:a.hex