tinygo/targets
Ayke van Laethem f706219996 builder: hard code Clang compiler
At the moment, all targets use the Clang compiler to compile C and
assembly files. There is no good reason to make this configurable
anymore and in fact it will make future changes more complicated (and
thus more likely to have bugs). Therefore, I've removed support for
setting the compiler.

Note that the same is not true for the linker. While it makes sense to
standardize on the Clang compiler (because if Clang doesn't support a
target, TinyGo is unlikely to support it either), linkers will remain
configurable for the foreseeable future. One example is Xtensa, which is
supported by the Xtensa LLVM fork but doesn't have support in ld.lld
yet.

I've also fixed a bug in compileAndCacheCFile: it wasn't using the right
CFlags for caching purposes. This could lead to using stale caches. This
commit fixes that too.
2021-04-19 13:14:33 +02:00
..
arduino-mega1280.json Arduino Mega 1280 support 2021-04-12 11:03:13 +02:00
arduino-mega2560.json
arduino-mkr1000.json
arduino-nano.json
arduino-nano33.json
arduino-zero.json
arduino.json
arm.ld arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
atmega328p.json
atmega1280.json Arduino Mega 1280 support 2021-04-12 11:03:13 +02:00
atmega1284p.json
atmega2560.json
atsamd21.ld
atsamd21e18a.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
atsamd21g18a.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
atsamd51.ld machine/atsamd51: add support for ATSAMD51 processor using Adafruit ItsyBitsy-M4 board 2019-09-14 17:56:14 +02:00
atsamd51g19a.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
atsamd51j19a.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
atsamd51j20a.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
atsamd51j20a.ld
atsamd51p19a.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
atsamd51p20a.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
atsamd51p20a.ld Add board support for Adafruit Grand Central M4 (SAMD51) (#1714) 2021-03-15 14:06:09 +01:00
atsame5xx19.ld atsame51: add initial support for feather-m4-can 2021-04-16 17:49:46 +02:00
atsame5xx20-no-bootloader.ld atsame54: add initial support for atsame54-xpro 2021-04-15 15:43:37 +02:00
atsame51j19a.json atsame51: add initial support for feather-m4-can 2021-04-16 17:49:46 +02:00
atsame54-xpro.json atsame54: add initial support for atsame54-xpro 2021-04-15 15:43:37 +02:00
atsame54p20a.json atsame54: add initial support for atsame54-xpro 2021-04-15 15:43:37 +02:00
attiny85.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
avr.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
avr.ld avr: properly support the .rodata section 2020-10-31 21:06:26 +01:00
avr.S avr: use Clang for compiling C and assembly files 2021-02-12 01:10:06 +01:00
bluepill-clone.json
bluepill.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
circuitplay-bluefruit.json
circuitplay-bluefruit.ld nrf: add SoftDevice support for the Circuit Playground Bluefruit 2020-08-30 16:16:31 +02:00
circuitplay-express.json
clue-alpha.json
clue.json
cortex-m-qemu.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
cortex-m-qemu.s
cortex-m.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
cortex-m0.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
cortex-m0plus.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
cortex-m3.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
cortex-m4.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
cortex-m7.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
cortex-m33.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
d1mini.json
digispark.json
esp32-coreboard-v2.json
esp32-mini32.json
esp32.json
esp32.ld esp32: add libgcc ROM functions to linker script 2020-09-05 10:41:35 +02:00
esp8266.json
esp8266.ld esp8266: add support for this chip 2020-09-09 19:17:11 +02:00
fe310.json
feather-m0.json
feather-m4-can.json atsame51: add initial support for feather-m4-can 2021-04-16 17:49:46 +02:00
feather-m4.json
feather-nrf52840.json
feather-stm32f405.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
gameboy-advance.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
gameboy-advance.ld
gameboy-advance.s targets/gba: implement interrupt handler 2020-01-27 21:56:17 +01:00
grandcentral-m4.json
hifive1-qemu.json
hifive1-qemu.ld targets: add hifive1-qemu for testing RISC-V bare metal in QEMU 2019-12-07 16:47:40 +01:00
hifive1b.json
hifive1b.ld
itsybitsy-m0.json
itsybitsy-m4.json
itsybitsy-nrf52840.json
k210.json
lgt92.json
lm3s6965.ld all: add emulation support for Cortex-M3 with QEMU 2018-10-08 17:07:19 +02:00
maixbit.json
maixbit.ld
matrixportal-m4.json
metro-m4-airlift.json
microbit-s110v8.json
microbit-v2-s113v7.json microbit-v2: add support for S113 SoftDevice 2021-04-14 22:55:52 +02:00
microbit-v2.json
microbit.json
mimxrt1062-teensy40.ld teensy40: initial implementation 2020-11-11 18:34:47 +01:00
nicenano.json
nintendoswitch.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
nintendoswitch.ld nintendoswitch: Add env parser and removed unused stuff 2020-11-03 23:28:55 +01:00
nintendoswitch.s nintendoswitch: Add env parser and removed unused stuff 2020-11-03 23:28:55 +01:00
nodemcu.json
nrf51-s110v8.json
nrf51-s110v8.ld
nrf51.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
nrf51.ld nrf: add micro:bit board 2018-10-06 13:04:14 +02:00
nrf52-s132v6.json
nrf52-s132v6.ld
nrf52.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
nrf52.ld nrf: fix nrf52832 flash size 2020-10-20 19:13:43 +02:00
nrf52833-s113v7.json microbit-v2: add support for S113 SoftDevice 2021-04-14 22:55:52 +02:00
nrf52833-s113v7.ld microbit-v2: add support for S113 SoftDevice 2021-04-14 22:55:52 +02:00
nrf52833.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
nrf52833.ld
nrf52840-mdk-usb-dongle.json
nrf52840-mdk.json
nrf52840-s140v7.json
nrf52840-s140v7.ld
nrf52840.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
nrf52840.ld
nucleo-f103rb.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
nucleo-f722ze.json
nucleo-l031k6.json stm32: add nucleo-l031k6 support 2021-04-07 17:20:19 +02:00
nucleo-l432kc.json
nucleo-l552ze.json
nxpmk66f18.ld
p1am-100.json
particle-3rd-gen.json
particle-argon.json
particle-boron.json
particle-xenon.json
pca10031.json
pca10040-s132v6.json
pca10040.json
pca10056-s140v7.json
pca10056.json
pca10059.json
pca10059.ld initial support for pca10059 2021-03-28 21:38:05 +02:00
pinetime-devkit0.json
pybadge.json
pygamer.json
pyportal.json
qtpy.json
reelboard-s140v7.json
reelboard.json
riscv-qemu.json
riscv-qemu.ld
riscv.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
riscv.ld maixbit: changes according to feedback 2020-07-08 00:21:59 +02:00
riscv32.json
riscv64.json
stm32.ld
stm32f4disco-1.json
stm32f4disco.json all: use -Qunused-arguments only for assembly files 2021-04-14 09:17:54 +02:00
stm32f7x2zetx.ld Nucleo f722ze (#1526) 2020-12-15 06:51:35 +01:00
stm32f103rb.ld
stm32f405.ld
stm32f407.ld stm32: add support for the STM32F4Discovery 2019-04-13 13:32:05 +02:00
stm32l0x2.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
stm32l4x2.ld
stm32l5x2xe.ld
stm32l031k6.ld stm32: add nucleo-l031k6 support 2021-04-07 17:20:19 +02:00
stm32l072czt6.ld
teensy36.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
teensy36.s
teensy40.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
teensy40.s
trinket-m0.json
wasi.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
wasm.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00
wasm_exec.js wasm: use WASI ABI for exit function 2021-04-15 08:45:08 +02:00
wioterminal.json
x9pro.json
xiao.json
xtensa.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00