aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-09-13 00:59:39 +0200
committerAyke van Laethem <[email protected]>2018-09-13 00:59:39 +0200
commit76e77917d80b389e5901bf834bdf62e262279e92 (patch)
treeb687bbe828c260cd33991c4f78aceb964ef7ae3f
parente389d38decfd637585ce43774ba0a052ad1b8f59 (diff)
downloadtinygo-76e77917d80b389e5901bf834bdf62e262279e92.tar.gz
tinygo-76e77917d80b389e5901bf834bdf62e262279e92.zip
targets: move target-specific files to this directory
-rw-r--r--targets/arduino.json2
-rw-r--r--targets/arm.ld (renamed from arm.ld)0
-rw-r--r--targets/avr.S (renamed from avr.S)0
-rw-r--r--targets/avr.ld (renamed from avr.ld)0
-rw-r--r--targets/pca10040.json2
5 files changed, 2 insertions, 2 deletions
diff --git a/targets/arduino.json b/targets/arduino.json
index a490c8259..1890b9ee7 100644
--- a/targets/arduino.json
+++ b/targets/arduino.json
@@ -2,5 +2,5 @@
"llvm-target": "avr-atmel-none",
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"],
"linker": "avr-gcc",
- "pre-link-args": ["-nostdlib", "-T", "avr.ld", "-Wl,--gc-sections", "avr.S"]
+ "pre-link-args": ["-nostdlib", "-T", "targets/avr.ld", "-Wl,--gc-sections", "targets/avr.S"]
}
diff --git a/arm.ld b/targets/arm.ld
index 76a64f1ff..76a64f1ff 100644
--- a/arm.ld
+++ b/targets/arm.ld
diff --git a/avr.S b/targets/avr.S
index 962527597..962527597 100644
--- a/avr.S
+++ b/targets/avr.S
diff --git a/avr.ld b/targets/avr.ld
index a26e00031..a26e00031 100644
--- a/avr.ld
+++ b/targets/avr.ld
diff --git a/targets/pca10040.json b/targets/pca10040.json
index 54eed5e42..cc17d784f 100644
--- a/targets/pca10040.json
+++ b/targets/pca10040.json
@@ -2,5 +2,5 @@
"llvm-target": "armv7m-none-eabi",
"build-tags": ["nrf", "nrf52", "nrf52832", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
- "pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "arm.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-D__STARTUP_CLEAR_BSS", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/gcc_startup_nrf51.S", "lib/nrfx/mdk/system_nrf52.c"]
+ "pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/arm.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-D__STARTUP_CLEAR_BSS", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/gcc_startup_nrf51.S", "lib/nrfx/mdk/system_nrf52.c"]
}