summaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..ab93862
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,5 @@
+Compile and upload
+
+$ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -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