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-mega2560: fix flashing on Windows 2020-09-03 06:24:18 +02:00
arduino-mkr1000.json sam: add support for the MKR1000 board 2020-12-03 00:33:23 +01:00
arduino-nano.json avr: configure emulator in board files 2020-09-09 13:05:14 +02:00
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 avr: configure emulator in board files 2020-09-09 13:05:14 +02:00
arm.ld arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
atmega328p.json avr: configure emulator in board files 2020-09-09 13:05:14 +02:00
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 nrf: add SoftDevice support for the Circuit Playground Bluefruit 2020-08-30 16:16:31 +02:00
circuitplay-bluefruit.ld nrf: add SoftDevice support for the Circuit Playground Bluefruit 2020-08-30 16:16:31 +02:00
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 arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
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 esp8266: add target for d1mini board and add pin mappings for SPI/I2C to help out implementers 2020-10-17 19:57:53 +02:00
digispark.json digispark: split off attiny85 target 2021-02-12 01:10:06 +01:00
esp32-coreboard-v2.json machine/esp32, targets/esp32: correct board definitions for actual boards not processor variants, also define all labeled pins 2020-10-14 21:48:48 +02:00
esp32-mini32.json machine/esp32, targets/esp32: correct board definitions for actual boards not processor variants, also define all labeled pins 2020-10-14 21:48:48 +02:00
esp32.json esp: add picolibc 2021-02-11 10:50:29 +01:00
esp32.ld esp32: add libgcc ROM functions to linker script 2020-09-05 10:41:35 +02:00
esp8266.json esp: add picolibc 2021-02-11 10:50:29 +01:00
esp8266.ld esp8266: add support for this chip 2020-09-09 19:17:11 +02:00
fe310.json Changes according to @aykevl's feedback 2020-07-08 00:21:59 +02:00
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 nrf52840: add build tags for SoftDevice support 2020-08-30 16:16:31 +02:00
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 main: add initial support for (in-development) LLVM 11 2020-10-13 20:23:50 +02:00
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 nrf52840: add build tags for SoftDevice support 2020-08-30 16:16:31 +02:00
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 targets/maixbit: cleanup output from kflash command by removing ansi colors 2020-07-08 20:16:03 +02:00
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: reelboard: flash using OpenOCD when needed 2020-09-15 17:07:40 +02:00
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 esp8266: add support for this chip 2020-09-09 19:17:11 +02:00
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 nrf: fix nrf52832 flash size 2020-10-20 19:13:43 +02:00
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 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 nrf: add nrf52840-mdk board 2018-10-18 15:07:06 +02:00
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 Cleanup Teensy 3.6 linker script 2020-07-13 12:35:53 +02:00
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 microbit: reelboard: flash using OpenOCD when needed 2020-09-15 17:07:40 +02:00
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 riscv: refactor assembly files to support RV64 and F extension 2020-07-08 00:21:59 +02:00
riscv64.json maixbit: changes according to feedback 2020-07-08 00:21:59 +02:00
stm32.ld stm32: initial support 2018-09-22 01:51:44 +02:00
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 add STM32F405 machine/runtime, and new board/target feather-stm32f405 2020-09-11 09:09:02 +02:00
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 Viable NXP/Teensy support 2020-07-08 21:58:15 +02:00
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