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 sam: add support for the MKR1000 board 2020-12-03 00:33:23 +01:00
arduino-nano.json
arduino-nano33.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
arduino-zero.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
arduino.json
arm.ld
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
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 Add support for additional openocd commands (#1492) 2020-12-30 09:19:41 +01:00
bluepill.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
circuitplay-bluefruit.json
circuitplay-bluefruit.ld
circuitplay-express.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
clue-alpha.json machine/clue: correct volume name and add alias for release version of Adafruit Clue board 2020-12-29 15:17:38 +01:00
clue.json machine/clue: correct volume name and add alias for release version of Adafruit Clue board 2020-12-29 15:17:38 +01:00
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 digispark: split off attiny85 target 2021-02-12 01:10:06 +01:00
esp32-coreboard-v2.json
esp32-mini32.json
esp32.json esp: add picolibc 2021-02-11 10:50:29 +01:00
esp32.ld
esp8266.json esp: add picolibc 2021-02-11 10:50:29 +01:00
esp8266.ld
fe310.json
feather-m0.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
feather-m4-can.json atsame51: add initial support for feather-m4-can 2021-04-16 17:49:46 +02:00
feather-m4.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
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
grandcentral-m4.json Add board support for Adafruit Grand Central M4 (SAMD51) (#1714) 2021-03-15 14:06:09 +01:00
hifive1-qemu.json
hifive1-qemu.ld
hifive1b.json
hifive1b.ld
itsybitsy-m0.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
itsybitsy-m4.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
itsybitsy-nrf52840.json
k210.json all: remove support for LLVM 9 2021-03-04 15:46:05 +01:00
lgt92.json Support for STM32L0 MCUs and Dragino LGT92 device (#1561) 2021-01-08 22:27:25 +01:00
lm3s6965.ld
maixbit.json
maixbit.ld all: remove support for LLVM 9 2021-03-04 15:46:05 +01:00
matrixportal-m4.json matrixportal-m4: Add support for board Adafruit Matrix Portal M4 (#1529) 2020-12-11 10:00:41 +01:00
metro-m4-airlift.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
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 machine/microbit-v2: add initial support based on work done by @alankrantas thank you! 2021-01-06 18:50:46 +01:00
microbit.json
mimxrt1062-teensy40.ld teensy40: initial implementation 2020-11-11 18:34:47 +01:00
nicenano.json nice!nano board support (#1499) 2021-01-24 16:46:21 +01:00
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
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
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 machine/microbit-v2: add initial support based on work done by @alankrantas thank you! 2021-01-06 18:50:46 +01:00
nrf52840-mdk-usb-dongle.json Add nrf52840-mdk-usb-dongle target (#1654) 2021-02-24 10:25:38 +01:00
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 f722ze (#1526) 2020-12-15 06:51:35 +01:00
nucleo-l031k6.json stm32: add nucleo-l031k6 support 2021-04-07 17:20:19 +02:00
nucleo-l432kc.json Add support for nucleol432 board 2021-03-23 08:33:59 +01:00
nucleo-l552ze.json nucleol552ze: implementation with CLOCK, LED, and UART 2021-02-16 12:48:52 +01:00
nxpmk66f18.ld
p1am-100.json Add support for the P1AM-100 (similar to Arduino MKR) 2021-01-06 00:36:57 +01:00
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 initial support for pca10059 2021-03-28 21:38:05 +02:00
pca10059.ld initial support for pca10059 2021-03-28 21:38:05 +02:00
pinetime-devkit0.json
pybadge.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
pygamer.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
pyportal.json
qtpy.json fix msd-volume-name (qtpy) 2021-03-21 10:00:43 +01:00
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
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
stm32l0x2.json all: clean up Cortex-M target files 2021-04-14 09:17:54 +02:00
stm32l4x2.ld Add support for nucleol432 board 2021-03-23 08:33:59 +01:00
stm32l5x2xe.ld nucleol552ze: implementation with CLOCK, LED, and UART 2021-02-16 12:48:52 +01:00
stm32l031k6.ld stm32: add nucleo-l031k6 support 2021-04-07 17:20:19 +02:00
stm32l072czt6.ld Support for STM32L0 MCUs and Dragino LGT92 device (#1561) 2021-01-08 22:27:25 +01:00
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 teensy40: initial implementation 2020-11-11 18:34:47 +01:00
trinket-m0.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
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 sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
x9pro.json
xiao.json sam: remove redundant build tags 2020-11-15 16:19:51 +01:00
xtensa.json builder: hard code Clang compiler 2021-04-19 13:14:33 +02:00